Chapter 10. Performance Hunt 1: A CPU-Bound Application (GIMP)


This chapter contains an example of how to use the Linux performance tools to find and fix performance problems in a CPU-bound application.

After reading this chapter, you should be able to

  • Figure out which source lines are using all the CPU in a CPU-bound application.

  • Use ltrace and oprofile to figure out how often an application is calling various internal and external functions.

  • Look for patterns in the applications source, and search online for information about how an application behaves and possible solutions.

  • Use this chapter as a template for tracking down a CPU-related performance problem.



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