Skip to contentSkip to conversation

Swap: an update on how my box is running now..

DISCUSSION christian e 1 participant 1 message Jan 15, 2002

lore
Share & tools
lore
#0 lore raw

Hi,all

Yesterday I downloaded 2.4.18pre2 patch and the 2.4.18pre2-aa2 patch.

Then did the echo 500 > /proc/sys/vm/vm_mapped_ratio

as François recommended..

So far looking good..Not nearly as swap happy now..Here's top output:

foo@bar:~$ top -bn 1|head -n 15

13:40:21 up 3:19, 5 users, load average: 0.57, 0.65, 0.70
113 processes: 108 sleeping, 5 running, 0 zombie, 0 stopped

CPU states:  11.6% user,  15.7% system,   0.0% nice,  72.6% idle
Mem:    514148K total,   508664K used,     5484K free,     9140K buffers
Swap:   248968K total,     8424K used,   240544K free,   281180K cached
  PID USER     PRI  NI  SIZE  RSS SHARE STAT %CPU %MEM   TIME COMMAND
 2056 ce        17   0  1020 1016   772 R    13.5  0.1   0:00 top
 1596 ce         1   0  210M 210M  210M R    12.7 41.9  27:23 vmware
 1599 ce        20 -19 99972  97M 99380 S <   0.8 19.3   0:12 vmware
    1 root      20   0   524  524   460 S     0.0  0.1   0:04 init
    2 root      20   0     0    0     0 SW    0.0  0.0   0:00 keventd
    3 root      20   0     0    0     0 SW    0.0  0.0   0:00 kapm-idled

Still I'm wondering why 'cached' is soo big.Can I tune it so that it wont swap until cache+buffers are close to 0 ??? But anyway..I can finally use my Windows in Vmware..Great..

best regards

Christian