-
Notifications
You must be signed in to change notification settings - Fork 806
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
Update polkadot CPU score to reflect 8 cores are minimum required #5122
Comments
Whatever you change, please keep the polkadot Wiki in sync: https://wiki.polkadot.network/docs/maintain-guides-how-to-validate-polkadot#reference-hardware |
Yes, definitely. |
Fixes: #5122. This PR extends the existing single core `benchmark_cpu` to also build a score of the entire processor by spawning `EXPECTED_NUM_CORES(8)` threads and averaging their throughput. This is better than simply checking the number of cores, because also covers multi-tenant environments where the OS sees a high number of available CPUs, but because it has to share it with the rest of his neighbours its total throughput does not satisfy the minimum requirements. ## TODO - [x] Obtain reference values on the reference hardware. --------- Signed-off-by: Alexandru Gheorghe <alexandru.gheorghe@parity.io>
This issue has been mentioned on Polkadot Forum. There might be relevant details there: |
Full context of the discussion is here https://forum.polkadot.network/t/rfc-increasing-recommended-minimum-core-count-for-reference-hardware/8156, long story short the minimum required core count for validators need to be increased from 4 to 8 to increase the overall capacity for PVF execution, to fully take advantage of async backing.
The feedback from validators have been overwhelming positive, so as a first step we need to modify the CPU score benchmark to reflect this changes and inform validators at startup that in the future this will become the norm.
Note!! This should not do any enforcements at this moment it should be just to inform validator that they are not meeting this requirements and they need to take the necessary steps to increase their capacity.
TODO
The text was updated successfully, but these errors were encountered: