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 (oprofile).

  • Determine which processes are creating and using shared memory (ipcs).



Optimizing Linux Performance. A Hands-On Guide to Linux Performance Tools
Optimizing Linux Performance: A Hands-On Guide to Linux Performance Tools
ISBN: 0131486829
EAN: 2147483647
Year: 2004
Pages: 132

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net