Operating Systems / Linux
53 notes
Some notes are currently available only in Chinese. English translations are shown when available.
- Zero-Copy Mechanismhistorical
Traditional I/O moves data through disks, kernel buffers, user space, and the network. These notes use that path to examine how zero-copy reduces overhead.
- CPU Tuninghistorical
CPU utilization measures non-idle time and can be broken into user, system, I/O-wait, and interrupt categories. These notes organize tuning metrics around those parts.
- tophistorical
Top displays process resource usage dynamically. These notes start with the help menu and record interactive commands for inspecting CPU and other metrics.
- Memory Tuninghistorical
Memory analysis distinguishes used and available space. These notes examine memory tuning through usage figures and related metrics.
- vmstathistorical
Vmstat reports process, memory, swap, and CPU statistics. These notes focus on fields such as buffer and cache.
- Disk Tuninghistorical
Disk tuning involves capacity, I/O, page cache, directory entries, and inode caches. These notes organize analysis metrics around those layers.
- Network Tuninghistorical
Network tuning begins with packet encapsulation, addressing, routing, and transmission, followed by throughput and latency measurements to locate problems.
- iostathistorical
Iostat's default output includes statistics since system startup. These notes examine CPU and device fields for inspecting I/O activity.
- Linux Performance Tuninghistorical
Linux performance tuning can be approached through CPU, memory, disk, and networking. This page links the related topics.
- Flame Graphhistorical
Flame graphs visualize sampled call stacks. These notes begin with perf collection and record how to generate and read the resulting graph.