linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: David Greaves <david@dgreaves.com>
To: Shane <shane@cm.nu>
Cc: linux-raid@vger.kernel.org
Subject: Re: raid5/lvm setup questions
Date: Mon, 07 Aug 2006 23:28:46 +0100	[thread overview]
Message-ID: <44D7BE9E.6020807@dgreaves.com> (raw)
In-Reply-To: <20060807200455.GA29837@cm.nu>

Shane wrote:
> On Mon, Aug 07, 2006 at 08:57:13PM +0100, Nix wrote:
>> On 5 Aug 2006, David Greaves prattled cheerily:
>>> As an example of the cons: I've just set up lvm2 over my raid5 and whilst
>>> testing snapshots, the first thing that happened was a kernel BUG and an oops...
>> I've been backing up using writable snapshots on LVM2 over RAID-5 for
>> some time. No BUGs.
> 
> Just performed some basic throughput tests using 4 SATA
> disks in a raid5 array.  The read performance on the
> /dev/mdx device runs around 180mbps but if lvm is layered
> over that, reads on the lv are around 130mbps.  Not an
> unsubstantial reduction.
Check the readahead at various block levels
blockdev --setra xxx

I think I found the best throughput (for me) was with 0 readahead for /dev/hdX,
0 for /dev/mdX and lots for /dev/vg/lv

> 
> I seem to recall patches to md floating around a couple
> years back for partitioning of md devices.  Are those still
> available somewhere?
man mdadm and see --auto...

David


-- 

  parent reply	other threads:[~2006-08-07 22:28 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20060805165358.GA29177@cm.nu>
2006-08-05 17:31 ` raid5/lvm setup questions David Greaves
     [not found]   ` <20060805175908.GA31024@cm.nu>
2006-08-05 21:02     ` Martin Schröder
2006-08-07 23:29     ` Neil Brown
2006-08-07 19:57   ` Nix
     [not found]     ` <20060807200455.GA29837@cm.nu>
2006-08-07 20:20       ` Chet McNeill
2006-08-07 22:28       ` David Greaves [this message]
2006-08-07 22:32     ` David Greaves

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=44D7BE9E.6020807@dgreaves.com \
    --to=david@dgreaves.com \
    --cc=linux-raid@vger.kernel.org \
    --cc=shane@cm.nu \
    /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).