Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

System requirements for running btcd node #1673

Closed
zeroFruit opened this issue Dec 15, 2020 · 2 comments
Closed

System requirements for running btcd node #1673

zeroFruit opened this issue Dec 15, 2020 · 2 comments

Comments

@zeroFruit
Copy link

zeroFruit commented Dec 15, 2020

Hi,
I'm planning to run btcd node on my k8s cluster. Is there any minimum (or recommended) system requirements for CPU and RAM?

@jakesylvestre
Copy link
Collaborator

jakesylvestre commented Dec 15, 2020

tbh - if you're running in a kubernetes cluster I'd be more worried about disk i/o. One of the things Kubernetes does to help you scale is seperates the disk from the physical machine. The only way I've gotten btcd to stay up to chain-tip under heavy rpc load is by using a local-ssd.

I've done a performance rundown on how NAS affects performance here and talked about the i/o optimized setup here

In any case, this is what our btcd utilization looks like for a k8s pod under heavy utilization:

image

You can get away w/ 2vcpu and 8gb of ram. If you have the option - I recommend setting your pod affinity to a machine that supports cpu bursting. It's very useful for this kind of app since it'll burst on new blocks

@zeroFruit
Copy link
Author

zeroFruit commented Dec 16, 2020

@jakesyl
Thanks for the answer. I've already experienced similar problems on Ethereum Geth (here is my Reddit post).

local-ssd looks great, but I think the first step to check is minimum system requirements and I couldn't find docs about it.

Anyway I haven't think about local-ssd as solution for keeping my node up-to-date. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants