scrobble.life
#steem-pressure

Steem Pressure #2 - toys for boys and girls

So you want to play with Steem? Let's prepare a proper environment for our playground.

First, the hardware.

If you’ve read the previous episode of Steem Pressure, you know that Steem is growing (and that’s awesome!). Today, we’ll choose proper hardware to run our nodes.

https://www.youtube.com/watch?v=7IkI6yVvzHIVideo created for Steem Pressure series.

Network

A low-latency network with at least 100Mbps bandwidth in both directions is a recommended minimum, even if you are running “just” a seed node. Please note that it is not enough to have a fast network card or an ISP that claims to provide 1Gbps connection. You need a decent network connectivity across the globe.

CPU

Virtually any modern, x86-64 CPU with at least 2 cores will be ok. Currently, you will not benefit from multiple cores as much as from a faster single-core performance. Most likely a CPU with 4 cores at 3GHz will perform better than a CPU with 8 cores at 2GHz.

RAM

A good choice for a consensus node is 24-32GB of RAM. For a full node, it is 128-256GB of RAM. Of course, if you can afford to put everything in RAM, just do it.

Storage backend

Size

Currently, we need over 65GB of data to hold the block_log file itself. Additionally, you’ll need over 25GB to keep shared_memory.bin for the simplest node, up to 260GB for a fully featured API node with all the bells and whistles. So I would say for now, it’s 100GB for a consensus node and 400GB for a full node. That’s true at the time I’m writing this post, so by the time you read it, these parameters may no longer be enough.

Performance

Your storage backend needs to be not only large enough to hold your data but also fast enough to deliver data on time. If your node runs out of RAM and starts using swap (in case of tmpfs setup) or if it runs out of buffers/cache, the workload will put a lot of strain on your storage. You need to make sure that it can handle a lot of random reads and writes with minimum latency. Low latency is the key. That renders most of HDD setups unusable.

Trivial benchmark

Run dd if=/dev/zero of=tst.tmp bs=4k count=10k oflag=dsync in a directory where you are going to keep your shared_memory.bin file. It will be either the value of shared-file-dir, or if undefined, the value of data-dir (-d) The result will be a very rough guesstimate on how well your storage backend will be able to handle workload caused by steemd accessing its shared memory file.

Is your storage backend fast enough?

Check how long it will take to complete that command. Less is better.

  • Less than 1 second is perfect.
  • Up to 10 seconds is good.
  • Up to 30 seconds is so-so.
  • Up to 60 seconds is uh-oh.
  • Anything more is a no-no.

Of course, the answer is not definitive, accurate, or even always true ;-)

Even if it is a minute or two, you still can play with your steemd toy without a purpose and waste your time. Or maybe you should do something more productive and use your disks to play the “Imperial March” instead? (Shoutout to @lordvader)

Oh, and by the way: Blindly copying & pasting snippets is dangerous.

DO NOT EVER RUN ANYTHING YOU DON’T FULLY UNDERSTAND

So what does that command do?

It writes zeros to a temporary file in 4096-byte blocks. It does that ten thousand times, each time synchronizing I/O to get caching out of the equation.

Usually your drive, even if it is an old HDD, can write large chunks of data in bursts very effectively, but that’s not what will be happening with your shared_memory.bin file.

That command writes only 40MB of data. Shared memory file for a consensus node is 600x bigger than that. Oh, and that’s not all. The shared memory file for a full API node is 10x bigger than the one for the consensus node.

data_to_process_chart.png

Dedicated or virtual?

It doesn’t matter, but keep in mind that high quality does. With VPS it’s more tricky because it’s usually hard to tell what real performance you can expect, how resources are shared, how much baseline resources are guaranteed, if the “SSD” drives are local or network attached, what your I/O limits are, etc.

What’s next?

In the next episode, I will show you step by step how to set up a machine from scratch for a basic consensus node, how to configure it, and how it performs in the real battlefield environment.


