From owner-freebsd-hackers Fri Sep 8 12:25: 4 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from mir.kapi.net (mir.kapi.net [195.165.21.13]) by hub.freebsd.org (Postfix) with ESMTP id 68D8B37B423 for ; Fri, 8 Sep 2000 12:24:58 -0700 (PDT) Received: from kapi.net (kapi.net [195.165.21.10]) by mir.kapi.net (8.9.3/8.9.3) with ESMTP id WAA63008 for ; Fri, 8 Sep 2000 22:24:51 +0300 (EEST) (envelope-from esko@kapi.net) Received: from localhost (esko@localhost) by kapi.net (8.9.2/8.9.3) with ESMTP id WAA00967 for ; Fri, 8 Sep 2000 22:24:51 +0300 (EEST) (envelope-from esko@kapi.net) X-Authentication-Warning: kapi.net: esko owned process doing -bs Date: Fri, 8 Sep 2000 22:24:51 +0300 (EEST) From: Esko Petteri Matinsola X-Sender: esko@sputnik To: hackers@freebsd.org Subject: Vinum RAID-5 performance problem Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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