Re: [RFC] first try for swap prefetch

John Bradford (john@grabjohn.com)
Fri, 11 Apr 2003 13:21:44 +0100 (BST)


> > > as mentioned a few days ago I was going to try to implement a swap
> > > prefetch to better utilize the free memory. Now here is my first try.
> >
> > That's surprisingly cute. Does it actually do anything noticeable?
>
> Well, it fills free pagecache memory with swapped pages... ;-)

Actually, it could potentially do something very useful - if you are
using a laptop, or other machine where disks are spun down to save
power, you might be swapping in data while the disk still happens to
be spinning, rather than letting it spin down, then having to spin it
up again - in that instance you are definitely gaining something,
(more battery life).

John.
-
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/