From owner-freebsd-questions@FreeBSD.ORG Tue Jan 16 19:42:56 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C30D616A416 for ; Tue, 16 Jan 2007 19:42:56 +0000 (UTC) (envelope-from wmoran@collaborativefusion.com) Received: from mx00.pub.collaborativefusion.com (mx00.pub.collaborativefusion.com [206.210.89.199]) by mx1.freebsd.org (Postfix) with ESMTP id 9940313C44C for ; Tue, 16 Jan 2007 19:42:56 +0000 (UTC) (envelope-from wmoran@collaborativefusion.com) Received: from vanquish.pgh.priv.collaborativefusion.com (vanquish.pgh.priv.collaborativefusion.com [192.168.2.61]) (SSL: TLSv1/SSLv3,256bits,AES256-SHA) by wingspan with esmtp; Tue, 16 Jan 2007 14:42:55 -0500 id 000564BC.45AD2ABF.0000DFA8 Date: Tue, 16 Jan 2007 14:42:55 -0500 From: Bill Moran To: "Steven Lowry" Message-Id: <20070116144255.08f9f049.wmoran@collaborativefusion.com> In-Reply-To: <65531.86.54.4.134.1168975434.squirrel@www.midden.org> References: <53186.86.54.4.134.1168964729.squirrel@www.midden.org> <20070116131357.1c8972eb.wmoran@collaborativefusion.com> <65531.86.54.4.134.1168975434.squirrel@www.midden.org> Organization: Collaborative Fusion X-Mailer: Sylpheed 2.3.0 (GTK+ 2.10.7; i386-portbld-freebsd6.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Very Poor Raid Card Performance X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Jan 2007 19:42:56 -0000 In response to "Steven Lowry" : > > On Tue, January 16, 2007 18:13, Bill Moran wrote: > > In response to "Steven Lowry" : > >> > >> I have been very impressed with my FreeBSD 6.2 install, I have nearly > >> everything working but there are a few things which I need help with. > >> > >> The main problem is my HD performance, it is approx 6x slower than in > >> windows XP, hopefully there is a solution. I have an LSI Megaraid 8x > >> with > >> four drives in a raid 5 configuration, in windows I was getting up to > >> 60MB/s > >> transfer rates but in FBSD I am getting up to 9MB/s. I followed the > >> instructions in the handbook for tuning disks and I have set dma on. > >> Being new to unix, I have no idea what to try or get system information > >> too continue troubleshooting. > >> If anyone could point me in the right direction or to appropriate > >> documentation > >> it would be much appreciated. > > > > You should provide the details of how you arrived at those numbers. > > Please provide details of your testing methodology. > > > > While it's impossible to compare apples to apples when pitting Windows > > against FreeBSD, you at least want to be comparing two fruits -- not > > apples and buffalo steaks or something like that. > > Thanks for your reply, > > I repeatedly copied a 700MB file from one harddrive to the Raid 5 Drive, a > different file every time so caching won't be a large factor and consistantly > got 8-9MB/s. Copying such large files is something I do on a daily basis. > Hardly scientific, more of a real use scenario. Transfer was done via KDE. And this translated in to MB/s how? Timed with a stopwatch? Keep in mind that by simply copying, you are testing the speed of the OS cache, the speed of the filesystem, and the speed of the driver all at once. We're going to have to narrow it down to isolate the problem. I can give you advice in FreeBSD, but I don't know how to do it in Windows. Additionally, if the first hard drive performs badly under FreeBSD for some reason, that would color your results. > Here is the dmesg output for the controller; > > amr0: mem > 0xfa2f0000-0xfa2fffff,0xfe800000-0xfe8fffff irq 30 at device 14.0 on pci5 > amr0: delete logical drives supported by controller > amr0: Firmware 814D, BIOS H431, > 128MB RAM > amrd0: on amr0 > amrd0: 712392MB (1458978816 sectors) RAID 5 (optimal) > > Not sure what is meant by the delete line. It means the driver/hardware supports the optional "delete logical drives" feature. > Motherboard is an Iwill DK8N, Nforce3 Chipset, AMD 8131 PCI-X bridge. > The nvidia raid is populated by two WD raptors in a raid 1, this holds FBSD, > the LSI is for data storage. > > Any other information I could supply? -- Bill Moran Collaborative Fusion Inc.