Always Learning

Advanced Search

Linux Debugging and Performance Tuning

Linux Debugging and Performance Tuning

Tips and Techniques

Steve Best

Oct 2005, Paperback, 456 pages
ISBN13: 9780131492479
ISBN10: 0131492470
This title is ordered on demand which may result in extended delivery times.
Special online offer - Save 30%
Was £44.49, Now £31.14Save: £13.35
  • Print pagePrint page
  • Email this pageEmail page
  • Share

A unique resource that shows Linux kernel AND Linux application programmers how to write bug-free code that's optimized for performance.

1) Debugging techniques for Linux applications and the kernel

2) Performance tuning techniques for Linux application and the kernel.

3) Sample programs that show how debugging tools can find programming errors.

4) Sample programs that show how profiling tools can show which routines applications spend the most time in.

5) Key features that can be set up in the kernel to capture data once a problem occurs.

Learn Linux debugging and optimization—at kernel and application levels—hands-on!

This is the definitive guide to Linux software debugging and performance optimization at both the kernel and application levels. Using extensive Linux code examples, Steve Best systematically introduces open source tools and best-practice techniques for delivering bug-free, well-tuned code.

Drawing on his exceptional experience optimizing Linux systems for IBM, Best covers issues ranging from memory management and I/O to system processes and kernel bug messages. You'll walk through real debugging sessions, discovering the strategies experts use to debug even the most complex application- and kernel-related problems. You'll master sophisticated profiling techniques for identifying and resolving bottlenecks more quickly and learn how to capture the right data in the event of trouble. Coverage includes

  • Bottleneck identification

  • Code coverage

  • Debuggers: gdb, kgdb, and KDB

  • Memory management

  • /proc kernel data analysis

  • System process monitoring

  • Network performance

  • Oops bug messages

  • Syslog and event logging

  • Execution traces

  • Profiling kernel behavior

  • Cache misses

  • User-Mode Linux

  • Dynamic probes

  • Crash dump analysis

  • And more...

Linux® Debugging and Performance Tuning will be indispensable for every developer who needs to supercharge the Linux kernel and applications, and for every administrator and support specialist who must resolve Linux reliability or performance issues.

© Copyright Pearson Education. All rights reserved.



About the Author.


1. Profiling.

2. Code Coverage.

3. GNU Debugger (gdb).

4. Memory Management Debugging.

5. System Information (/proc).

6. System Tools.

7. System Error Messages.

8. Event Logging.

9. Linux Trace Toolkit.

10. oprofile: a Profiler Supported by the Kernel.

11. User-Mode Linux.

12. Dynamic Probes.

13. Kernel-Level Debuggers (kgdb and kdb).

14. Crash Dump.


A unique resource that shows Linux kernel AND Linux application programmers how to write bug-free code that's optimized for performance.

° Debugging tools and techniques for the Linux kernel itself and Linux applications

° Performance tools and techniques that show how to supercharge the kernel and the applications that run on it.

° Sophisticated profiling techniques that teach programmers how to uncover application bottlenecks

Steve Best works in the Linux Technology Center of IBM in Austin, Texas. He is currently working on Linux storage-related products. Steve has led the Journaled File System (JFS) for Linux project. Steve has worked on Linux-related projects since 1999 and has done extensive work in operating system development focusing on file systems, internationalization, and security. Steve is the author of numerous magazine articles, many presentations, and the file system chapters in Performance Tuning Linux Servers (Prentice Hall PTR 2005).

© Copyright Pearson Education. All rights reserved.