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

metrics: add more metrics for state/cache/miner; #1811

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

galaio
Copy link
Contributor

@galaio galaio commented Aug 9, 2023

Description

After some local performance testing, here are some new metrics for monitor:

  1. add state account/storage meter, and L1, L1.5, L2, L3 every level cache hit meter;
  2. add a prefetcher meter for calculating prefetcher trie miss rate;
  3. add read/updates count histogram to monitor read/updates avg cost time, and rel with validation cost time;
  4. add mgasps/gasused metrics, to monitor gas execution;
  5. add packageBlockTimer/processBlockTimer/orderTxsTimer/prepareWorkTimer, to monitor worker execution;

Rationale

some state read/updates count histogram metrics need enable by --metrics.expensive flag.

Changes

Notable changes:

  • metrics: add more metrics for state/cache/miner;
  • ...

@zzzckck zzzckck marked this pull request as draft April 3, 2024 02:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants