From: Spelic <spelic@shiftmail.org>
To: linux-lvm@redhat.com
Subject: Re: [linux-lvm] pvmove painfully slow on parity RAID
Date: Wed, 29 Dec 2010 15:02:18 +0100 [thread overview]
Message-ID: <4D1B3F6A.4070309@shiftmail.org> (raw)
In-Reply-To: <4D1A9FAF.6050401@shiftmail.org>
On 12/29/2010 03:40 AM, Spelic wrote:
> Hello list
>
> pvmove is painfully slow if the destination is on a 6-disks MD raid-5,
> it performs at 200-500Kbytes/sec! (kernel 2.6.36.2)
> Same for lvconvert add mirror.
>
> Instead, if the destination is on a 4 devices MD raid10near, it
> performs at 60MBytes/sec which is much more reasonable. (this is a
> 120-fold difference at least!)
> Same for lvconvert add mirror.
>
Sorry, yesterday I made a few mistakes computing the speeds.
Here are the times for moving a 200MB logical volume towards various
types of MD arrays (either pvmove or lvconvert add mirror: doesn't
change much)
It's the destination array that matters, not the source array.
raid5, 8 devices, 1024k chunk: 36 seconds (5.5MB/sec)
raid5, 6 device, 4096k chunk: 2m18sec ?!?! (1.44 MB/sec!?)
raid5, 5 devices, 1024k chunk: 25sec (8MB/sec)
raid5, 4 devices, 16384k chunk: 41sec (4.9MB/sec)
raid10, 4 devices, 1024k chunk, near-copies: 5 sec! (40MB/sec)
raid1, 2 devices: 3.4sec! (59MB/sec)
raid1, 2 devices (another, identical to the above): 3.4sec! (59MB/sec)
I tried multiple times for every device with consistent results, so I'm
pretty sure these are actual numbers.
What's happening?
Apart from the amazing difference of parity raid vs nonparity raid, with
parity raid it seems to vary randomly with the number of devices and the
chunksize..?
I tried various --regionsize settings for lvconvert add mirror but the
times didn't change much.
I even tried to set my SATA controller to ignore-FUA mode (it fakes the
FUA, returns immediately) => no change.
Thanks for any info
next prev parent reply other threads:[~2010-12-29 14:03 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-29 2:40 [linux-lvm] pvmove painfully slow on parity RAID Spelic
2010-12-29 14:02 ` Spelic [this message]
2010-12-30 2:42 ` Stuart D. Gathman
2010-12-30 3:13 ` Spelic
2010-12-30 19:12 ` Stuart D. Gathman
2010-12-31 3:41 ` Spelic
2010-12-31 15:36 ` Stuart D. Gathman
2010-12-31 17:23 ` Stuart D. Gathman
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=4D1B3F6A.4070309@shiftmail.org \
--to=spelic@shiftmail.org \
--cc=linux-lvm@redhat.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).