Date: Fri, 8 Sep 2000 22:24:51 +0300 (EEST) From: Esko Petteri Matinsola <esko@kapi.net> To: hackers@freebsd.org Subject: Vinum RAID-5 performance problem Message-ID: <Pine.BSF.4.10.10009082147290.46483-100000@sputnik>
next in thread | raw e-mail | index | archive | help
Thank you for your last reply about the Promise 100 controller, I got it
working with that patch.
But now, I have Asus P2L97 mobo with 64MB RAM, 266MHz P2 and 4 Maxtor
54098H8's, two per channel. OS is FreeBSD 4.1-STABLE.
When I use vinum with the following config:
drive drive0 device /dev/ad0e
drive drive1 device /dev/ad1e
drive drive2 device /dev/ad2e
drive drive3 device /dev/ad3e
volume raid0
plex org striped 256k
sd length 512m drive drive0
sd length 512m drive drive1
so I have RAID-0 with the master and slave drive from controller one.
bonnie -s 512 on that gives me:
-------Sequential Output-------- ---Sequential Input-- --Random--
-Per Char- --Block--- -Rewrite-- -Per Char- --Block--- --Seeks---
MB K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU /sec %CPU
512 13287 97.3 20237 41.0 8023 25.6 8572 97.8 21442 29.4 128.1 2.2
not bad, even when two drives on the same controller. Next, I tried vinum
with the following config:
drive drive0 device /dev/ad0e
drive drive1 device /dev/ad1e
drive drive2 device /dev/ad2e
drive drive3 device /dev/ad3e
volume raid0
plex org striped 256k
sd length 512m drive drive0
sd length 512m drive drive2
so I have RAID-0 with the masters from both controllers. bonnie -s 512
gives me:
-------Sequential Output-------- ---Sequential Input-- --Random--
-Per Char- --Block--- -Rewrite-- -Per Char- --Block--- --Seeks---
MB K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU /sec %CPU
512 13263 97.4 21340 43.7 8169 26.1 8572 98.0 25858 36.6 213.4 3.9
only a little better, except the seeks. Now next to my problem. When I use
vinum with the following config:
drive drive0 device /dev/ad0e
drive drive1 device /dev/ad1e
drive drive2 device /dev/ad2e
drive drive3 device /dev/ad3e
volume raid5
plex org raid5 256k
sd length 512m drive drive0
sd length 512m drive drive1
sd length 512m drive drive2
sd length 512m drive drive3
so I have RAID-5 with all the drives from both controllers. bonnie -s 512
gives me:
-------Sequential Output-------- ---Sequential Input-- --Random--
-Per Char- --Block--- -Rewrite-- -Per Char- --Block--- --Seeks---
MB K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU /sec %CPU
512 2368 17.7 2358 4.8 2016 6.6 8218 94.4 20068 29.1 232.5 4.3
read performance and seeks seems OK, but block writes only about 1/9th !
As I read from www.vinumvm.org I should get something like 5MBps block
writes.
Have I misunderstood something, configured someting improperly, it's
because of only two IDE-controllers or why I get so lousy write
performance ?
I could live with 5MBps, if I only could get that ! :)
Thanks for any suggestions and sorry for too long email.
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.10009082147290.46483-100000>
