New witness running lightest Steem MIRA node in the town 🐭 @mysia

in #witness-category5 years ago

image.png
35344589@mysia'a Genesis block number

<h1><span><a href="/@mysia">@mysia is a witness! <p dir="auto"><span>The day 2019-08-07 at 13:08:57 was the moment when <a href="/@mysia">@mysia became true witness in the Steem network. At this time first successful block was produced. It was second attempt to generate one. First failed because of wrong configuration, so was missed - I believe it was wrong swap RAM settings for MIRA. From now I hope every new will follow a success. <h1>Experimental light node <p dir="auto">Idea of runing own witness riddled in my head for many months. High hardware requirements blocked the way to do so. Until MIRA came. Multi Index RocksDB Adapter allows to move blockchain real time calculations from RAM memory to disk drive - for a price of replaying time. After full replay, node runs in the speed of classic non-MIRA setting.<br /> The goal of this experiment was to verify how low the hardware specifications can be to be able to run witness in the field. It is shocking that old PC can handle that! <p dir="auto"><center><em>Yes, it is my old personal computer I do not use now. <h1>Hardware specification <div class="table-responsive"><table> <thead> <tr><th>Hardware<th>Specs <tbody> <tr><td>OS<td>Ubuntu 18.04.2 LTS <tr><td>CPU<td>Intel(R) Core(TM) i5-4460 CPU @ 3.20GHz <tr><td>SSD<td>Crucial 500 GB CT500MX500SSD1 <tr><td>RAM<td>2x Kingston 8GB DDR3 <tr><td>Internet<td>LTE GSM <tr><td>Location<td>Personal computer somewhere in Poland (EU) <p dir="auto">As You see, the toaster sits under $500. Below test prove that it is far over enough to do job. Eg. I don't need as much RAM. To be honest only 4GB RAM should be sufficient. CPU could be a little slower too. Even Intel i3 or Core2Duo should work. Look at Internet connection - it is not wired! Enough for a backup node.<br /> My MIRA took 3 days to replay whole blockchain and start streaming blocks. It supports <code>v0.21.0 Steem version. <p dir="auto"><center><img src="https://images.hive.blog/768x0/https://files.steempeak.com/file/steempeak/mysia/nCT5wVpI-image.png" alt="image.png" srcset="https://images.hive.blog/768x0/https://files.steempeak.com/file/steempeak/mysia/nCT5wVpI-image.png 1x, https://images.hive.blog/1536x0/https://files.steempeak.com/file/steempeak/mysia/nCT5wVpI-image.png 2x" /><br /> <em>htop system monitor. RAM usage grows to 2.7 GB in the peak when producing block <h1>Plans <p dir="auto"><br /> Let's see how this all behave after <code>HF21 arrive and <code>SMTs come.<span>I plan to run this node as long as I will stay in Steem network. <a href="/@mysia">@mysia is not only a backup node to produce blocks. It is very helpful to keep in very touch with up to date blocks and newest transactions coming. I have to confess that node helps very much to my scripts (eg. curation challenges, Steemmonsters trading, some pretty block sniping etc.) This is far more valuable than just generating STEEMs as a witness. <p dir="auto"><span>Somewhere in my mind there are plans to support <a href="/trending/polish"> #polish community in some way. It needs some time to develop. More will be clear after next hardfork and communities open. <h1>Useful links <ul> <li><a href="https://github.com/steemit/steem/commit/a470bc283260e582b56897bd5c68107aa0289f18" target="_blank" rel="nofollow noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">a470bc2 commit.<span><a href="https://github.com/steemit/steem" target="_blank" rel="nofollow noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">https://github.com/steemit/steem - Steem master build source code. My node runs on <li><span><a href="https://github.com/Someguy123/steem-docker/tree/mira" target="_blank" rel="nofollow noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">https://github.com/Someguy123/steem-docker/tree/mira - Steem docker images with some helpful tools <li><span><a href="https://github.com/steemit/condenser" target="_blank" rel="nofollow noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">https://github.com/steemit/condenser - Steem witness tool for newbies :p <li><span><a href="https://steem.chat/channel/witness" target="_blank" rel="nofollow noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">https://steem.chat/channel/witness - Steem.chat <a href="/trending/witness"> #witness channel <li><span><a href="https://steem.arcange.eu/witnesses" target="_blank" rel="nofollow noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">https://steem.arcange.eu/witnesses - Steem witnesses real-time table comparison <h1>Support <p dir="auto"><code>@mys#4442<span>If You have any questions how to host Your own witness node like I did, feel free to ask under this post or via Steem.Chat <a href="https://steem.chat/direct/mys" target="_blank" rel="nofollow noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">https://steem.chat/direct/mys or via Discord <p dir="auto"><br /><span>You can support my experimental node by voting for me (<a href="/@mysia">@mysia) at <a href="https://steemit.com/~witnesses" target="_blank" rel="nofollow noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">https://steemit.com/~witnesses page.<span> Alternative direct SteemConnect link is <a href="https://beta.steemconnect.com/sign/account-witness-proxy?proxy=mysia" target="_blank" rel="nofollow noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">https://beta.steemconnect.com/sign/account-witness-proxy?proxy=mysia Thanks!
Sort:  

