Loading page

Give feedback

How would you rate this Learning Path?

Review frequently asked questions

AI-assisted

These FAQs were drafted with an approved AI-assisted workflow and reviewed by Arm contributors before publication. Human technical review remains part of the process so the final page reflects engineering rigor, accuracy, and Arm editorial standards.

Close
?
How do I check whether my system uses a single NUMA node before pinning?
Run lscpu | grep -i numa and check the NUMA node count.
Which cores should I choose when using taskset for the single-threaded benchmark?
On a uniform system, select an available core for your single-threaded test. For a multithreaded test, select the specific cores that you intend to dedicate to its threads.
How do I know that pinning with taskset actually changed behavior?
Compare unpinned and pinned runs for runtime stability and throughput. Use perf to collect cache metrics. Look for differences in cache references and misses between the two cases.
Where should I place source-level affinity calls?
Set affinity immediately after creating a thread or before it enters the hot path that does the critical work. Pin only the threads that you need to control. Leave the others managed by the scheduler.
What should I check if perf results don't show a clear difference after pinning?
Run enough iterations to reduce noise and ensure the system isn’t under heavy background load. Verify that the chosen affinity mask targets cores that are online and available.

Share

Tell others about this Learning Path.

Return to Servers and Cloud Computing