public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* "Cached" grows and grows and grows...
@ 2001-09-07 16:08 Bob McElrath
  2001-09-07 17:13 ` Stephan von Krawczynski
  0 siblings, 1 reply; 10+ messages in thread
From: Bob McElrath @ 2001-09-07 16:08 UTC (permalink / raw)
  To: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 1128 bytes --]

This is probably closely related to the vm work going on...and you're
probably aware of it, but...

The "Cached" field in /proc/meminfo grows and grows and grows.  (kernel
2.4.7, 2.4.9, 2.4.10pre4aa1)  The kernel seems to be favoring buffer
cache for the filesystem over programs.  I recently purchased 256MB more
memory for my machine, only to find that Linux is using 200-300MB to
cache the filesystem.  Over time it swaps out everything to disk, and
"Cached" grows as large as 415MB on a 512MB machine.  Every time I come
back to my machine after not using the console for a while, it has to
swap everything back into memory in order to be usable.  (Note this
machine is basically unloaded except for setiathome while I'm away)

Let me place my vote that the vm subsystem should place pages with
program code, and their data at a higher priority to be in-memory than
filesystem cache buffers.  (Is the problem that the filesystem cache
buffers never expire, and stay in memory forever?)

Cheers,
-- Bob

Bob McElrath (rsmcelrath@students.wisc.edu) 
Univ. of Wisconsin at Madison, Department of Physics

[-- Attachment #2: Type: application/pgp-signature, Size: 240 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread
* RE: "Cached" grows and grows and grows...
@ 2001-09-26  1:55 M. Edward Borasky
  0 siblings, 0 replies; 10+ messages in thread
From: M. Edward Borasky @ 2001-09-26  1:55 UTC (permalink / raw)
  To: Linux-Kernel@Vger. Kernel. Org

Has this issue been resolved? If so, which of the many kernels has a
confirmed fix?

--
M. Edward (Ed) Borasky, Chief Scientist, Borasky Research
http://www.borasky-research.net  http://www.aracnet.com/~znmeb
mailto:znmeb@borasky-research.net mailto:znmeb@aracnet.com

If there's nothing to astrology, how come so many famous men were born on
holidays?

> -----Original Message-----
> > From: linux-kernel-owner@vger.kernel.org
> > [mailto:linux-kernel-owner@vger.kernel.org]On Behalf Of Alan Cox
> > Sent: Friday, September 07, 2001 3:16 PM
> > To: Stephan von Krawczynski
> > Cc: Bob McElrath; linux-kernel@vger.kernel.org
> > Subject: Re: "Cached" grows and grows and grows...
> >
> >
> > > To tell you the honest truth: you are not alone in cosmos (with
> > this problem)
> > > ;-)
> > > To give you that explicit hint for saving money: do not buy
> > mem, it will be
> > > eaten up by recent kernels without any performance gain or
> > other positive
> > > impact whatsoever.
> >
> > Pick up a 2.4.9-ac kernel, and you shouldnt be seeing the problem (I say
> > shouldnt, I'm not 100% convinced its all under control)
> >
> > > Try using 2.4.4, if it doesn't succeed, forget 2.4 and use
> > 2.2.19. That works.
> > > Unfortunately you may have to completely reinstall your system
> > when going back
> > > to 2.2.
> >
> > That should not be needed at all.


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

end of thread, other threads:[~2001-09-26  1:55 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-09-07 16:08 "Cached" grows and grows and grows Bob McElrath
2001-09-07 17:13 ` Stephan von Krawczynski
2001-09-07 22:15   ` Alan Cox
2001-09-07 22:24     ` Bob McElrath
2001-09-08  0:53     ` VM improvement in -ac [was: "Cached" grows and grows and grows...] Mike Fedyk
2001-09-08 16:47     ` "Cached" grows and grows and grows Stephan von Krawczynski
2001-09-08 17:14       ` Alan Cox
2001-09-09 13:15         ` Stephan von Krawczynski
2001-09-09 13:34           ` Alan Cox
  -- strict thread matches above, loose matches on Subject: below --
2001-09-26  1:55 M. Edward Borasky

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