RE: Speeding up swap

David Schwartz (davids@webmaster.com)
Sat, 23 Oct 1999 13:36:57 -0700


> In article <000001bf1d92$ea30f150$021d85d1@youwant.to> you wrote:
> > So, the question really is, exactly what do you _really_ want?
>
> You _really_ want the kernel to know that if some pages have to be free'd
> for other use, these are the first candidates. So you should
> cache and even
> do read-ahead, but it shouldn't "pollute" the page/buffer-cache more than
> needed.

This can cause major problems if the cache is churning. The page could be
discarded instants after it was read, before you had a chance to use it.
This is closer to what you really want, but still not quite right.

DS

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/