# Next Steps

## In this learning path

- [Introduction](https://learn.arm.com/learning-paths/servers-and-cloud-computing/false-sharing-arm-spe/)
- [Arm Statistical Profiling Extension and false sharing](https://learn.arm.com/learning-paths/servers-and-cloud-computing/false-sharing-arm-spe/how-to-1/)
- [Set up your environment for Arm SPE and Perf C2C profiling](https://learn.arm.com/learning-paths/servers-and-cloud-computing/false-sharing-arm-spe/how-to-2/)
- [False sharing example](https://learn.arm.com/learning-paths/servers-and-cloud-computing/false-sharing-arm-spe/how-to-3/)
- [Perform root cause analysis with Perf C2C](https://learn.arm.com/learning-paths/servers-and-cloud-computing/false-sharing-arm-spe/how-to-4/)
- [Next Steps](https://learn.arm.com/learning-paths/servers-and-cloud-computing/false-sharing-arm-spe/_next-steps/)

## Explore related resources
Find more information about the topics in this Learning Path:
- [Arm Statistical Profiling Extension Whitepaper](https://developer.arm.com/documentation/109429/latest/)
- [Arm Topdown Methodology](https://developer.arm.com/documentation/109542/0100/Arm-Topdown-methodology)

## Review frequently asked questions
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.

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