Optimize memory access behavior using the Arm Performix MCP server
Introduction
Understand CPU memory hierarchy and address translation
Set up and build the example application
Profile memory access behavior with Arm Performix
Optimize an app manually and with the Arm Performix MCP server
Next Steps
Optimize memory access behavior using the Arm Performix MCP server
Who is this for?
This is an introductory topic for C++ developers who want to use the Arm Performix MCP server to diagnose cache and address translation behavior in applications running on Arm Neoverse servers.
What will you learn?
After completing this Learning Path, you'll be able to perform the following tasks:
- Explain how L1 cache hits, TLB misses, and page walks affect C++ application performance.
- Build and visualize the orbiting galaxies example on an Arm Neoverse server.
- Inspect and optimize the particle data structure using insights from the memory access recipe.
- Use the Arm Performix MCP server with an AI coding agent to support an optimization workflow.
Prerequisites
Before starting, you'll need the following prerequisites:
- Access to an Arm Neoverse bare metal server.
- Basic understanding of memory hierarchy within a CPU.
- Basic C++ development experience.
- Familiarity with the Linux command line.
- An MCP-compatible coding assistant. The example uses OpenAI Codex, which requires an OpenAI account.