From owner-freebsd-scsi Wed Apr 8 08:18:18 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA17942 for freebsd-scsi-outgoing; Wed, 8 Apr 1998 08:18:18 -0700 (PDT) (envelope-from owner-freebsd-scsi@FreeBSD.ORG) Received: from heathers2.stdio.com (root@heathers2.stdio.com [199.89.192.5]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA17931 for ; Wed, 8 Apr 1998 08:18:10 -0700 (PDT) (envelope-from kyle@stdio.com) Received: (from kyle@localhost) by heathers2.stdio.com (8.8.8/8.8.8) id LAA17952; Wed, 8 Apr 1998 11:05:45 -0400 (EDT) Date: Wed, 8 Apr 1998 11:05:44 -0400 (EDT) From: Kyle McPeek To: Tom 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 Tom, I forgot to mention the nfs file server is a network appliance, raid 4 and very fast. Very few things I can do to tune it. I don't think any improvements can be found there, except maybe nfs V3? The network is all 100MB switched. I have tested both 10 and 100mb speeds and the transfer rate at 100mb is about twice that of 10mb. 10 MB seems to be slowed down by the network, but 100mb appears to be slowed down by the disk. The clients all have 64meg of memory. Would softupdates help on an unmounted partition? I will try 64K blocks. kyle. On Tue, 7 Apr 1998, Tom wrote: > > 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 > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message