how to turn off, or to clear read cache?
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 8 lines · Sergey Spiridonov
Quoted 2 lines · Denis Vlasenko
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.