| 工具链 | mpstat → iotop/pidstat -d → iostat -x → PSI io |
|---|---|
| 误判点 | 宿主 steal、回收导致的读放大 |
步骤命令
步骤命令
mpstat 1 3 | tail -2
sudo iotop -obn 1 | tail -20
pidstat -d 1 3 | tail -20
iostat -dx 1 3
cat /proc/pressure/io按顺序排查:确认 iowait 与 steal 占比 → 找 IO 进程 → 看设备指标 → 评估内存回收干扰,避免直接归因存储。
| 工具链 | mpstat → iotop/pidstat -d → iostat -x → PSI io |
|---|---|
| 误判点 | 宿主 steal、回收导致的读放大 |
mpstat 1 3 | tail -2
sudo iotop -obn 1 | tail -20
pidstat -d 1 3 | tail -20
iostat -dx 1 3
cat /proc/pressure/io