Matthias Schniedermeyer wrote:
>
> ...
> I only have 3 GB of RAM, and creating and writing trashes the whole
> cache twice.
That's actually something completely dumb and irritating which
Linux has done for ever ;)
What we need is to detect the situation where someone is linearly
walking through a file which is preposterously too large to cache,
and just start dropping it.
It's not hard to implement the lower machinery to do that - it would
basically be an internal call to posix_fadvise(), which we don't
have but could and perhaps should...
The tricky part is designing the algorithm which decides when to
pull the trigger.
-
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/
This archive was generated by hypermail 2b29 : Tue Oct 15 2002 - 22:00:27 EST