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

CPU metric doesn't show utilization of cores #35208

Open
KirillLykov opened this issue Feb 15, 2024 · 0 comments
Open

CPU metric doesn't show utilization of cores #35208

KirillLykov opened this issue Feb 15, 2024 · 0 comments

Comments

@KirillLykov
Copy link
Contributor

KirillLykov commented Feb 15, 2024

Problem

We have a group of metrics cpu-stats with metrics average_load_<min>_minute where <min>::=one|five|fifteen.
It shows average over the given time span and also among all the cores.
It is sometime happens that although validator is very busy doing something, only few cores are loaded and all the rest are idle.
Currently, it is impossible to detect this situation with the given metric.

Proposed Solution

So it seems that with the current metric we average in two dimensions -- cores and time.
Here, we are interested in cores. Would be nice to have a simple metrics that could allow to measure distribution of the load among cores. Maybe number of busy cores (for example, load > 85%) and number of idle cores (load < 5%), not quite sure about the best practice here. Histogram is complicated to track, would be better to have 1-2 numbers instead.

@yihau

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

No branches or pull requests

1 participant