lkml.org 
[lkml]   [2002]   [Mar]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] 2.4.x write barriers (updated for ext3)


On Monday, March 04, 2002 08:57:57 AM -0600 James Bottomley <James.Bottomley@steeleye.com> wrote:


>> 2) ordered tags force ordering of all writes the drive is processing.
>> For some workloads, it will be forced to order stuff the journal code
>> doesn't care about at all, perhaps leading to lower performance than
>> the simple wait_on_buffer() we're using now.
>
>> 2a) Are the filesystems asking for something impossible? Can drives
>> really write block N and N+1, making sure to commit N to media before
>> N+1 (including an abort on N+1 if N fails), but still keeping up a
>> nice seek free stream of writes?
>
> These are the "big" issues. There's not much point doing all the work to
> implement ordered tags, if the end result is going to be no gain in
> performance.

Right, 2a seems to be the show stopper to me. The good news is
the existing patches are enough to benchmark the thing and see if
any devices actually benefit. If we find enough that do, then it
might be worth the extra driver coding required to make the code
correct.

>
>> 4) If some scsi drives come with writeback on by default, do they also
>> turn it on under high load like IDE drives do?
>
> Finally, an easy one...the answer's "no". The cache control bits are the only
> way to alter caching behaviour (nothing stops a WCE=1 operating as write
> through if the drive wants to, but a WCE=0 cannot operate write back).

good to hear, thanks.

-chris

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

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