CPU could be a little slower too. Even Intel i3 or Core2Duo should work.

Core2Duo? Definately not, lower CPU will increase the replay time dramatically.

Also to save you time, you can predownload the block_log file and replay that instead of reindexing from scratch (if that's what you did).

You may find this witness table useful https://steemian.info/witnesses

Using above specification, replay took 3 days - with already downloaded full block_log.
I admit, lower CPU will increase that time a lot.

Excellent work! Demonstrating the ability to run Steem nodes on basic PCs is crucial for security and viability of Steem blockchain.

Posted using Partiko iOS

Nice! That's a huge improvement over what was considered base line for so long.

This is really interesting. I do wonder if I could do something similar a little down the track.

Well I look forward to following your experiment. You have my support!

Posted using Partiko iOS

I didn't realize you were running a witness. Great! You now have my vote and it will stay as long as you are not missing too many blocks.

This post has been resteemed by @witnessnews.

Follow @witnessnews to keep up with active witness updates.

It is very helpful to keep in very touch with up to date blocks and newest transactions coming.

Bardzo pomocne jest utrzymywanie kontaktu z najnowszymi blokami i nadchodzącymi transakcjami.

Czy mowa o tym co było wspomniane ostatnio- transakcje które mają wpłynąć?Zastanawiam się, czy tak będzie?:)

Innymi słowy: podglądanie transakcji użytkowników zanim jeszcze uformują one blok. Ponadto natychmiastowy dostęp do ostatnich bloków Steem.

Aha look at that dobre dobre so you only need to install one thing not a little bit of this and a little bit of that and you need that package too. When you install a full node. Well.... a witness that uses 4gb that does it fine by me.

Good luck and dowiedzenia. 😉 I try it Then hf21 is launched. Mine is running now so I don't touch a winning team I've learned.

Posted using Partiko Android

so long i look to try it too, to be one. Allways the high hardware needs are the stop. but now i will try too.

That's great can you please help me to setup mine

Posted using Partiko Android

Any idea what the usage/cost per month in electricity is? Given the specs I imagine it can’t be too high

Posted using Partiko iOS

I also have thought about using my old pc to run a node. Now I know I can do it. Thanks.

Good job Honey :*

Posted using Partiko Android

mysia ❤️
!tipuvote 99 hide


Your post was mentioned in the Steem Hit Parade for newcomers in the following category:Congratulations @mysia!

  • Pending payout - Ranked 1 with $ 7,54

I also upvoted your post to increase its reward
If you like my work to promote newcomers and give them more visibility on the Steem blockchain, consider to vote for my witness!

Congratulations @mysia! You received a personal award!

Did you downvote Steemit's posts because its owner converted it into a sockpuppets factory? OK, you deserve that badge!

You can view your badges on your Steem Board and compare to others on the Steem Ranking

Do not miss the last post from @steemitboard:

Use your witness votes and get the Community Badge
Vote for @Steemitboard as a witness to get one more award and increased upvotes!