Mailinglist Archive: opensuse (982 mails)

< Previous Next >
Re: [opensuse] disk cache
On Mon, Sep 22, 2014 at 12:10 PM, Bernhard Voelker
<mail@xxxxxxxxxxxxxxxxxxx> wrote:
On 09/22/2014 09:20 AM, Andrei Borzenkov wrote:

On Mon, Sep 22, 2014 at 11:07 AM, Bernhard Voelker
<mail@xxxxxxxxxxxxxxxxxxx> wrote:

On 09/22/2014 08:31 AM, Roger Oberholtzer wrote:

The cache seems to be
filling up


That is GOOD!


It depends. It is good when cache is filled up with data waiting to be
read. It is bad when it is filled up with data waiting to be written
out to slow device.


Well, in that case, you'll have to wait for the data to be sync'ed to
disk anyway. ;-)


Yes, but currently single application is able to fill in RAM with
unwritten data, so that the whole system (every other application) has
to wait while data is drained. And that blocks not only write-out, but
also reading of data. Resulting in very long delays and non-responsive
system.

So while every single application will never write faster, each
application could be more responsive with smaller amount of cached
data.

What Linux still lacks is rate-limiting of program writes to match
output device speed.
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups