Does it make sense to have the kernel use a swap partition?

Jim Colton jimcolt at
Thu Jul 24 21:42:28 CEST 2008

top(1) shows data from the same source as free(1) does.

/proc/vmstat is the source.

On Thu, Jul 24, 2008 at 12:14 PM, Nils R Grotnes <nils.grotnes at>

> Hi Tim.
> > You're not subtracting buffered and cached data.  Linux aggressively
> >  buffers written data and caches read data for potential future use.
> >  This data is easily evicted from ram (usually without requiring
> >  anything to be written to more permanent storage), thus not negatively
> >  affecting performance.
> >
> >  For various reasons, Linux's accounting of how much ram is in use
> >  isn't quite accurate, but you'll get a much closer number by running
> >  'free' in the terminal and looking at the "-/+ buffers/cache" line.
> Htop is quite good at showing all three uses of memory, well worth a look.
> Don't know how accurate it is though. Any thoughts on that?
> Nils
> _______________________________________________
> support mailing list
> support at
-------------- next part --------------
An HTML attachment was scrubbed...

More information about the support mailing list