From owner-freebsd-questions Mon Jan 17 5:45:22 2000 Delivered-To: freebsd-questions@freebsd.org Received: from isy.liu.se (isy.liu.se [130.236.48.10]) by hub.freebsd.org (Postfix) with ESMTP id 6AB0A14D51 for ; Mon, 17 Jan 2000 05:45:12 -0800 (PST) (envelope-from mj@isy.liu.se) Received: from lagrange.isy.liu.se (lagrange.isy.liu.se [130.236.49.127]) by isy.liu.se (8.9.1/8.9.1) with ESMTP id OAA04511; Mon, 17 Jan 2000 14:44:46 +0100 (MET) Message-ID: X-Mailer: XFMail 1.3 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20000116012238.A30815@panzer.kdm.org> Date: Mon, 17 Jan 2000 14:44:45 +0100 (CET) From: Micke Josefsson To: "Kenneth D. Merry" Subject: Re: Expected SCSI speed question Cc: freebsd-questions@FreeBSD.ORG, Rick Hamell Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 16-Jan-00 Kenneth D. Merry wrote: > On Fri, Jan 14, 2000 at 14:25:17 -0800, Rick Hamell wrote: >> >> > I have a 200 MHz K6 system (FBSD 3.2), Adaptec 2940UW SCSI-adaptor and >> > Seagate >> > ST19171W Hard disk. The Seagate (Barracuda 9) disk is specced to up to 40 >> > Mbytes/sec Max sync. SCSI transfer rate. But whatever tests I run (copying >> > large files to and fro, dd from disk to /dev/null for example) the actual >> > speed >> > is never more than around 0.5 MB/s according to 'systat -io 1' or 'systat >> > -vm >> > 1'. >> > >> > Is there a knob to turn to speed it up or is this a bottleneck due to the >> > processor? >> >> I've noticed that the Adaptec 2940UW seems to be a fairly slow >> card, at this point I'm pulling every single one I come across and >> replacing with Tekram cards. The biggest differance I saw was doing a >> drive mirror under Novell 3.12 a couple of weeks ago. Dual 2940s with >> their own seperate drives took 3 hours. Using the exact same model drive >> and two of the Tekram cards took under 20 minutes. Under FreeBSD I've seen >> similar performance. :( > > That certainly hasn't been my experience. The only thing I can figure is > that you've got things misconfigured somehow. Your problem under Novell > is likely a driver issue of some sort. > > I'm sure the Tekram cards will perform fine, assuming you get NCR/Symbios > based boards. Make sure you use the 'sym' driver, since the 'ncr' driver > is fairly buggy, and somewhat lacking in the error recovery department. > > The original poster's speed problems are due to the speed of the drive, and > have nothing to do with the controller. Just because a drive's bus speed > is 40MB/sec doesn't mean the heads/media can push the bits that fast. The > Barracuda 9 is a fairly old drive, but I would think it would be able to do > more than 5MB/sec. > > To test it out, try something like this: > > dd if=/dev/rda0 of=/dev/null bs=1m count=2048 > > You have to make the blocksize big enough in order to get any performance. Apparently! That gave some 3.5Meg/second. Without the bs=1m stuff it peaked around 660 k/sec. Surprisingly similar to what a file to /dev/null runs at. Perhaps there is no problem at all then! Sure made me happy! Thanks for your help! /Micke ---------------------------------- Michael Josefsson, MSEE mj@isy.liu.se This message was sent by XFMail running on FreeBSD 3.1 ---------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message