Superior application performance is more crucial than ever-and in today's complex production environments, it's tougher to ensure, too. If you use Linux, you have extraordinary advantages: complete source code access, plus an exceptional array of optimization tools. But the tools are scattered across the Internet. Many are poorly documented. And few experts know how to use them together to solve real problems. Now, one of those experts has written the definitive Linux tuning primer for every professional: Optimizing Linux Performance.
Renowned Linux benchmarking specialist Phillip Ezolt introduces each of today's most important Linux optimization tools, showing how they fit into a proven methodology for perfecting overall application performance. Using realistic examples, Ezolt shows developers how to pinpoint exact lines of source code that are impacting performance. He teaches sysadmins and application developers how to rapidly drill down to specific bottlenecks, so they can implement solutions more quickly. You'll discover how to: Identify bottlenecks even if you're not familiar with the underlying system, Find and choose the right performance tools for any problem, Recognize the meaning of the events you're measuring, Optimize system CPU, user CPU, memory, network I/O, and disk I/O-and understand their interrelationships Fix CPU-bound, latency-sensitive, and I/O-bound applications, through case studies you can easily adapt to your own environment Install and use oprofile, the advanced systemwide profiler for Linux systems.
If you're new to tuning, Ezolt gives you a clear and practical introduction to all the principles and strategies you'll need. If you're migrating to Linux, you'll quickly master Linux equivalents to the tools and techniques you already know. Whatever your background or environment, this book can help you improve the performance of all your Linux applications-increasing business value and user satisfaction at the same time.
Chapter 1 Performance hunting tips
Chapter 2 Performance tools : system CPU
Chapter 3 Performance tools : system memory
Chapter 4 Performance tools : process-specific CPU
Chapter 5 Performance tools : process-specific memory
Chapter 6 Performance tools : disk I/O
Chapter 7 Performance tools : network
Chapter 8 Utility tools : performance tool helpers
Chapter 9 Using performance tools to find problems
Chapter 10 Performance hunt 1 : a CPU-bound application (GIMP)