From owner-freebsd-questions Thu Jun 7 14:48:19 2001 Delivered-To: freebsd-questions@freebsd.org Received: from rajma.kniveton.com (adsl-63-197-0-77.dsl.snfc21.pacbell.net [63.197.0.77]) by hub.freebsd.org (Postfix) with ESMTP id D255237B403; Thu, 7 Jun 2001 14:48:09 -0700 (PDT) (envelope-from Timothy.Kniveton@nokia.com) Received: from nokia.com (eldorado.kniveton.com [192.168.1.70]) by rajma.kniveton.com (8.11.1/8.11.1) with ESMTP id f57Lm7P61886; Thu, 7 Jun 2001 14:48:08 -0700 (PDT) Message-ID: <3B1FF697.4D9B14C8@nokia.com> Date: Thu, 07 Jun 2001 14:48:07 -0700 From: "T.J. Kniveton" Organization: NOKIA Research X-Mailer: Mozilla 4.76 [en] (X11; U; FreeBSD 4.2-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-stable@freebsd.org, freebsd-questions@freebsd.org, sos@freebsd.dk Subject: Promise controller support? Content-Type: multipart/mixed; boundary="------------5F493F03C3B78EE15433FA46" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG This is a multi-part message in MIME format. --------------5F493F03C3B78EE15433FA46 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi, I am trying to set up a software RAID system using FreeBSD 4.3's vinum, but not getting the performance I would expect. I am going to detail what I've done and maybe you could offer a suggestion of something to improve the performance. I am running on a 500 MHz P3 with an Intel motherboard UDMA33 controller/10G root filesystem. I have added two Promise Ultra100 controllers, with one Maxtor 30G UDMA100 disk on each of the four buses. When I boot this machine with the Promise controllers, the MB BIOS gives an error beep (long-short-short), and then continues to boot up fine. The disks are recognized in DMA5 mode by the controllers, and then FBSD 4.3 (GENERIC) sees the controllers as well: atapci1: port 0x1000-0x103f,0x10f0-0x10f3,0x10f8-0x10ff,0x10f4-0x10f7,0x1400-0x1407 mem 0xf4020000-0xf403ffff irq 11 at device 13.0 on pci0 ata2: at 0x1400 on atapci1 ata3: at 0x10f8 on atapci1 atapci2: port 0x1040-0x107f,0x1408-0x140b,0x1410-0x1417,0x140c-0x140f,0x1418-0x141f mem 0xf4040000-0xf405ffff irq 9 at device 14.0 on pci0 ata4: at 0x1418 on atapci2 ata5: at 0x1410 on atapci2 Next, I set up each disk with a partition covering the entire drive and made two vinum volumes. The first is a RAID5 volume using a 20G subdisk on each drive (60G storage). The second is a RAID1,0 volume using two 5G subdisks on each drive (20G storage). I ran bonnie++, and after this, I repartitioned one drive with a 10G volume (without using vinum) and ran the IO tests again. I will attach the bonnie++ results at the end, but basically I did not see very good numbers, and none of them seemed to exceed UDMA33. I don't know if I need to recompile the kernel with extra flags or what. The LINT docs seem to suggest using the wdc driver, but this doesn't seem right. Thanks!! -TJ Kniveton ------ --------------5F493F03C3B78EE15433FA46 Content-Type: text/plain; charset=us-ascii; name="bonnie_norm.out" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="bonnie_norm.out" Normal (no vinum): Version 1.01 ------Sequential Output------ --Sequential Input- --Random- -Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks-- Machine Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP /sec %CP nrcraid.iprg.n 300M 5990 27 5989 6 4984 6 17014 96 28722 17 133.5 0 ------Sequential Create------ --------Random Create-------- -Create-- --Read--- -Delete-- -Create-- --Read--- -Delete-- files /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP 16 31 5 +++++ +++ 59 0 31 5 764 99 53 3 nrcraid.iprg.nokia.com,300M,5990,27,5989,6,4984,6,17014,96,28722,17,133.5,0,16,31,5,+++++,+++,59,0,31,5,764,99,53,3 --------------5F493F03C3B78EE15433FA46 Content-Type: text/plain; charset=us-ascii; name="bonnie_raid10.out" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="bonnie_raid10.out" RAID 1,0: Version 1.01 ------Sequential Output------ --Sequential Input- --Random- -Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks-- Machine Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP /sec %CP nrcraid.iprg.n 300M 5852 26 5975 6 2325 3 11601 65 14848 8 197.8 1 ------Sequential Create------ --------Random Create-------- -Create-- --Read--- -Delete-- -Create-- --Read--- -Delete-- files /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP 16 25 4 +++++ +++ 59 1 23 4 764 99 56 3 nrcraid.iprg.nokia.com,300M,5852,26,5975,6,2325,3,11601,65,14848,8,197.8,1,16,25,4,+++++,+++,59,1,23,4,764,99,56,3 --------------5F493F03C3B78EE15433FA46 Content-Type: text/plain; charset=us-ascii; name="bonnie_raid5.out" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="bonnie_raid5.out" RAID 5: Version 1.01 ------Sequential Output------ --Sequential Input- --Random- -Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks-- Machine Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP /sec %CP nrcraid.iprg.n 300M 2048 9 2044 2 2066 3 14643 83 31816 20 248.8 2 ------Sequential Create------ --------Random Create-------- -Create-- --Read--- -Delete-- -Create-- --Read--- -Delete-- files /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP 16 19 3 +++++ +++ 39 0 19 3 762 99 39 2 nrcraid.iprg.nokia.com,300M,2048,9,2044,2,2066,3,14643,83,31816,20,248.8,2,16,19,3,+++++,+++,39,0,19,3,762,99,39,2 --------------5F493F03C3B78EE15433FA46-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message