lkml.org 
[lkml]   [1999]   [May]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: PATCH: rewritten bdflush
Date
From
On Wed, 12 May 1999 14:32:28 -0400 (EDT), Steve Willer wrote:
>
>On Tue, 11 May 1999, Zack Weinberg wrote:
>
>> There should be no change in what bdflush actually does. I've been
>> running 2.2.7-as-patched for 13 hours and it works fine; there was a
>> six-hour compile job in that interval. I'm sure others can stress it
>> harder though, I'd be interested in results.
>
>I made a separate posting of this, but this one will have actual data in
>it.
>
>Your patch doesn't seem to scale up to heavy writes, like you might find
>in a transaction-oriented database. Running without update, the bdflush
>doesn't seem to be able to keep up with the I/O load (without making me
>very nervous about recoverability and the age of buffers). Ideally, the
>writes are done at a pace that's equal to a per-30-second sync, but spread
>over the full 30 seconds. In other words, the ideal is what update used to
>do. :-)

I think I know what is doing this, but I would like to be certain. The
max-writes-per-cycle choke didn't used to apply to the five-second
writebacks, now it does. I didn't think that would cause trouble, but
I appear to have been wrong. Can you please rerun your test after
doing

# echo "40 5000 64 256 5 3000 500 1884 2" >/proc/sys/vm/bdflush

This increases the maximum number of pages to write back per wakeup
from 500 to 5000.

zw

-
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:51    [from the cache]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and my Meterkast|Read the blog