From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.62) (envelope-from ) id 1HZVpw-0006kL-8D for garchives@archives.gentoo.org; Thu, 05 Apr 2007 17:33:28 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.0/8.14.0) with SMTP id l35HWDRG026097; Thu, 5 Apr 2007 17:32:13 GMT Received: from mail.ilievnet.com ([84.21.204.200]) by robin.gentoo.org (8.14.0/8.14.0) with ESMTP id l35HQRpU019126 for ; Thu, 5 Apr 2007 17:26:27 GMT Received: from localhost (localhost [127.0.0.1]) by mail.ilievnet.com (Postfix) with ESMTP id 11AA28CC39 for ; Thu, 5 Apr 2007 20:26:27 +0300 (EEST) X-Virus-Scanned: amavisd-new 2.4.1 (20060508) at ilievnet.com Received: from mail.ilievnet.com ([127.0.0.1]) by localhost (mail.ilievnet.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NkQZrVHiRNBm for ; Thu, 5 Apr 2007 20:26:11 +0300 (EEST) Received: from ilievnet.com (lists.ilievnet.com [10.0.1.11]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: danny@ilievnet.com) by mail.ilievnet.com (Postfix) with ESMTP id 83B4E8CC37 for ; Thu, 5 Apr 2007 20:26:09 +0300 (EEST) Message-ID: <46153130.90009@ilievnet.com> Date: Thu, 05 Apr 2007 20:26:08 +0300 From: Daniel Iliev User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-GB; rv:1.8.1.2) Gecko/20070302 SeaMonkey/1.1.1 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] RAID-0 with LVM - is there any point? References: <20070401211824.70fb75f9@krikkit.digimed.co.uk> <4611CB98.6060800@ilievnet.com> <20070403084738.7015c9ea@krikkit.digimed.co.uk> <46150A0A.4090305@ilievnet.com> <20070405163753.147fcd5c@hactar.digimed.co.uk> <4615287B.5080900@ilievnet.com> In-Reply-To: <4615287B.5080900@ilievnet.com> Content-Type: multipart/mixed; boundary="------------080200000108070304080407" X-Archives-Salt: f53f1818-e1e0-4630-917c-2bcbf7300c98 X-Archives-Hash: a5606c5ffa2a8e827a24d4395964fb9c This is a multi-part message in MIME format. --------------080200000108070304080407 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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 --------------080200000108070304080407 Content-Type: text/plain; name="test.txt" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="test.txt" 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] --------------080200000108070304080407-- -- gentoo-user@gentoo.org mailing list