linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Bill Davidsen <davidsen@tmr.com>
To: Peter Rabbitson <rabbit+list@rabbit.us>
Cc: thomas62186218@aol.com, soltys@ziu.info, mauermann@gmail.com,
	keld@dkuug.dk, linux-raid@vger.kernel.org
Subject: Re: LVM on raid10,f2 performance issues
Date: Mon, 26 Jan 2009 14:06:03 -0500	[thread overview]
Message-ID: <497E099B.5060805@tmr.com> (raw)
In-Reply-To: <49742B94.8090407@rabbit.us>

Peter Rabbitson wrote:
> thomas62186218@aol.com wrote:
>   
>> Hi everyone,
>>
>> I too was seeing miserable read-performance with LVM2 volumes on top of
>> md RAID 10's on my Ubuntu 8.04 64-bit machine. My RAID 10 has 12 x 300GB
>> 15K SAS drives on a 4-port LSI PCIe SAS controller.
>>
>> I use:
>> blockdev --setra 65536 /dev/md0
>>
>> And this dramatically increased my RAID 10 read performance.
>>
>> You MUST do the same for your LVM2 volumes for them to see a comparable
>> performance boost.
>>
>> blockdev --setra 65536 /dev/mapper/raid10-testvol
>>
>>     
>
> This is incorrect. Only the readahead setting of the _last_ block device
> matters. So in case you have a raid6 of 10 drives, with LUKS on top,
> with LVM on top - only the readahead settings of the individual LVs
> matter, nothing further down the chain is consulted.

I have some old numbers which indicate that with ext3 the use of 
"stride=" can improve performance, although I was measuring write and 
just got the read numbers without really caring about them.

-- 
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-01-26 19:06 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-01  0:00 LVM on raid10,f2 performance issues Holger Mauermann
2008-12-01 16:42 ` Keld Jørn Simonsen
2008-12-02 23:28   ` Holger Mauermann
2008-12-03  7:15     ` Keld Jørn Simonsen
2008-12-03  9:43     ` Michal Soltys
2009-01-19  1:24       ` thomas62186218
2009-01-19  7:28         ` Peter Rabbitson
2009-01-26 19:06           ` Bill Davidsen [this message]
2009-01-19  7:30         ` Michal Soltys
2009-01-19 12:17         ` Keld Jørn Simonsen
2009-01-19 12:24           ` Peter Rabbitson
2009-01-19 13:59             ` Keld Jørn Simonsen

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=497E099B.5060805@tmr.com \
    --to=davidsen@tmr.com \
    --cc=keld@dkuug.dk \
    --cc=linux-raid@vger.kernel.org \
    --cc=mauermann@gmail.com \
    --cc=rabbit+list@rabbit.us \
    --cc=soltys@ziu.info \
    --cc=thomas62186218@aol.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 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).