substrate-docs icon indicating copy to clipboard operation
substrate-docs copied to clipboard

Benchamrk machine referenced more strongly

Open nuke-web3 opened this issue 4 years ago • 1 comments

Deep dive into benchmarking from Shawn: https://www.youtube.com/watch?v=Qa6sTyUqgek

NOTE you must use the identical machine as your target relaychain to ensure that your weights system is matching there for the very tight and strict restriction on PoV execution: https://docs.substrate.io/v3/concepts/weight/

Substrate defines one unit of weight as one picosecond of execution time, that is 1012 weight = 1 second, or 1,000 weight = 1 nanosecond, on fixed reference hardware (Intel Core i7-7700K CPU with 64GB of RAM and an NVMe SSD).

https://www.shawntabrizi.com/substrate-graph-benchmarks/docs/#/assumptions

nuke-web3 avatar Dec 13 '21 20:12 nuke-web3

The benchmarking currently isn't done for execution on the relay chain. The point is that the validation phase doesn't use any database and will ready everything from memory, aka being much faster.

bkchr avatar Dec 13 '21 21:12 bkchr