From owner-freebsd-current@FreeBSD.ORG Tue Oct 19 20:09:32 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 57F4A16A4CE for ; Tue, 19 Oct 2004 20:09:32 +0000 (GMT) Received: from mail.freebsd.org.cn (dns3.freebsd.org.cn [61.129.66.75]) by mx1.FreeBSD.org (Postfix) with SMTP id 6D20643D2F for ; Tue, 19 Oct 2004 20:09:27 +0000 (GMT) (envelope-from delphij@frontfree.net) Received: (qmail 82752 invoked by uid 0); 19 Oct 2004 20:04:38 -0000 Received: from unknown (HELO beastie.frontfree.net) (219.239.98.7) by mail.freebsd.org.cn with SMTP; 19 Oct 2004 20:04:38 -0000 Received: from localhost (localhost.frontfree.net [127.0.0.1]) by beastie.frontfree.net (Postfix) with ESMTP id 661811319DE; Wed, 20 Oct 2004 04:09:22 +0800 (CST) Received: from beastie.frontfree.net ([127.0.0.1]) by localhost (beastie.frontfree.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 00917-04; Wed, 20 Oct 2004 04:09:10 +0800 (CST) Received: by beastie.frontfree.net (Postfix, from userid 1001) id 242791318AA; Wed, 20 Oct 2004 04:09:09 +0800 (CST) Date: Wed, 20 Oct 2004 04:09:08 +0800 From: Xin LI To: Mike Jakubik Message-ID: <20041019200908.GA655@frontfree.net> References: <20041015190638.C5A0E5D04@ptavv.es.net> <41715E7F.7060509@ng.fadesa.es> <20041018100045.f8koww0skcco0woo@www.sweetdreamsracing.biz> <4173D66F.6010200@DeepCore.dk> <4173F2E9.7010407@ng.fadesa.es> <417406E3.9010706@DeepCore.dk> <4174FD04.8040000@ng.fadesa.es> <20041019104525.ikgw8kcw8sw480os@www.sweetdreamsracing.biz> <4129.192.168.0.188.1098211592.squirrel@192.168.0.188> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="OXfL5xGRrasGEqWY" Content-Disposition: inline In-Reply-To: <4129.192.168.0.188.1098211592.squirrel@192.168.0.188> User-Agent: Mutt/1.4.2.1i X-GPG-key-ID/Fingerprint: 0xCAEEB8C0 / 43B8 B703 B8DD 0231 B333 DC28 39FB 93A0 CAEE B8C0 X-GPG-Public-Key: http://www.delphij.net/delphij.asc X-Operating-System: FreeBSD beastie.frontfree.net 5.3-delphij FreeBSD 5.3-delphij #4: Mon Sep 13 12:44:05 CST 2004 delphij@beastie.frontfree.net:/usr/obj/usr/src/sys/BEASTIE i386 X-URL: http://www.delphij.net X-By: delphij@beastie.frontfree.net X-Location: Beijing, China X-Virus-Scanned: by amavisd-new at frontfree.net cc: Kenneth Culver cc: fandino@ng.fadesa.es cc: freebsd-current@freebsd.org Subject: Re: FreeBSD 5.3b7and poor ata performance X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Oct 2004 20:09:32 -0000 --OXfL5xGRrasGEqWY Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, Mike, On Tue, Oct 19, 2004 at 02:46:32PM -0400, Mike Jakubik wrote: > Out of curiosity, i ran this on one of our production servers, which runs > on a dual Xeon MB, with SCSI raid-10 setup, and to my surprise here are > the results: >=20 > CPU: Intel(R) Xeon(TM) CPU 2.80GHz (2799.22-MHz 686-class CPU) > real memory =3D 2146959360 (2047 MB) > avail memory =3D 2099650560 (2002 MB) > FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs >=20 > da0 at asr0 bus 0 target 0 lun 0 > da0: Fixed Direct Access SCSI-2 device >=20 > FreeBSD 5.3-BETA4 #0: Sun Sep 12 13:09:43 EDT 2004 >=20 > (Custom kernel, no debugging) >=20 > # dd if=3D/dev/da0 of=3D/dev/null bs=3D1m count=3D200 > 200+0 records in > 200+0 records out > 209715200 bytes transferred in 6.225309 secs (33687517 bytes/sec) >=20 > Why is a SCSI raid-10 system slower than a plain IDE disk? Something is > wrong here. Unfortunatelly I can reproduce similiar problem when using Ultra320 under mpt(4) and a version of Adaptec's SCSI card (maybe aic, or something else, which I have to go to my office to find out). Additionally the problem is not FreeBSD specific, with a Linux installation, it shows poor performance too. (No RAID configuration, though). I found that block size does influence performance greatly. With a block size of 131072 I got peak read performance at about 70MB/s, but that's all. I did not have the necessary knowledge at the time I have did the test last month, so I got only the result and thought that I have made something wrong and hoped someone to correct me with no luck :-( Cheers, --=20 Xin LI http://www.delphij.net/ See complete headers for GPG key and other information. --OXfL5xGRrasGEqWY Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFBdXRk/cVsHxFZiIoRAvwOAJ0REPVNYi0evM8ZxiVLkGNThQAEWwCbBXUm W9YqFlA/+oBZt9bWBwsW8rk= =eJpm -----END PGP SIGNATURE----- --OXfL5xGRrasGEqWY--