O'Reilly logo

Optimizing Linux® Performance: A Hands-On Guide to Linux® Performance Tools by Phillip G. Ezolt

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 5. Performance Tools: Process-Specific Memory

This chapter covers tools that enable you to diagnose an application’s interaction with the memory subsystem as managed by the Linux kernel and the CPU. Because different layers of the memory subsystem have orders of magnitude differences in performance, fixing an application to efficiently use the memory subsystem can have a dramatic influence on an application’s performance.

After reading this chapter, you should be able to

  • Determine how much memory an application is using (ps, /proc).

  • Determine which functions of an application are allocating memory (memprof).

  • Profile the memory usage of an application using both software simulation (kcachegrind, cachegrind) and hardware performance counters ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required