lkml.org 
[lkml]   [1998]   [Nov]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [2.1.130-3] Page cache DEFINATELY too persistant... feature?
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/

\
 
 \ /
  Last update: 2005-03-22 13:45    [W:0.119 / U:0.888 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site