From owner-freebsd-current Wed Mar 15 10:42:46 1995 Return-Path: current-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id KAA07035 for current-outgoing; Wed, 15 Mar 1995 10:42:46 -0800 Received: from gndrsh.aac.dev.com (gndrsh.aac.dev.com [198.145.92.241]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id KAA07024 for ; Wed, 15 Mar 1995 10:42:42 -0800 Received: (from rgrimes@localhost) by gndrsh.aac.dev.com (8.6.8/8.6.6) id KAA13193; Wed, 15 Mar 1995 10:42:19 -0800 From: "Rodney W. Grimes" Message-Id: <199503151842.KAA13193@gndrsh.aac.dev.com> Subject: Re: newfs: sectors per cylinder (4096) disagrees with disk label (36) To: phk@ref.tfs.com (Poul-Henning Kamp) Date: Wed, 15 Mar 1995 10:42:19 -0800 (PST) Cc: current@FreeBSD.org In-Reply-To: <199502210226.SAA21140@ref.tfs.com> from "Poul-Henning Kamp" at Feb 20, 95 06:26:18 pm X-Mailer: ELM [version 2.4 PL23] Content-Type: text Content-Length: 1231 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 I have run several iterations of this using the default newfs and using the -t 0 -u 0 overrides and can find no significant difference now that the ufs code has been fixed to deal with NRPOS=1. If no one objects (more specifically if Poul-Henning does not object) I am going to removed the newfs hacks for 1 track of 4096 cylinders. And fix src/etc/Makefile to not have the -t 0 -u 0. -- Rod Grimes rgrimes@gndrsh.aac.dev.com Accurate Automation Company Custom computers for FreeBSD