If you believe I can be of value to Steem, please vote for me ([**gtg**](/@gtg)) as a witness on [Steemit's Witnesses List](https://steemit.com/~witnesses) or set ([**gtg**](/@gtg)) as a proxy that will vote for witnesses for you. ***Your vote does matter!*** You can contact me directly on [steemit.chat](https://steemit.chat), as [Gandalf](https://steemit.chat/direct/gandalf)
[Steem On](https://www.youtube.com/watch?v=IYMNvHV1V4E)

Comments · 77

  • @muh-isa(48)· 3112d

    I have chosen @gtg as my witnes. Please support me in the world of steemit. Whether it is Motivation, Moral or material to smooth in posting a post. And please input and build suggestions to be more creative in writing. Thank you very much @gtg

  • @rijaloeziljr(41)· 3113d

    i have send you a sbd, please aupvote and follow me..tahmks

  • @plainoldme(51)· 3114d

    Just another question, can we still do mining on steemit/steem? Thought you as a witness would know.

  • @plainoldme(51)· 3114d

    Thanks for the info, agreed, if you don’t what the snippet does, first find out.

  • @iresteem(38)· 3114d

    upvoted. and i have voted you as my witness...

  • @lukebrn(59)· 3117d

    Thanks for sharing this @gtg, interesting to read the hardware the specs that you shared. I have a lot of hardware at home, because I am generally working on a lot of projects.. I think I actually have enough hardware free to become a witness! I am not sure yet though, I have a lot of other projects going on so I may wait for a few weeks.

    Currently, i am running a project called the Steemit Success Initiative. It is a project that aims to grow and develop Steemit as a platform, as well as develop its users. I have contacted Ned and he has said that he is open to talking, but I need community support first.

    I am currently looking for support from witnesses that want to support the growth of Steemit, as well as the vertical integration of new users to become professional bloggers. If you are interested, let me know and I can tell you more about the project, or you can check out the posts on my page!

  • @purepinay(76)· 3118d

    Thank you for noticing my blog, it means a lot to me.

    I voted you as a witness, @surpassinggoogle told me that you have done a lot for the community so thank you so much!

  • @yatsuk.kostia(52)· 3118d

    Thank you for supporting my post!

    Your blog is also interesting me to follow your messages

  • @exclusive360(25)· 3119d

    Nice,plz back vote & comment .Tnx

  • @cyntibellar(48)· 3119d

    Steemit is growing so fast, and i'm proud to be a part of this movement. Steem on!

  • @banum(48)· 3119d

    a very curious article. Thank you very much for the information. very useful information.

  • @karencarrens(59)· 3120d

    @gtg, thank you for this series! I love learning about what goes on behind the scenes. And, yes, voting for the right witnesses is so important. Knowing what they have to do helps us figure out who we may want to vote for. I am not done voting yet. 😳

  • @artizm(65)· 3120d

    a topic I really wonder. you have given wonderful information .. I am waiting for more curiously :)

  • @gangas(2)· 3122d

    @gtg , i found one of ur interesting post , regarding delageting steem power to newbies. I am new on steemit , i will be glad if u delegate steem power to my account. Thanks.

  • @lorner(53)· 3122d

    Hi @gtg great post

  • @booster916(60)· 3122d

    From a few days I read through all guides on the subject of "Witness" and found out that it takes a lot of effort and knowledge. I have been thinking about it and decided to try it sometime in the future, if I have grown up on the platform and gain the necessary skills to trustingly run a Witness-Server.

    You seem to definitely have these skill and I've been looking at your Witness thread, which is now 2 years old. Why don't you update this one? You're a place 4 Witness and that would help people understand your work better. My voice is not worth much, but I would probably vote for you if your Witness thread was more detailed what you did, do and have.

  • @waqasanwar(46)· 3122d

    very nice post ever i like and love it keep it up

  • @aroelscream(46)· 3122d

    I've read your writing and menvoten, very useful and interesting2387.jpg

  • @rongyii(38)· 3122d

    Thank you so much for your support :) and good information~~ I will follow you:D

  • @jkhoffman(25)· 3123d

    What is the difference between a consensus node and a full node? From what I have been able to find so far, it looks like you only need to run a full node if you want to host a site like Steemit or DTube. Everyone else just needs to run a consensus node. How wrong am I? ;)

  • @karensuestudios(72)· 3123d

    awww this is awesome! Thanks for this informative post. I had no idea Got to Go! :)

  • @akmal1(51)· 3123d

    I know steemit time up or time to make @Gtg, thank you for this amazing tutorial! I am really looking forward to seeing the next episode! Do you know what I love about this post!? You also explain to people that they should never lack for anything they do not understand! Running smth u do not understand can be very bad for you .... Thanks once again!

  • @spiritualmatters(56)· 3123d

    This post is so well crafted; that while it's above my tech-awareness, I read it completely, gleaning an understanding of how many facets are involved, behind the scenes, to keep the platforms secure.

    For this reason, I've found a new witness to add to my list.

    Best regards!

    Peace.

  • @yakubenko(73)· 3124d

    I already voted for you as a witness! (I hope this does not take long, and will soon be available. I hope that soon you will have time to show how it works, those who need it :)) although I'm not very much at it: 0 hahahah know! you're cool! and thanks for the support always!

  • @lucky.digger(55)· 3124d

    Upvote and resteem. GTG, almost a post which I can practically make use of. Keep on trying!

  • @youngbuffalo(49)· 3124d

    Gtg, Thank u for this amazing tutorial! I am really looking forward to see your next episode! Do u know what I really like about this post!? Your also explain people that they should never run smth they do not understand! Running smth u do not understand can be really bad for u.... Thank u one more time! Ps: Może cholerka dodam, że nie zrozumiałam aż tak wiele, lecz próbuję :D

  • @amraaz(43)· 3124d

    Screenshot_20180204-105518.jpg

  • @miguelportela(55)· 3124d

    is important that nodes are of great quality thats what will make steem explode...

  • @lpessin(61)· 3124d

    I'm following Steem Pressure series, thanks for bringing that to us @gtg! As I said in the previous episode I was waiting for a series like that for a long time. @gtg I wonder if you authorize me to translate Steem Pressure episodes to Portuguese language? It would be very useful to our community since we have a growling number of newcomers every day, and a few old steemit dogs who are thinking to start run nodes. Just an idea. Thanks man, cya!

  • @rudnicki(39)· 3125d

    Great post if i must say so myself.

  • @sunnyofoz(45)· 3125d

    WHat an awesome write! With instructions like these I am quickly running out of excuses. Thanks so much for your awesome, benovolent piece.

  • @lordvader(70)· 3125d

    I am pleased by your decision to give me one of your inhabitant's "shout outs". It is further evidence that you are indeed one of the wisest of your planet's inhabitants. There will be a place for you when the Empire arrives next week.

    Dennis! Get in here! How do I edit out that last par...

  • @fenmark(32)· 3125d

    Good support and educative @fenmark

  • @nutri-active(42)· 3125d

    GOOD MY DEAR FRIENDS, THIS WONDER IS THIS POTS. FOLLOW THIS BLOG THAT HAS GOOD CONTENT. PASS THROUGH MY BLOG THAT BRING CONTENT OF NUTRITION AND EXERCISES. BESITOS <3 @nutri-active

  • @rahad(44)· 3125d

    well thought. how can i get out of this😰😰

  • @akteruzzamanjoy(49)· 3125d

    Thanks god.. I got to know today..! Thanks for the information

  • @farazali1850(38)· 3125d

    This is 4 generation hardware material

  • @reyadapon(47)· 3125d

    gorgeous post. Every people would help from this post.

  • @khaled-dz(62)· 3125d

    Thanks for this awesome infromation.it seems like with slow conection I can't mine steem??§§ I can afford just 8 Mgb isn't it enough to solve some bloacks everyday??

  • @gangas(2)· 3125d

    ATLEAST $100K NEEDED TO SAVE PREMATURE BABIES IN OUR COMMUNITY HOSPITAL. We urgently need steemers to contribute steem dollars to save the life of premature babies in our community hospital. Transfers can made to @gangas . If you can not assist with steem dollars, atleast upvote to this comment, your upvote is donation too. God bless the hand that gives. Thanks.images (7).jpeg

  • @roselover(57)· 3125d

    Very great information Good choice, my friend You are a really successful person

  • @ammarjamil(25)· 3125d

    Nyc Post

  • @docsmith(60)· 3125d

    I want to follow this and there's a fair chance I'll forget so here's a comment so I can find it again.

    Also, thank you for doing this!

  • @bitgeek(62)· 3125d

    Congratulations @gtg, this post is the second most rewarded post (based on pending payouts) in the last 12 hours written by a Superhero or Legend account holder (accounts hold greater than 100 Mega Vests). The total number of posts by Superhero and Legend account holders during this period was 36 and the total pending payments to posts in these categories was $3085.64. To see the full list of highest paid posts across all accounts categories, click here.

    If you do not wish to receive these messages in future, please reply stop to this comment.

  • @starzy(56)· 3125d

    Its a nice toys... hope every one can play....thanks for sharing...

  • @ghafari(33)· 3125d

    amazing post..... good luck and thank you so much for information

  • @yusdiana(45)· 3125d

    it is true that people who try to run Steemit's witnesses with as little as possible do not show they care about the platform enough.

  • @gamebujj(40)· 3125d

    These informations are really helpful.More people are sufferung form these bandwith problem.So,you got solve and system req.Thanks mate! and Good luck also

  • @riyad11(42)· 3125d

    great informative post.i think it is important for us.many many thanks for sharing.. please carry on your post....

  • @cr-7(42)· 3125d

    Steem.

    Do you have an approximate cost of a machine to run a node?

  • @arrakib012(50)· 3125d

    Nice post keep it up...@gtg (65)

  • @quinneaker(75)· 3125d

    Well I don't understand much of this at all but that video was AWESOME!

    Also of curse I have been voting for you as witness for over a year and a half!

    SteemOn Gandalf~*~

  • @travellingwomen(52)· 3125d

    Nice post keep it up i am following you

  • @kingsberry(58)· 3125d

    This is my first comment to your self @gtg. Very informative details entire. Need to learn more about witness post. But have some idea how to create witness project. Waiting to learn more.

  • @dragonking(58)· 3125d

    Yeah..Steemit is growing more faster then would be awesome in blockchain @gtg. You've nicely explained what's choose proper hardware to run of your nodes. I interesting to learn how to create witness category. Nice to decided I'm following you. Excellent post.

  • @justiceoses(45)· 3125d

    Many thanks,gtg,for all the information on steem pressure! More grease to yoyr elbows!!

  • @rsrestinga(49)· 3126d

    Very cool

  • @exkeleton(39)· 3126d

    Very good

  • @sandraunlimited(29)· 3126d

    At first read, it does sound like Greek, but here's my fifth read and it is making sense; my little techie sense kicking in.

    And like you said in a reply, I can bring on quality to steemit by producing quality content and voting for witnesses.

    Well, I can handle that without feeling lost in Steem!

  • @healthylife(31)· 3126d

    Right now I have a decent network all day providing less than 100kb/s.

    bh.JPG

    How do you think I'd be able to match the steem pressure toy.

    Besides, how about 50GB for a consensus node and 300GB for a full node. Wouldn't that still be okay?

    I have a remote desktop server plan with Aweber and Google Cloud is there any positivity to make use of either option @gtg?.... Oooops! You just gained another follower.

  • @thunderland(58)· 3126d

    nice post!

  • @thunderland(58)· 3126d

    nice post!

  • @olgy-art(62)· 3126d

    Ohhh woww, i didn't know that is possible to mine Steem. One my friend has a Bitcoin farm and he argued with me that it's possible with Steem. I will show him tomorrow your post! Hahaaaa i can only imagine his face 😁😂😂😂. Thanks a lot my Polish friend for such a priceless info!

  • @burabay(48)· 3126d

    Nice post @gtg

    Good luck for your steam 😉

    I am waiting for your support. For me last post 😊

    Thank you so much. Good evening 😊

  • @iamjimmy(33)· 3126d

    Too many technical terms that might be a little off for non tech like me but in all I got the message. Looking forward to the next article. There is so much to learn from you.

    Thanks @gtg

    @iamjimmy

  • @newmoney32601(25)· 3126d

    Hello,

    Do you guys review products or promote other author's posts? for a fee of course.

  • @kdkwrites(26)· 3126d

    @gtg

    Words cannot explain your awesomeness. I love how you took time to explain everything. I appreciate you from the two sides of my kidney. 👍👍👍👍

  • @highonthehog(63)· 3126d

    gdybym tylko cos z tego rozumiala .. ;)

  • @nnennaewa(32)· 3126d

    This play ground is full of heavy arsenal. So much input @gtg

  • @apsu(69)· 3126d

    I remember when I first got my interest in Steemit witnesses. Not running one myself though, as it was something completely outside of my knowledge and skills. I noticed how quite many witnesses at least at that time seemed to have low end hardware for witnesses.

    In general, I think people who try to run Steemit witness with as little as possible are not showing they care for the platform enough.

  • @cannan(30)· 3126d

    Best post, but can you mining steem?

  • @reiseamateur(73)· 3126d

    That’s true at the time I’m writing this post, so by the time you read it, these parameters may no longer be enough

    Definitely because Steem is growing faster and faster! Steem On! thx, for this very intrresting info

  • @goddywise4-eu(44)· 3126d

    Steem is the best growing digital currency. No rushing,steady moving upwardly everyday. I think it deserves proper monitoring and must be maintained carefully. Any steemian with lot of steem is a wealthy man or woman already.

  • @themanwithnoname(65)· 3126d

    I'm curious if it makes financial sense for people to buy machines specifically to "mine" Steem.

    Do you have an approximate cost of a machine to run a node?

  • @desmonddesk(57)· 3126d

    @gtg what can I say than you are awesome DQmXyzsUEBt8MRXkYWNxYoMs53DknDhuncrjGtiZmQG6WST.gif

  • @eddy2cul(44)· 3126d

    Would've loved to participate. Too bad I'm no techie🙁

  • @rahad(44)· 3126d

    helpful informations here