Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
linux_wiki:high_system_load [2016/03/14 11:26] billdozor [Disk I/O] |
linux_wiki:high_system_load [2019/05/25 23:50] (current) |
||
---|---|---|---|
Line 6: | Line 6: | ||
**Checklist** | **Checklist** | ||
- | * Distro: Enterprise Linux 6.x | + | * Distro(s): Enterprise Linux 6 |
---- | ---- | ||
+ | |||
====== Understanding System Load ====== | ====== Understanding System Load ====== | ||
Line 33: | Line 34: | ||
* 2 CPU/Cores = 100% is load 2.00 | * 2 CPU/Cores = 100% is load 2.00 | ||
* 4 CPU/Cores = 100% is load 4.00 | * 4 CPU/Cores = 100% is load 4.00 | ||
- | * Example: From the analogy above, each CPU Core can handle | + | * Example: From the analogy above, each CPU Core can actively process |
===== Calculate Overall CPU Load ===== | ===== Calculate Overall CPU Load ===== | ||
- | * Get number of CPUs | + | * Get number of CPUs< |
- | * <code bash> | + | OR |
+ | nproc</ | ||
* Load Average / NumProccessors = decimal % load | * Load Average / NumProccessors = decimal % load | ||
* Example: LoadAvg(1.5) / 2 Processors = 0.75 or 75% system load on a dual core system. | * Example: LoadAvg(1.5) / 2 Processors = 0.75 or 75% system load on a dual core system. | ||
Line 92: | Line 94: | ||
---- | ---- | ||
- | ==== High CPU ==== | + | ===== High CPU ===== |
Clues that you should investigate high CPU usage: | Clues that you should investigate high CPU usage: | ||
Line 109: | Line 111: | ||
---- | ---- | ||
- | ==== High Memory Use ==== | + | ===== High Memory Use ===== |
Notes on Linux memory management | Notes on Linux memory management | ||
Line 136: | Line 138: | ||
---- | ---- | ||
- | ==== Disk I/O ==== | + | ===== Disk I/O ===== |
* I/O wait (wa) is the percentage of time a CPU is waiting on disk. | * I/O wait (wa) is the percentage of time a CPU is waiting on disk. |