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

CPU-Bound Application

In this chapter, we investigate an application that is CPU-bound. It ...

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