Introduction
Optimize Linux system performance
()
What you should know
()
1. Performance Overview
Timing techniques
()
More timing techniques
()
Timing techniques solution
()
Performance Copilot and Tuna
()
PMChart and TUNA
()
Intro to Berkeley Packet Filter
()
What do we mean by performance?
()
The proc filesystem
()
Packages for performance
()
2. CPU Bottlenecks
top for CPU usage
()
sar for CPU
()
/proc/cpuinfo
()
Scheduling: nice, priorities, and process classes
()
Throughput vs. response time
()
The Linux kernel and responsiveness
()
3. Memory Bottlenecks
CPU caches and page caches
()
Examples of filesystem caching
()
BPF and Memory bottlenecks and leaks
()
Challenge: Finding memory bottlenecks
()
Solution: Finding memory bottlenecks
()
What is a memory leak?
()
/proc/meminfo, free, and swap space
()
top and htop for memory usage
()
Page sizes and page faults
()
4. Disk Bottlenecks
Filesystem types and performance
()
BPF and Filesystem performance
()
Challenge: Disk bottlenecks
()
Solution: Disk bottlenecks
()
Hard disks and SSD behavior
()
sar and atop tools and disk utilization
()