public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Device mapper/LVM throughput problem
@ 2006-10-20 16:41 Christian
  0 siblings, 0 replies; only message in thread
From: Christian @ 2006-10-20 16:41 UTC (permalink / raw)
  To: linux-kernel

Hello lkml!

I've just tested the disk throughput on my machine using hdparm and found some 
puzzling results. I have  a two disk nvidia fakeraid 0 configuration using 
dmraid and lvm.

When testing the single disks, I get good results just like when testing the 
dmraid mapping. When I test the throughput on a raid partition or the LVM 
Volumes I get very bad performance. Has anybody seen something like this 
before?


single disks: (good results)

user@ubuntu:~$ sudo hdparm -Tt /dev/sd[ab]

/dev/sda:
 Timing cached reads:   3384 MB in  2.00 seconds = 1693.17 MB/sec
 Timing buffered disk reads:  210 MB in  3.02 seconds =  69.56 MB/sec

/dev/sdb:
 Timing cached reads:   4096 MB in  2.00 seconds = 2049.10 MB/sec
 Timing buffered disk reads:  208 MB in  3.01 seconds =  69.01 MB/sec


dmraid mapping: (good results)

user@ubuntu:~$ sudo hdparm -Tt /dev/mapper/nvidia_cbcaiacc

/dev/mapper/nvidia_cbcaiacc:
 Timing cached reads:   3380 MB in  2.00 seconds = 1690.50 MB/sec
HDIO_DRIVE_CMD(null) (wait for flush complete) failed: Inappropriate ioctl for 
device
 Timing buffered disk reads:  392 MB in  3.01 seconds = 130.05 MB/sec
HDIO_DRIVE_CMD(null) (wait for flush complete) failed: Inappropriate ioctl for 
device


third (or any other) partition on raid (bad throughput):

user@ubuntu:~$ sudo hdparm -Tt /dev/mapper/nvidia_cbcaiacc3

/dev/mapper/nvidia_cbcaiacc3:
 Timing cached reads:   3272 MB in  2.00 seconds = 1636.72 MB/sec
HDIO_DRIVE_CMD(null) (wait for flush complete) failed: Inappropriate ioctl for 
device
 Timing buffered disk reads:  158 MB in  3.00 seconds =  52.63 MB/sec
HDIO_DRIVE_CMD(null) (wait for flush complete) failed: Inappropriate ioctl for 
device


LVM Volume (even worse)

user@ubuntu:~$ sudo hdparm -Tt /dev/VolGroup00/LogVol00

/dev/VolGroup00/LogVol00:
 Timing cached reads:   3636 MB in  2.00 seconds = 1818.96 MB/sec
HDIO_DRIVE_CMD(null) (wait for flush complete) failed: Inappropriate ioctl for 
device
 Timing buffered disk reads:  114 MB in  3.01 seconds =  37.82 MB/sec
HDIO_DRIVE_CMD(null) (wait for flush complete) failed: Inappropriate ioctl for 
device

So on LogVol00 residing on a two disk striped set I get only 38MB/s 
throughput! I would anticipate something in the range of 130-140 MB/s


user@ubuntu:~$ uname -a
Linux ubuntu.localnet 2.6.18-rc7 #2 SMP Wed Sep 13 11:28:41 CEST 2006 x86_64 
GNU/Linux

-Christian

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-10-20 16:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-20 16:41 Device mapper/LVM throughput problem Christian

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox