Chapter 11. Performance Hunt 2: A Latency-Sensitive Application (nautilus)
This chapter contains an example of how to use the Linux performance tools to find and fix a performance problem in a latency-sensitive application.
After reading this chapter, you should be able to
Use
ltrace
andoprofile
to figure out where latency is being generated in a latency-sensitive application.Use
gdb
to generate a stack trace for each call to a “hot” function.Use performance tools to determine where time is spent for an application that uses many different shared libraries.
Use this chapter as a template to find the cause of high latency in a latency-sensitive application.
A Latency-Sensitive Application
In this chapter, we investigate an application that is sensitive ...
Get Optimizing Linux® Performance: A Hands-On Guide to Linux® Performance Tools now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.