From owner-freebsd-scsi Tue Apr 7 15:45:06 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA09139 for freebsd-scsi-outgoing; Tue, 7 Apr 1998 15:45:06 -0700 (PDT) (envelope-from owner-freebsd-scsi@FreeBSD.ORG) Received: from misery.sdf.com (misery.sdf.com [204.244.213.32]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id PAA09102 for ; Tue, 7 Apr 1998 15:44:57 -0700 (PDT) (envelope-from tom@sdf.com) Received: from tom by misery.sdf.com with smtp (Exim 1.82 #3) id 0yMgiI-0000V5-00; Tue, 7 Apr 1998 15:19:30 -0700 Date: Tue, 7 Apr 1998 15:19:29 -0700 (PDT) From: Tom To: Kyle McPeek cc: freebsd-scsi@FreeBSD.ORG Subject: Re: CAM Performance... In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Tue, 7 Apr 1998, Kyle McPeek wrote: > Hi All, > > For a project at work I need to be able to write 400MB sequentially to an > Ultra-Wide harddisk (Seagate ST32171W 2GB) from an nfs mounted drive as > fast a possible. right now we have it down to around 3:45 seconds using > the old scsi code. > > I am using dd with bs=27163 (Approximately = data on one track) to write > to /dev/rsd0s2c. Why that block size? I think you will be much better with 64k blocks. How a particular drive organizes data to tracks is almost impossible to tell. Using a block size which is not a multiple of 512 almost certainly slows things down. Since you going for NFS to disk, is the bottleneck the disk or the network? If it is the disk, use two stripped drives for better performance. > Would the cam code improve sequential scsi writes? Also, what sort of > general speed improvements has everyone seen using the cam code? Probably not. CAMs main benefits are better error recovery, and better handling of lots of simultaneous i/o. Softupdates would improve things a lot for this application (esp if you have lots of RAM), but they don't work yet > I do still plan to test the cam code myself, but I would like to know > what other people have experienced. > > Kyle McPeek > TEKsystems Consultant at > Lexmark International. Tom To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message