From: Daniel Iliev <danny@ilievnet.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] RAID-0 with LVM - is there any point?
Date: Thu, 05 Apr 2007 20:26:08 +0300 [thread overview]
Message-ID: <46153130.90009@ilievnet.com> (raw)
In-Reply-To: <4615287B.5080900@ilievnet.com>
[-- Attachment #1: Type: text/plain, Size: 890 bytes --]
Daniel Iliev wrote:
> Neil Bothwick wrote:
>
>> On Thu, 05 Apr 2007 17:39:06 +0300, Daniel Iliev wrote:
>>
>>
>>
>>> Out of curiosity I made some tests which confirmed my expectations. What
>>> about you - did you have time (and wish) to take some performance
>>> benchmarks? I would be glad to see some additional results.
>>>
>>>
>> So your tests show that RAID-0 is faster than LVM, but I'll be using LVM
>> anyway so the comparison will have to be between LVM+RAID and LVM alone.
>> I haven't had a chance to do this yet, hopefully over the holiday weekend.
>>
>>
>>
>>
>
> OK
> I still have that free space and I'll post the results of the same test
> against RAID0+LVM.
>
>
Here we go. I think the results can't be interpreted unambiguously.
Perhaps I'll use a benchmarking program in the weekend to get clearer
results.
--
Best regards,
Daniel
[-- Attachment #2: test.txt --]
[-- Type: text/plain, Size: 1056 bytes --]
echo y | mdadm -C /dev/md9 -n2 /dev/sda11 /dev/sdb11 -l0
pvcreate /dev/md9
vgcreate test /dev/md9
vgdisplay | grep 'Total PE'
Total PE 1686
lvcreate -i2 -l1686 -nlogvol test
Using default stripesize 64,00 KB
Number of stripes (2) must not exceed number of physical volumes (1)
//ooops! :) //
lvcreate -l1686 -nlogvol test
Logical volume "logvol" created
mkfs.xfs /dev/test/logvol
mount /dev/test/logvol /test
time cp /test.rnd /test
real 0m54.547s
user 0m0.046s
sys 0m7.118s
sync
time mv /test.rnd /test
real 0m46.863s
user 0m0.067s
sys 0m7.045s
sync
time mv /test/test.rnd /
real 1m27.282s
user 0m0.063s
sys 0m13.456s
BOTTOM LINE:
(LVM and RAID-0 are taken rom the prev. tests. The new one here is only RAID-0+LVM)
cp /test.rnd /test
LVM: 20.78 [MB/s]
RAID-0: 33.41 [MB/s]
RAID+LVM: 27.49 [MB/s]
mv /test.rnd /test
LVM: 29.04[MB/s]
RAID-0: 31.56[MB/s]
RAID+LVM: 32.00 [MB/s]
time mv /test/test.rnd /
LVM: 17.089 [MB/s]
RAID-0: 27.84[MB/s]
RAID+LVM: 17.185 [MB/s]
next prev parent reply other threads:[~2007-04-05 17:33 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-01 20:18 [gentoo-user] RAID-0 with LVM - is there any point? Neil Bothwick
2007-04-03 3:35 ` Daniel Iliev
2007-04-03 7:47 ` Neil Bothwick
2007-04-05 14:39 ` Daniel Iliev
2007-04-05 15:37 ` Neil Bothwick
2007-04-05 16:48 ` Daniel Iliev
2007-04-05 17:26 ` Daniel Iliev [this message]
2007-04-08 19:06 ` Neil Bothwick
2007-04-16 19:04 ` Bryan Whitehead
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=46153130.90009@ilievnet.com \
--to=danny@ilievnet.com \
--cc=gentoo-user@lists.gentoo.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