Re: [2.1.130-3] Page cache DEFINATELY too persistant... feature?

Stephen C. Tweedie (sct@redhat.com)
Mon, 30 Nov 1998 11:18:16 GMT


Hi,

On Sat, 28 Nov 1998 14:44:06 +0100 (MET), R.E.Wolff@BitWizard.nl (Rogier
Wolff) said:

> I'm not sure that this is possible. We will need to "throttle at the
> source" eventually. I can write an application that writes a file at
> 50Mb per second (try "dd if=/dev/zero of=testfile"), and the disk is
> never going to keep up with that.

We do. The buffer cache grows with the low GFP_BUFFER priority, and
even then grows only if the cache is within a certain limit and we have
enough free space. Exhaust those limits and it starts recycling
existing buffers, which is a natural at-source throttle for buffer
writes.

--Stephen

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