-
Notifications
You must be signed in to change notification settings - Fork 795
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
Best set of runtime arguments for maximizing revenue? Best set of compile-time arguments? #3492
Comments
The most impactful flags are Other than that, Lighthouse is designed to run optimally by default on whatever hardware it's given. Having a fast CPU helps, particuarly one that supports ADX and SHA256 native instructions (e.g. all AMD Ryzen CPUs support this, and most modern Intel ones). Having fast I/O is also advantageous. You may see some small benefit from increasing |
Thank you, Michael. That is very helpful, as well as interesting. For the To take advantage of these CPU-specific performance enhancements do I need to build Lighthouse from source or can I use https://github.com/sigp/lighthouse/releases/download/v3.0.0/lighthouse-v3.0.0-x86_64-unknown-linux-gnu.tar.gz ? |
Yeah you can use the binary. Compiling from source might yield some additional benefits, particularly if you use something like You should get confirmation of SHA-256 acceleration in
|
Again, thank you for the valuable guidance, Michael. Expecting no noticeable difference in performance I built the executable, on the
(I'm not running a Slasher because my understanding is that it does not presently result in an increase of revenue—let me know if I'm mistaken.) The I did this more so to report my case study for community benefit: I have not noticed any performance difference (although I'm not performing a formal analysis), nor have I noticed any other sort of difference, positive or negative, including within the logs (logging at If I can perform any further experimentation with this matter let me know. Otherwise, if I notice anything which is in the literal sense "remarkable" then I will report back. |
Closing this as stale. We're always updating LH to provide the best profitability flags by default (e.g. #4971) and anything beyond that is usually subject to change quickly, and is probably best gleaned from Discord, chats with devs, guides, etc. |
Does this describe running
Would I assume that fast I/O does not matter when it comes to running |
Both benefit from ADX, as that's used for BLS signing (VC) & verifying (BN). The BN benefits from SHA-256 as it's the one that hashes the state.
It helps a little, particularly at high validator counts – 100+, but especially 1000+. The reason is that the VC needs to do quite a lot of atomic writes to the slashing protection database. If you are using web3signer and |
Let us assume that AWS resources are free.
Let us further assume that none of our EC2 instances are constrained by networking throughput, CPU use, RAM capacity, disk I/O, or the rest.
What would be the best set of runtime arguments to maximize validator revenue? The question applies to both the Beacon Node and the Validator Client.
A non-default
--block-cache-size
?A non-default
--target-peers
?A non-default
--network-load
?Inclusion of
--subscribe-all-subnets
?Inclusion of
--import-all-attestations
?The above are just examples; the scope of the question is not limited to them.
The text was updated successfully, but these errors were encountered: