-
Notifications
You must be signed in to change notification settings - Fork 0
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
I want to add more details on CPU Frequencies #21
Comments
What is the exact underlying intention with tracking that data? Pure C-State Residency as observed by the OS can also be tracked with You say now you want to have the data on process level and for every observed frequency change. How many changes are that typically? I believe there might be an extreme overhead. A concern that I also have is that the OS observed frequency changes are not exhaustive. Intel for instance does not guarantee that every demand from the OS to change a frequency is followed by and furthermore can also change frequencies only internal to the CPU. Although you can still poll the state afterwards I am unsure if that particular tracepoint then triggers ... |
Currently I know which process is for how long on which CPU. But energy draw highly depends on the frequency. If it is possible to also track this I can make the energy footprint more accurate. I also have the same questions about overhead, accuracy and how good this will work. To test this I started playing around with this code. I made an issue because it is just something I am playing around with. Especially as we are already using the idle ebpf hook I want to see how much this will add. I also don't know how often this will typically be called etc.. All things I want to answer. |
I believe tracking the instructions should be suffienct. the frequency is implied in this metric through the throughput. what do you say?
…-------- Original Message --------
On 13/12/2024 19:42, Didi Hoffmann wrote:
Currently I know which process is for how long on which CPU. But energy draw highly depends on the frequency. If it is possible to also track this I can make the energy footprint more accurate.
I also have the same questions about overhead, accuracy and how good this will work. To test this I started playing around with this code. I made an issue because it is just something I am playing around with. Especially as we are already using the idle ebpf hook I want to see how much this will add. I also don't know how often this will typically be called etc.. All things I want to answer with this code.
—
Reply to this email directly, [view it on GitHub](#21 (comment)), or [unsubscribe](https://github.com/notifications/unsubscribe-auth/AAB5GLZOXK5DGAB3CPEH4XL2FMTBHAVCNFSM6AAAAABTSG5WNKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNBSGA2DCOJQHA).
You are receiving this because you commented.Message ID: ***@***.***>
|
Wouldn't that imply that every instruction takes the same amount of time? |
This is what I have been playing around with. I now only need a way to map this to processes.
The text was updated successfully, but these errors were encountered: