-
Notifications
You must be signed in to change notification settings - Fork 254
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
Report mean,min,max ConsumeWorkerMetrics::timing_metrics #3321
Conversation
e4781aa
to
7db5fe3
Compare
7db5fe3
to
d19f6be
Compare
freeze_lock_us: AtomicU64, | ||
record_us: AtomicU64, | ||
commit_us: AtomicU64, | ||
find_and_send_votes_us: AtomicU64, | ||
wait_for_bank_success_us: AtomicU64, | ||
wait_for_bank_failure_us: AtomicU64, | ||
count: AtomicU64, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we can just report this instead of mean - can derive the mean of any of the metrics that way instead of a separate point for each.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah i was also thinking that way. glad that you have the same point of view.
), | ||
( | ||
"load_execute_us_mean", | ||
self.load_execute_us.swap(0, Ordering::Relaxed)/self.count.swap(0, Ordering::Relaxed), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You need to test the metrics you're adding. This will never be anything be 0 because we have already swapped self.load_execute_us
to 0 above
7240bb3
to
b4fa34a
Compare
Updated the commit message with output from the validator log. |
0d0e933
to
4e76a80
Compare
4e76a80
to
faa9330
Compare
Problem
Only total time is reported for load_execute
Summary of Changes
Report mean, min, max metrics.
Testing:
$ solana airdrop -u http://127.0.0.1:8899 10 An8CLJA36yAivbBCo3dneq9rQz4h5MqM2exXEre4yheu
Fixes #467