-
-
Notifications
You must be signed in to change notification settings - Fork 109
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
Investigate and at least document why a compilation process may create a difference between total host power and sum of processes power #20
Comments
That's interesting. I don't have a real difference on my laptop. On metrics.hubblo.org, there are some differences, but not especially higher, but also lower. It made me think that there may be some differences in the way the CPU time allocated to processes is stored in /proc from one CPU model to another. I never had a "constant" different pattern like you have. It would be very interesting to compare those contexts. I think about adding more internal metrics in the prometheus exporter to help with such investigations. |
@PierreRust I got the same pattern as you, in other use cases (sometimes, the pattern changes over a long period of time too). I'll try to work on that next week. Do you have some resources to share about best practices on splitting the consumption across processes ? I'd like to think and discuss on what could be the best way to be more accurate, while staying light and simple. For the record, I think we should investigate how data in /proc are computed as it is what scaph is based on for the split. |
Hi @PierreRust I get much better results (comparing total power consumption of all processes to total power consumption of the host) with this fix : #132 Could you try that too and give me your thoughts ? Thanks ! |
Running a
build --release
of scaphandre withlto=thin
I see that host total power differs from the sum of all processes power, without catching up.It needs to be investigated, then either fixed if fixable or documented if due to the powercap rapl counters behavior. (or even create a bug report about the powercap or intel rapl module ?
Never seen that king of glitch before with any type of process...
The text was updated successfully, but these errors were encountered: