From owner-freebsd-current Mon Feb 20 18:26:43 1995 Return-Path: current-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id SAA18841 for current-outgoing; Mon, 20 Feb 1995 18:26:43 -0800 Received: from ref.tfs.com (ref.tfs.com [140.145.254.251]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id SAA18833 for ; Mon, 20 Feb 1995 18:26:42 -0800 Received: (from phk@localhost) by ref.tfs.com (8.6.8/8.6.6) id SAA21140; Mon, 20 Feb 1995 18:26:18 -0800 From: Poul-Henning Kamp Message-Id: <199502210226.SAA21140@ref.tfs.com> Subject: Re: newfs: sectors per cylinder (4096) disagrees with disk label (36) To: rgrimes@gndrsh.aac.dev.com (Rodney W. Grimes) Date: Mon, 20 Feb 1995 18:26:18 -0800 (PST) Cc: current@FreeBSD.org In-Reply-To: <199502210222.SAA20630@gndrsh.aac.dev.com> from "Rodney W. Grimes" at Feb 20, 95 06:22:32 pm Content-Type: text Content-Length: 788 Sender: current-owner@FreeBSD.org Precedence: bulk > > > 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 TRW Financial Systems, Inc. I am Pentium Of Borg. Division is Futile. You WILL be approximated.