|
按照以往经验,linux开机后,用free看内存情况,free的应该很少。而大部分的内存都用来做cache了。
但是今天发现一台比较奇怪的,free很多,cached很少。
目前编译性能很差,不知道是否与其相关。
大家有遇到类似情况么?如何解决的呢?
谢谢。
HW:dell op745(cpu inter e2140)
OS:rhel4.4
- [root@xxx~]# free
- total used free shared buffers cached
- Mem: 2064828 335288 1729540 0 26900 177460
- -/+ buffers/cache: 130928 1933900
- Swap: 2040244 0 2040244
- [root@xxx~]# vmstat 1 10
- procs -----------memory---------- ---swap-- -----io---- --system-- ----cpu----
- r b swpd free buff cache si so bi bo in cs us sy id wa
- 0 0 0 1729388 26900 177460 0 0 143 20 633 231 2 1 96 1
- 0 0 0 1729252 26908 177452 0 0 0 216 1424 882 1 2 97 0
- 0 0 0 1729172 26908 177452 0 0 0 0 1019 368 1 0 99 0
- 0 0 0 1729212 26916 177444 0 0 0 180 1072 320 2 5 94 0
- 0 0 0 1729212 26916 177444 0 0 0 0 1015 233 0 0 99 0
- 1 0 0 1728812 26916 177444 0 0 0 0 1606 1054 2 6 93 0
- 0 0 0 1729092 26916 177444 0 0 0 172 1054 1408 6 22 72 0
- 0 0 0 1729156 26916 177444 0 0 0 0 1035 281 0 0 99 0
- 0 0 0 1728892 26924 177436 0 0 0 212 1023 235 0 0 99 0
- 0 0 0 1728892 26924 177436 0 0 0 0 1033 288 1 0 100 0[root@xxx~]#
复制代码 |
|