Chapter 8. File Systems
Analysis of file systems has historically focused on disk I/O and its performance, but file systems are often a more relevant target for beginning your analysis. It is the file system that applications usually interact with directly, and file systems can use caching, read-ahead, buffering, and asynchronous I/O to avoid exposing disk I/O latency to the application.
Since there are few traditional tools for file system analysis, it is an area where BPF tracing can really help. File system tracing can measure the full time an application was waiting on I/O, including disk I/O, locks, or other CPU work. It can show the process responsible, and the files operated upon: useful context that can be much harder to fetch from down ...
Get BPF 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.