Skip to contentSkip to conversation

lvm lowers transfer rate

linux-lvm Innocent Azinyue Ndangoh 3 participants 3 messages Jul 24, 2002 – Jul 25, 2002

lore
Share & tools
lore
#0 lore raw

Hi there,

I have 4 fiber channel disks, on which I intend to build a logical volume using lvm. Before creating the logical volume, I run an I/O test on the disks, which revealed that the disks each would do 10MBytes/sec I/Os.

However, when I create a logical volume, spanning all 4 disks using RAID0, I realize that the transfer rate now drops. Instead (10 * 4)MB/s, I get something close to 30MB/s. Am I doing something wrong?!?

My procedure to create logical volume:
1. Do fdisk on drive
- do -o (DOS option).
PS : setting the type to linux lvm(8e) results in errors on creating the logical volu7me
- do pvcreate on the disk(s)
- do vgcreate on all physical volumes requested
- do lvcreate on created volume
- mkfs.ext2 on logical volume
- mount log. volume

thanks for your time

Innocent

_________________________________________________________________
Join the world�s largest e-mail service with MSN Hotmail. http://www.hotmail.com

#1 lore raw
Quoted 9 lines

I have 4 fiber channel disks, on which I intend to build a logical volume using lvm. Before creating the logical volume, I run an I/O test on the disks, which revealed that the disks each would do 10MBytes/sec I/Os.

However, when I create a logical volume, spanning all 4 disks using RAID0, I realize that the transfer rate now drops. Instead (10 * 4)MB/s, I get something close to 30MB/s. Am I doing something wrong?!?

10 MB/s ?

How are you measuring your data transfer rate?

Measured using "hdparm -t", a single Maxtor D740X IDE drive (80GB = GBP£72.00 or USD$113) will shift about 39 MB/s.

Bill

The contents of this e-mail and any attachments are confidential and may be legally privileged. If you have received this e-mail and you are not a named addressee, please inform us as soon as possible on +44 118 901 2999 and then delete the e-mail from your system. If you are not a named addressee you must not copy, use, disclose, distribute, print or rely on this e-mail. Any views expressed in this e-mail or any attachments may not necessarily reflect those of Tao's management. Although we routinely screen for viruses, addressees should scan this e-mail and any attachments for viruses. Tao makes no representation or warranty as to the absence of viruses in this e-mail or any attachments. Please note that for the protection of our business, we may monitor and read e-mails sent to and from our server(s).

Visit our website at http://tao-group.com/

#2 lore raw
In reply to Innocent Azinyue Ndangoh
Quoted 10 lines · Innocent Azinyue Ndangoh

Hi there,

I have 4 fiber channel disks, on which I intend to build a logical volume using lvm. Before creating the logical volume, I run an I/O test on the disks, which revealed that the disks each would do 10MBytes/sec I/Os.

However, when I create a logical volume, spanning all 4 disks using RAID0, I realize that the transfer rate now drops. Instead (10 * 4)MB/s, I get something close to 30MB/s. Am I doing something wrong?!?

I have found that striping Fibre-Channel only gives a performance boost up to 3 disks. I'm not sure whether that's a restriction of the FC interface I'm using (emulex) or the Linux driver but it's certainly consistent with what you're seeing.

patrick