All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bill Davidsen <davidsen@tmr.com>
To: Paul Clements <paul.clements@steeleye.com>
Cc: Georgi Alexandrov <teh@amln.net>, linux-raid@vger.kernel.org
Subject: Re: write-behind performance ... or how behind can write-behind write
Date: Sat, 14 Feb 2009 08:38:45 -0500	[thread overview]
Message-ID: <4996C965.9020205@tmr.com> (raw)
In-Reply-To: <4995BF95.1010908@steeleye.com>

Paul Clements wrote:
> Georgi Alexandrov wrote:
>
>> Generally with the healthy array I'm getting the write performance of
>> the SATA disk alone (in terms of requests/sec issued to the disk and
>> bytes/sec written). The SATA disk is obviously a bottleneck even with
>> the write-behind option set(2).
>
> write-behind can help with two things:
>
> 1) overcoming latency (say one disk is on the network -- it may be the 
> same speed as the source disk, but it takes longer round-trip for each 
> I/O to complete)
>
> 2) temporary slowness of a device (say at a peak in I/O) -- the queue 
> can temporarily hide the slowness of the secondary disk, but this 
> won't last very long -- if writes continue at a pace faster than the 
> disk can handle (i.e., the queue gets filled) then the array drops 
> back to non-write-behind behavior
>
At least with write-mostly all of the capacity is going into saving 
data, not serving data. But as you note below if the writes are 
happening at a rate faster than the device can support it will be a 
bottleneck.

>> So the questions is How behind can write-behind write? And can we get a
>> better performance in a similar setup.
>
> By default, it queues up 256 writes. This can be increased, but I've 
> actually seen worse performance in some cases -- not sure why. I 
> haven't had the time to dig into it and figure it out.
>
> -- 
> Paul
> -- 
> To unsubscribe from this list: send the line "unsubscribe linux-raid" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>


-- 
Bill Davidsen <davidsen@tmr.com>
  "Woe unto the statesman who makes war without a reason that will still
  be valid when the war is over..." Otto von Bismark 



  reply	other threads:[~2009-02-14 13:38 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-13 16:36 write-behind performance ... or how behind can write-behind write Georgi Alexandrov
2009-02-13 18:44 ` Paul Clements
2009-02-14 13:38   ` Bill Davidsen [this message]
2009-02-16 10:39     ` Georgi Alexandrov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4996C965.9020205@tmr.com \
    --to=davidsen@tmr.com \
    --cc=linux-raid@vger.kernel.org \
    --cc=paul.clements@steeleye.com \
    --cc=teh@amln.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.