All of lore.kernel.org
 help / color / mirror / Atom feed
From: Georgi Alexandrov <teh@amln.net>
To: Bill Davidsen <davidsen@tmr.com>
Cc: Paul Clements <paul.clements@steeleye.com>, linux-raid@vger.kernel.org
Subject: Re: write-behind performance ... or how behind can write-behind write
Date: Mon, 16 Feb 2009 12:39:31 +0200	[thread overview]
Message-ID: <49994263.4090204@amln.net> (raw)
In-Reply-To: <4996C965.9020205@tmr.com>

[-- Attachment #1: Type: text/plain, Size: 1473 bytes --]

Bill Davidsen wrote:
> 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.
<snip>

Well, at least write-mostly is suitable for reading from the SSD disk
only in a setup like mine. If writes get really problematic maybe it's
better to consider a SSD-only solution.

-- 
regards,
Georgi Alexandrov
key server - pgp.mit.edu :: key id - 0x37B4B3EE
Key fingerprint = E429 BF93 FA67 44E9 B7D4  F89E F990 01C1 37B4 B3EE



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

      reply	other threads:[~2009-02-16 10:39 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
2009-02-16 10:39     ` Georgi Alexandrov [this message]

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=49994263.4090204@amln.net \
    --to=teh@amln.net \
    --cc=davidsen@tmr.com \
    --cc=linux-raid@vger.kernel.org \
    --cc=paul.clements@steeleye.com \
    /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.