Re: how to turn off, or to clear read cache?

From: Ihar 'Philips' Filipau
Date: Thu Aug 21 2003 - 12:13:51 EST


Sergey Spiridonov wrote:
Denis Vlasenko wrote:

umount/mount cycle will do it, as well as intentional OOMing the box
(from non-root account please;)


OOMing doesn't help also, since kernel starts to swap and I have performance degradation after. Swithching off the swap is dangerous in conjunction with OOMing.


indirectly, patch mentioned in this mail can help:

http://marc.theaimsgroup.com/?l=linux-kernel&m=106142721228497&w=2

it provides a way to limit read cache - so it is easier to flush it.

P.S. will love to see something like this in 2.6. And for 2.4 too.

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