From owner-freebsd-questions Thu Mar 15 20: 4:25 2001 Delivered-To: freebsd-questions@freebsd.org Received: from guru.mired.org (okc-65-26-235-186.mmcable.com [65.26.235.186]) by hub.freebsd.org (Postfix) with SMTP id 21B7A37B71C for ; Thu, 15 Mar 2001 20:04:22 -0800 (PST) (envelope-from mwm@mired.org) Received: (qmail 69346 invoked by uid 100); 16 Mar 2001 04:04:21 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15025.37061.222426.584514@guru.mired.org> Date: Thu, 15 Mar 2001 22:04:21 -0600 To: javor.evstatiev@blue-c.com Cc: questions@freebsd.org Subject: Re: poor scsi hd performance In-Reply-To: <49953685@toto.iv> X-Mailer: VM 6.89 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG javor.evstatiev@blue-c.com types: > Hi! > > I got my fingers on a recent compaq proliant 1600 (640M/p3xeon700/7200rpm > scsii) for a web server. Choice was Linux or BSD, and I decided to try > FreeBSD :)This is how it looks like: > > bash-2.04# dmesg | grep da0 > Mounting root from ufs:/dev/da0s1a > da0 at sym1 bus 0 target 0 lun 0 > da0: Fixed Direct Access SCSI-2 device > da0: 80.000MB/s transfers (40.000MHz, offset 31, 16bit), Tagged Queueing > Enabled > da0: 17365MB (35565080 512 byte sectors: 255H 63S/T 2213C) > > bash-2.04# camcontrol negotiate da0 > Current Parameters: > (pass0:sym1:0:0:0): sync parameter: 10 > (pass0:sym1:0:0:0): frequency: 40.000MHz > (pass0:sym1:0:0:0): offset: 31 > (pass0:sym1:0:0:0): bus width: 16 bits > (pass0:sym1:0:0:0): disconnection is enabled > (pass0:sym1:0:0:0): tagged queueing is enabled > > so, now, something from the daily life: > > bash-2.04# time tar xzf apache_1.3.19.tar.gz > > real 0m8.723s > user 0m0.267s > sys 0m0.216s > > I can't believe it should take 9 secs to decompress a 2 meg tarfile :( All > linux boxes are faster - even the IDE based desktops... > > Any ideas what/how to tune ? Thx 4 any info in advance! Well, the easiest way to improve performance is the way Linux ext2fs does it, and mount the file systems async. If the warning in the mount man page deters you, the safer way is to enabled suftupdates on the file system. The "tunefs" man page for information on that. http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message