Ok, I've added seagate disks, manually created partitions (aligned to
1mb), added the new discs to the raid, remove the wd discs. The raid is
now over two seagate disks, and the performance is still crap.

# hdparm -i /dev/sda
 Model=ST2000DL003-9VT166, FwRev=CC32, SerialNo=6YD0RYED
 Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs RotSpdTol>.5% }
 RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=4
 BuffType=unknown, BuffSize=unknown, MaxMultSect=16, MultSect=16
 CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=3907029168

I've tryied to make the partition aligned to 1mb, maybe I made the
partitions wrong.. These are the partitions on /dev/sda:

# sfdisk -s -d /dev/sda
1953514584
# partition table of /dev/sda
unit: sectors

/dev/sda1 : start=     2048, size= 19531776, Id=fd
/dev/sda2 : start= 19533824, size=  9762816, Id=83
/dev/sda3 : start= 29296640, size=3877730304, Id=fd
/dev/sda4 : start=        0, size=        0, Id= 0

Please, tell me if the partitions aren't aligned. I think I done this
right, multiples of 2048 (1mb).

If the partitions are right, the problem aren't the disks, neither raid,
lvm nor the fs, since I've tested with dd over /dev/sda2 (plain
partition, no raid, no lvm, no filesystem):

# dd if=/dev/zero of=/dev/sda2 count=1000 oflag=dsync bs=16384
16384000 bytes (16 MB) copied, 12.5848 s, 1.3 MB/s

# dd if=/dev/zero of=/dev/sda2 count=1000 oflag=dsync bs=16384
16384000 bytes (16 MB) copied, 14.4387 s, 1.1 MB/s

With raid, lvm and ext4, the performance is:

# dd if=/dev/zero of=zeros count=1000 oflag=dsync bs=512
512000 bytes (512 kB) copied, 19.4532 s, 26.3 kB/s

# dd if=/dev/zero of=zeros count=1000 oflag=dsync bs=1024
1024000 bytes (1.0 MB) copied, 22.373 s, 45.8 kB/s

# dd if=/dev/zero of=zeros count=1000 oflag=dsync bs=2048
2048000 bytes (2.0 MB) copied, 28.7906 s, 71.1 kB/s

# dd if=/dev/zero of=zeros count=1000 oflag=dsync bs=4096
4096000 bytes (4.1 MB) copied, 68.0617 s, 60.2 kB/s

# dd if=/dev/zero of=zeros count=1000 oflag=dsync bs=8192
8192000 bytes (8.2 MB) copied, 61.7608 s, 133 kB/s

# dd if=/dev/zero of=zeros count=1000 oflag=dsync bs=16384
16384000 bytes (16 MB) copied, 67.1279 s, 244 kB/s

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/893450

Title:
  libvirt fails to start correctly because LVM is not ready

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/893450/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to