-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Warn validators with slow hardware #12017
Comments
@ordian Maybe this can be helpful in view of the disputes slashing roll-out as well? |
We already got the host performance check in Polkadot for this: https://github.com/paritytech/polkadot/blob/master/cli/src/host_perf_check.rs |
Do you mean that we should not add it to Polkadot then, but still to Substrate? Or not at all? |
We can add it to Substrate, if it is done in a generic way. Aka chain implementors like Polkadot provide their own expected numbers that are treated as "good". My comment was more an answer to @dvdplm. But if we have your stuff, we can deprecate the host perf check. |
@ggwpez I am gonna pick this up :) |
Please try to do it in one. I dont want to increase the review overhead for such a rather simple issue @Szegoo |
@ggwpez Ok, I will close this issue and move Metric in the same PR. |
@ggwpez Should we deprecate the host perf check in polkadot then and have it in substrate implemented in a generic way? |
I have to look into the PVF check command again and chat with who created it. For now it is still fine to have both IMO. |
Upon starting a node we currently print some brief hardware metrics.
This could be extended to include a warning in case the node has bad performance and was started with
--validator
.The logic for comparing results and having a baseline is currently in
utils/frame/benchmarking-cli
, some of this would probably move tosc-sysinfo
.sc-sysinfo
would profit from this since it can useThroughput
types (and other) instead of justu64
in some places.The text was updated successfully, but these errors were encountered: