[Question] Pinning PCM to specific cores (PCM is not honoring isolcpus) #274
-
Hi, I did not see a mailing list hence putting up the question here. I have 48 cores in my machine, and isolated 46 cores by adding Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
There is a discussion tab in the repo. Transferring the question there. I have little experience with isolcpus. Could you please post PCM output with isolcpus here? |
Beta Was this translation helpful? Give feedback.
-
I think this should work: PCM_NO_PERF=1 taskset -c 0-1 ./pcm.x -r |
Beta Was this translation helpful? Give feedback.
-
with higher sampling frequencies PCM queries the kernel driver more often. This is the kernel overhead time on these cores, not pcm user-space time. You can check the cores allowed to be used by pcm user space process with this command:
|
Beta Was this translation helpful? Give feedback.
I think this should work: PCM_NO_PERF=1 taskset -c 0-1 ./pcm.x -r
pcm will only use cores 0-1 in user space. The kernel still can use all cores (and PCM gets the perfmon register values from the kernel driver).