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

From: Martin Knoblauch (Martin.Knoblauch@TeraPort.de)
Date: Mon Feb 04 2002 - 04:41:01 EST


> Re: should I trust 'free' or 'top'?
>
>
> On Fri, Feb 01, 2002 at 11:24:16AM -0800, Adam McKenna wrote:
> > 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.
>
> 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

-- 
------------------------------------------------------------------
Martin Knoblauch         |    email:  Martin.Knoblauch@TeraPort.de
TeraPort GmbH            |    Phone:  +49-89-510857-309
C+ITS                    |    Fax:    +49-89-510857-111
http://www.teraport.de   |    Mobile: +49-170-4904759
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Feb 07 2002 - 21:00:32 EST