free -m
total used free shared buffers cached
Mem: 3817 1385 2431 0 154 128
-/+ buffers/cache: 1102 2714
Swap: 64299 0 64299
内存cached缓存很小,导致cpu sy值经常在%90多,
不清楚突然cached使用的非常小,在之前cached缓存在2g多的时候,cpu使用率很低,不到%10,,有什么办法可以调整cached,把值调大点 现在主要的瓶颈磁盘读写使用比较多
top - 20:20:23 up 1 day, 20:55, 2 users, load average: 5.12, 3.13, 2.87
Tasks: 110 total, 9 running, 101 sleeping, 0 stopped, 0 zombie
Cpu0 : 1.3%us, 55.1%sy, 0.0%ni, 9.0%id, 34.6%wa, 0.0%hi, 0.0%si, 0.0%st
Cpu1 : 2.1%us, 55.8%sy, 0.0%ni, 0.0%id, 33.6%wa, 0.0%hi, 8.6%si, 0.0%st
|