Skip to content

[Question] Pinning PCM to specific cores (PCM is not honoring isolcpus) #274

Answered by opcm
hoax-killer asked this question in Q&A
Discussion options

You must be logged in to vote

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).

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@hoax-killer
Comment options

Comment options

You must be logged in to vote
1 reply
@hoax-killer
Comment options

Answer selected by hoax-killer
Comment options

You must be logged in to vote
1 reply
@hoax-killer
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #273 on February 06, 2021 10:16.