Running steemd: How low can you go?steemCreated with Sketch.

in #witness5 years ago (edited)

Oh, the woes of a low ranked witness in a bear market. I'm not going to waste your time with a long-winded story as it did take a fair bit of trial and error on my part, so I'll get straight to my conclusions. To be clear, this is not a recommended config, but a bare minimum that has proven to reliably sign blocks as a witness over the last 3 weeks.

  • Any dual-core CPU post Sandy Bridge (2011, 2nd Gen Core)
  • 2 GB RAM
  • Any modern SATA3 SSD with 400+ GB. Hard drives will not do, NVMe preferred but optional. Affordable consumer grade SSDs like Samsung 860 EVO work just fine.
  • No graphics card or any other special hardware required.
  • Of course, a reliable network with 10+ Mbps.

So, the caveat here is that this setup will run Steemd on an ongoing basis, but setting up will be a glacial process on the above system, because shared_memory is stored on disk and the CPU is slow. So you'd have to do that on a different platform.

More specifically, replaying on something like the above machine takes 2-4 days. So, you would temporarily have to rent a 64 GB RAM instance with a high single thread performance CPU (i.e. anything 6th gen Core or later) for about 6 hours. These don't cost much, but require a bit more work. Build steemd, cli_wallet (or use Docker), sync up shared_memory, block_log, then compress and move those files to your el-cheapo server and... voila! This process would have to be repeated every time there's a major hardfork or replay required, but these are usually very rare (think once or twice a year if all goes according to plan [which may not, like HF20]). Or, you can just be patient and disable your witness for a couple of days. Finally, we know Steemit, Inc. is working on scaling solutions with MIRA, so maybe by the time the next hardfork arrives we would actually have fast replays off SSDs alone. (According to @andrarchy, that's still the goal.)

So, how much would a server like the above cost? You probably already have a PC or laptop that can do this. Or, if you were planning to rent, if you look you can find something for <$10 per month. At that cost, it'd be feasible to run a witness node all the way down to #200 or so.

Once again, to be very, very clear, this is not a recommendation. It's an academic study of what the lowest configuration is required to run Steemd as a witness. That said, if you're looking into being a witness and don't have the shilling skills required to make it (I hear you), this might be an option worth doing your own research for.

Sort:  

This got my attention. I've got some hardware lying around the house that would be capable. Is there a current guide to getting a witness server up?

Posted using Partiko Android

These are the official guides: https://github.com/steemit/steem/tree/master/doc

But of course, there'll be some from the community. I'm afraid I'm not up to date on the latest guides, but here's one that I remember from quite some time ago (obviously, there'll be some differences). (https://steemit.com/witness-category/@timcliff/steps-for-setting-up-a-witness-node-the-manual-way)

Thank you. :)

Posted using Partiko Android

Good grief! I was just saying on @dragosroua's post that I'm not sure we give enough credit to the guys who keep this whole thing running. It all sounds immensely complicated and a little expensive and we're grateful.

It's not all that complicated, just needs a day or two of learning for anyone reasonably tech-savvy. Also, the point of this post is that it doesn't have to be expensive.

Even going above that by a little bit is entirely feasible, though.

Also, are you taking 10Mb download speed, or upload speed? Or both?

Posted using Partiko Android

Really, Steemd usually only sends and receives a few KBs per second, so the speed is not the issue. Which should not be surprising, because there's a block size limit of 65 KB, that's every 3 seconds, and the average block is well under a quarter of that.

What is important is a reliable, low-latency connection. Of course, if it's feasible, always go for a better configuration.

Right, that makes sense. I have an 81d/11u connection in my house, and when I stream, I'm using about 3 of that upload speed.

Posted using Partiko Android

To listen to the audio version of this article click on the play image.

Brought to you by @tts. If you find it useful please consider upvoting this reply.

Congratulations @liberosist! You have completed the following achievement on the Steem blockchain and have been rewarded with new badge(s) :

You made more than 140000 upvotes. Your next target is to reach 145000 upvotes.

You can view your badges on your Steem Board and compare to others on the Steem Ranking
If you no longer want to receive notifications, reply to this comment with the word STOP

Do not miss the last post from @steemitboard:

Are you a DrugWars early adopter? Benvenuto in famiglia!
Vote for @Steemitboard as a witness to get one more award and increased upvotes!

Coin Marketplace

STEEM 0.31
TRX 0.11
JST 0.034
BTC 64332.82
ETH 3146.25
USDT 1.00
SBD 4.17