You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are doing performance stress testing for reth in a private network.
During the tests, we found that when the throughput goes beyond 3000+ TPS, reth often falls behind the head block, and switches back from live sync to stage sync, but geth can handle normal.
Our test machine is quite powerful:
256 GB RAM
24 cores
the reth-bsc((base on reth v1.6.0)) build with the maxperf profile and the run command as above:
However, when we observed the metrics, both mdbx write latency and mdbx read latency became extremely high under load. This seems to be the main bottleneck causing the block lagging issue.
Questions
Has anyone faced similar write throughput issues with MDBX in reth?
Are there recommended mdbx tuning parameters or reth configurations that can help?
Would alternative setups (e.g. tuning commit batch size, disabling sync, file system tweaks, or even alternative databases) improve performance?
Any insights, tuning experience, or best practices would be highly appreciated!
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
We are doing performance stress testing for reth in a private network.
During the tests, we found that when the throughput goes beyond 3000+ TPS, reth often falls behind the head block, and switches back from live sync to stage sync, but geth can handle normal.
Our test machine is quite powerful:
the reth-bsc((base on reth v1.6.0)) build with the maxperf profile and the run command as above:
However, when we observed the metrics, both mdbx write latency and mdbx read latency became extremely high under load. This seems to be the main bottleneck causing the block lagging issue.
Questions
Has anyone faced similar write throughput issues with MDBX in reth?
Are there recommended mdbx tuning parameters or reth configurations that can help?
Would alternative setups (e.g. tuning commit batch size, disabling sync, file system tweaks, or even alternative databases) improve performance?
Any insights, tuning experience, or best practices would be highly appreciated!
Beta Was this translation helpful? Give feedback.
All reactions