Explore related resources

Find more information about the topics in this Learning Path:

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 confirm that my Arm-based instance supports Arm SPE before collecting data?
Check that both the hardware and the kernel support Arm SPE and verify that Linux perf can access the relevant events. Run sudo modprobe arm_spe_pmu to confirm if the SPE kernel module is loaded. Run ls /sys/bus/event_source/devices/ | grep arm_spe to check if SPE is included in the kernel.
Which build should I profile first with Perf C2C to observe false sharing?
Start with the unaligned version of the example to expose false sharing. Then, profile the cache-aligned version to compare results and confirm the impact of alignment.
What result should I expect when comparing the aligned and unaligned binaries?
Expect a runtime and counter difference between the two builds, with the unaligned version typically showing more cache-related contention. Exact values vary by system and load.
How do I know Perf C2C captured useful cache line information?
Look for a report that highlights shared or contended cache lines and maps addresses back to symbols or source locations. You should be able to identify which structures or lines of code are involved in the contention.
How can I troubleshoot similar performance between the aligned and unaligned builds?
Verify that the alignment changes are present in the compiled binaries and that multiple threads are actively updating shared data. Repeat measurements with perf stat -r 3 for each binary and confirm that your SPE and perf setup is correct.

Share

Tell others about this Learning Path.

Back
Return to Servers and Cloud Computing