Skip to content
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

Benchmarking Roadmap 2022 (Tracking Issue) #397

Open
8 of 16 tasks
shawntabrizi opened this issue Dec 21, 2021 · 4 comments
Open
8 of 16 tasks

Benchmarking Roadmap 2022 (Tracking Issue) #397

shawntabrizi opened this issue Dec 21, 2021 · 4 comments
Assignees
Labels
I6-meta A specific issue for grouping tasks or bugs of a specific category.

Comments

@shawntabrizi
Copy link
Member

shawntabrizi commented Dec 21, 2021

In 2022, we should prioritize the next wave of benchmarking and optimization for Substrate / Polkadot.

Goals

  • improve transaction density / throughput in blocks.
  • improve developer quality of life for benchmarks.
  • improve story specifically in the context of weights for parachains.

Developer Quality of Life

Improve Throughput

  • Switch from RocksDB to ParityDB (Q1 2022)
  • Reassess previous assumptions (block overhead, transaction overhead, etc...)
  • New reference hardware for benchmarking the runtime. Update reference hardware w3f/polkadot-wiki#3564
    • Rerun benchmarks for this hardware.
    • Migration plan for community to switch to this hardware.
  • Investigate the use of OS specific optimized binary
  • Look at existing performance / benchmarking tools in the RUST ecosystem

Improve Accuracy

  • Complete work for PoV benchmarking. PoV Benchmarking Tracking Issue #398
  • Track memory read / writes in addition to DB read / writes.
  • Dual weight limits for Collators on Parachain Network and Validators on Polkadot Network
    • Remove DB reads / writes for validator blocks (use memory reads / writes instead)
  • Dynamic Storage Weights (measuring DB reads / writes impact dynamically based on worst case encoding size)
@juangirini juangirini transferred this issue from paritytech/substrate Aug 24, 2023
@the-right-joyce the-right-joyce added I6-meta A specific issue for grouping tasks or bugs of a specific category. and removed J1-meta labels Aug 25, 2023
claravanstaden pushed a commit to Snowfork/polkadot-sdk that referenced this issue Dec 8, 2023
Bumps [nokogiri](https://github.com/sparklemotion/nokogiri) from 1.11.1 to 1.11.4.
- [Release notes](https://github.com/sparklemotion/nokogiri/releases)
- [Changelog](https://github.com/sparklemotion/nokogiri/blob/main/CHANGELOG.md)
- [Commits](sparklemotion/nokogiri@v1.11.1...v1.11.4)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
@vedhavyas
Copy link
Contributor

@shawntabrizi checking if there has been any change to reference hardware used to benchmark the runtime is still the same - w3f/polkadot-wiki#3564

if not, can you point me to the latest reference pls?

@shawntabrizi
Copy link
Member Author

@ggwpez should know

@vedhavyas
Copy link
Contributor

@ggwpez wondering if you can confirm the current hardware reference used for benchmarking runtime

@ggwpez
Copy link
Member

ggwpez commented Dec 14, 2023

It is described in the polkadot-wiki.
For updating the weights we use some Google server with Intel Ice Lake CPU series. The weights come in very consistent so far.

helin6 pushed a commit to boolnetwork/polkadot-sdk that referenced this issue Feb 5, 2024
* Add Pay::No for ethereum call

* Update TargetMinGasPrice event

* Update weight

* Remove decl event

* Del event in dynamic-fee
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
I6-meta A specific issue for grouping tasks or bugs of a specific category.
Projects
Development

No branches or pull requests

4 participants