From owner-freebsd-scsi@FreeBSD.ORG Thu Nov 13 03:38:54 2003 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 02E5916A4CF for ; Thu, 13 Nov 2003 03:38:54 -0800 (PST) Received: from mail.webjockey.net (mail.webjockey.net [208.141.46.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id DE12643FE0 for ; Thu, 13 Nov 2003 03:38:52 -0800 (PST) (envelope-from gary@outloud.org) Received: from trident-bl1rb74.outloud.org (69-160-77-240.frdrmd.adelphia.net [69.160.77.240]) by mail.webjockey.net (8.12.9/8.12.8) with ESMTP id hADBeXRG081005; Thu, 13 Nov 2003 06:40:34 -0500 (EST) (envelope-from gary@outloud.org) Message-Id: <6.0.0.22.2.20031113062949.028fbea0@localhost> X-Sender: ancient/208.141.46.254@localhost X-Mailer: QUALCOMM Windows Eudora Version 6.0.0.22 Date: Thu, 13 Nov 2003 06:38:53 -0500 To: Martin Blapp From: Gary Stanley In-Reply-To: <20031113084355.P13503@cvs.imp.ch> References: <20031112172306.J4572@pooker.samsco.home> <20031113084355.P13503@cvs.imp.ch> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed cc: freebsd-scsi@freebsd.org Subject: Re: Very bad FreeBSD SCSI RAID5 write speed performance X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Nov 2003 11:38:54 -0000 Well. W/O softupdates root@64:[/tmp/blah]>dd if=/dev/zero of=/tmp/blah/blah 89472+0 records in 89471+0 records out 45809152 bytes transferred in 8.546312 secs (5360108 bytes/sec) W/ Softupdates root@64:[/mnt]>dd if=/dev/zero of=/mnt/blah 116160+0 records in 116159+0 records out 59473408 bytes transferred in 10.080428 secs (5899889 bytes/sec) Just about the same. But this machine's write caching settings for the controller (LSI MegaRaid) are not correct for Raid 5, and the machine's under some moderate load, so when I get a chance to correct them I'll repost my findings. I always seem to suffer heavy write speed losses w/ Raid5, but I can't complain because the read speeds make up for it. Also, I use U320 Maxtor Atlas 10K drives, MegaRaid (Latest Firmware, broken Cache Settings) At 05:33 AM 11/13/2003, you wrote: >Hi all, > >We are currently testing some raid configurations with Linux >and FreeBSD. > >It seems that FreeBSD does something wrong. An adaptec 3200S >controller and a IBM ServeRaid5i controller are both times slower >with RAID5 on FreeBSD as they are on linux. > >Both controllers are batterie-backed, have cacheing enabled. > >Does anyone with these controllers (drivers) can take some >numbers of the write-performance ? > >If needed I can provide numbers (taken with iozone). I've tested it >on a async mounted filesystem on both FreeBSD and Linux. And it is not >only a benchmark problem. We suffer on this problem on production >machines. The production machines perform a bit better since they >run 4.X, but still bad (Linux is 3,5 times faster), on CURRENT Linux >is 4 times faster. > >Martin > >Martin Blapp, >------------------------------------------------------------------ >ImproWare AG, UNIXSP & ISP, Zurlindenstrasse 29, 4133 Pratteln, CH >Phone: +41 61 826 93 00 Fax: +41 61 826 93 01 >PGP: >PGP Fingerprint: B434 53FC C87C FE7B 0A18 B84C 8686 EF22 D300 551E >------------------------------------------------------------------ > >_______________________________________________ >freebsd-scsi@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-scsi >To unsubscribe, send any mail to "freebsd-scsi-unsubscribe@freebsd.org"