Re: Swap

Eric W. Biederman (ebiederm@xmission.com)
19 Nov 2001 11:12:27 -0700


Erik Gustavsson <cyrano@algonet.se> writes:

> I agree... After a while it always seems that 80% or more of my RAM is
> used for cache and buffers while my open, but not currently used apps
> get pushed onto disk. Then when I decide to switch to that mozilla
> window of emacs session I have to wait for it to be loaded from disk
> again. Also considering the kind of disk activity this box has, the data
> in the cache is mostly the last few hour's MP3's, in other words utterly
> useless as that data will not be used again. I'd rather my apps stayed
> in RAM...

>
> Is there a way to limit the size of the cache?

Reasonable. It looks like the use once heuristics are failing for your
mp3 files. Find out why that is happening and they should push the
rest of your system into swap.

Eric
-
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/