public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Slab allocator . . . cache?  WTF is it?
@ 2003-12-30 22:18 john moser
  2003-12-30 23:01 ` Fox!MURDER
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: john moser @ 2003-12-30 22:18 UTC (permalink / raw)
  To: linux-kernel

Mem:    775616k total,   747740k used,    27876k free,    96584k buffers
Swap:   250480k total,    71340k used,   179140k free,   298852k cached


This is somewhat distressing.  Last time this happened, I started opening every
program I had (including every OpenOffice.org product and every browser I had
installed), and the "cached" value dropped quickly.

I'm wondering, what IS cache?  It seems to increase even when swap is not used,
and sometimes when there's no swap partition enabled.  It also seems to cause
me to run into swap when I have ample ram available, assuming that cache is just
some sort of cache that is copied from and mirrors another portion of ram for
some sort of speed increase.  It's wasteful to me, and I want to more understand
its implimentation and its purpose, and in all honesty limit its impact if possible.
I got this RAM upgrade because I was using about 676M of RAM total, including swap,
at peak; and now I find myself using 820M RAM at peak and about 750-800 continually.

As always, i'm not on the list, so I'd prefer to be CC'd replies.

_____________________________________________________________
Linux.Net -->Open Source to everyone
Powered by Linare Corporation
http://www.linare.com/

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2003-12-31  3:27 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-12-30 22:18 Slab allocator . . . cache? WTF is it? john moser
2003-12-30 23:01 ` Fox!MURDER
2003-12-30 23:04 ` Doug McNaught
2003-12-30 23:20 ` David Schwartz
2003-12-30 23:50 ` Mike Fedyk
2003-12-31  3:27   ` Mike Fedyk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox