Skip to contentSkip to conversation

should I trust 'free' or 'top'?

DISCUSSION Martin Knoblauch 1 participant 1 message Feb 4, 2002

lore
Share & tools
lore
#0 lore raw
Quoted 15 lines

Re: should I trust 'free' or 'top'?

Quoted 10 lines · Adam McKenna
adam@xpdb:~$ uptime
11:21am up 42 days, 18:53, 3 users, load average: 54.72, 21.21, 17.60
adam@xpdb:~$ free
total used free shared buffers cached
Mem: 5528464 5522744 5720 0 476 5349784
-/+ buffers/cache: 172484 5355980
Swap: 2939804 1302368 1637436
As you can see, there are supposedly 5.3 gigs of memory free (not counting
memory used for cache). However, the box is swapping like mad (about 10 megs
every 2 seconds according to vmstat) and the load is skyrocketing.
Quoted 2 lines

That 5.3GB is without kernel caches. I see 5.7MB...

And this is the problem. Caches should make the system behave better
and not get into its ways ...

It is time that one of the approches gets accepted for the current
"stable" mainline. I do not care much which it is for 2.4.x. Both rmap and -aa seem to fix most of the problems. Having one of them accepted should make it easier to fix-up the remaining pathological cases.

Martin

Signature · 5 lines
------------------------------------------------------------------
Martin Knoblauch         |    email:  [email protected]
TeraPort GmbH            |    Phone:  +49-89-510857-309
C+ITS                    |    Fax:    +49-89-510857-111
http://www.teraport.de   |    Mobile: +49-170-4904759