Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Feb 1995 18:26:18 -0800 (PST)
From:      Poul-Henning Kamp <phk@ref.tfs.com>
To:        rgrimes@gndrsh.aac.dev.com (Rodney W. Grimes)
Cc:        current@FreeBSD.org
Subject:   Re: newfs: sectors per cylinder (4096) disagrees with disk label (36)
Message-ID:  <199502210226.SAA21140@ref.tfs.com>
In-Reply-To: <199502210222.SAA20630@gndrsh.aac.dev.com> from "Rodney W. Grimes" at Feb 20, 95 06:22:32 pm

next in thread | previous in thread | raw e-mail | index | archive | help
> > > This is caused by phk's changes to the behavior of newfs, it now 
> > > uses 1 head/cylinder, 4096 sectors/track by default.  This was an
> > > attempt to increase performace.  I have found that it does nothing
> > > for any disks I use and just leads to problems while newfsing several
> > > of them.
> > How did you measure this ?
> 
> Iozone using auto and 128 8192 and dd to/from /dev/{null,zero}.
> Note that the newfs code already defeats the rotational delay stuff
> by -n 1 -d 0 defaults.
> 
Try this:

	newfs /dev/rsdXy
	mount /dev/sdXy /mnt
	(cd /usr/src ; find . -print | cpio -dumpV /mnt)
	time tar cf /dev/null /mnt
	umount /mnt

-- 
Poul-Henning Kamp <phk@login.dknet.dk>
TRW Financial Systems, Inc.
I am Pentium Of Borg. Division is Futile. You WILL be approximated.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199502210226.SAA21140>