linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Kai Krakow <hurikhan77@gmail.com>
To: linux-btrfs@vger.kernel.org
Subject: Re: btrfs RAID-1 vs md RAID-1?
Date: Mon, 16 May 2016 01:29:59 +0200	[thread overview]
Message-ID: <20160516012959.2768c42c@jupiter.sol.kaishome.de> (raw)
In-Reply-To: 83719f27dd5cdc406fd3fd24e7b82a9f@admin.virtall.com

Am Sun, 15 May 2016 19:24:47 +0900
schrieb Tomasz Chmielewski <mangoo@wpkg.org>:

> I'm trying to read two large files in parallel from a 2-disk RAID-1 
> btrfs setup (using kernel 4.5.3).
> 
> According to iostat, one of the disks is 100% saturated, while the
> other disk is around 0% busy.
> 
> Is it expected?
> 
> With two readers from the same disk, each file is being read with ~50 
> MB/s from disk (with just one reader from disk, the speed goes up to 
> around ~150 MB/s).
> 
> 
> In md RAID, with many readers, it will try to distribute the reads - 
> after md manual on http://linux.die.net/man/4/md:
> 
>      Raid1
>      (...)
>      Data is read from any one device. The driver attempts to
> distribute read requests across all devices
>      to maximise performance.
> 
>      Raid5
>      (...)
>      This also allows more parallelism when reading, as read requests
> are distributed over all the devices
>      in the array instead of all but one.
> 
> 
> Are there any plans to improve this is btrfs?
> 
> 
> Tomasz Chmielewski
> http://wpkg.org

Here is an idea that could need improvement:
http://permalink.gmane.org/gmane.comp.file-systems.btrfs/17985


-- 
Regards,
Kai

Replies to list-only preferred.


      parent reply	other threads:[~2016-05-15 23:30 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-15 10:24 btrfs RAID-1 vs md RAID-1? Tomasz Chmielewski
2016-05-15 12:07 ` Anand Jain
2016-05-15 20:40 ` Duncan
2016-05-15 23:29 ` Kai Krakow [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=20160516012959.2768c42c@jupiter.sol.kaishome.de \
    --to=hurikhan77@gmail.com \
    --cc=linux-btrfs@vger.kernel.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).