Re: Linux swapping question

Pavel Machek (pavel@atrey.karlin.mff.cuni.cz)
Mon, 6 Oct 1997 12:05:21 +0200


> Is Linux smart enough to swap out portions of idle, allocated VM, to
> make available more memory for caching and other programs -- before
> memory gets low enough to force such swapping?

I thought about it. And no, it is not done (currently). It would do
bad things with sleeping drives etc., but if swap drive is up and
spinning, it may be worth it to swap out old tasks (and throw their
pages out) to get space for caches...

Pavel

-- 
--
This is my little buggy signature...				Pavel
GCM d? s-: !g p?:+ au- a--@ w+ v- C++@ UL+++ L++ N++ E++ W--- M- Y- R+