-
Notifications
You must be signed in to change notification settings - Fork 477
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
Add support for pcm-latency command when hyper threading is off #702
Comments
Thanks for asking. I will check with the developer. |
Any update on this? |
thank you for your patience. I apologize for the delay. We will provide you an update soon. |
Hi @matte21. I am looking into the issue. Can you please provide some information on what server you are running on and what you are trying to monitor? |
Hi @sravisun . I'm using a two-socket system where each socket is a Xeon Silver 4114 CPU. The OS is Ubuntu 22.04. pcm is at release 202201. I have a bunch of apps, and for each one I'm trying to measure their sensitivity to memory latency. Practically, this means that for each app I generate some load multiple times, where each time I set a different value for the uncore frequency (to simulate different latencies when accessing RAM), and see how much the app latency and throughput degrade as the memory latency increases. The problem I have is that I want to make sure that the cache hit rate (for every cache level) is low. Otherwise, an app might spuriously appear as insensitive to memory latency, while in fact it's just hitting the caches very frequently. So what I'd like to monitor is the cache hit rate for every cache level. The vanilla |
Hi @matte21 Yes at the time it was coded we had put in a block where there was no support for offline cores. |
Hi @sravisun. To disable hyperthreading, I update the grubconfig by appending Besides the no-HT use case we're discussing, since I opened the issue an additional use case emerged where I need pcm-latency on a server where the number of available cores is different than the number of logical cores. I have the same two-sockets server, but I manually offline all cores in only one of the two sockets by running echo 0 > /sys/devices/system/cpu/cpu<i>/online for all cores in said socket. I might need to do this both with HT on and off. |
Sure will update the code without cores offline check. Will let you know once it is ready |
Thank you! |
Hello, I need to run a program and measure the information collected by
pcm-latency
.But I need to run the program on a server with hyper-threading off.
pcm-latency
doesn't support that at the moment: https://github.com/intel/pcm/blob/master/src/pcm-latency.cpp#L385-L389Can you please add support for that, if it's easy to do so? If not, what are the reasons that led to the choice of not supporting that?
The text was updated successfully, but these errors were encountered: