Skip to content

Conversation

harp-intel
Copy link

This pull request introduces enhancements to thread pinning functionality in avx-turbo.cpp. The changes allow threads to be pinned to specific CPU IDs provided as a comma-separated list via a new command-line argument.

Some multi-die CPU architectures number their cores sequentially, e.g., 0-31 on die 0 and 32-64 on die 1. If we measure frequencies across cores 0-64, we will see an unexpected increase in average frequency when we cross the die boundary. This change allows the caller to specify the order of the cores so that the average frequency curve decreases as expected.

For the above case, the caller can specify --cpuids 0,32,1,33,2,34... to achieve the desired measurement.

Signed-off-by: Harper, Jason M <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant