Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Sep 2001 04:58:31 +1000 (EST)
From:      Bruce Evans <bde@zeta.org.au>
To:        Ollivier Robert <roberto@eurocontrol.fr>
Cc:        <freebsd-arch@FreeBSD.ORG>
Subject:   Re: New option for newfs
Message-ID:  <20010921044949.M70097-100000@delplex.bde.org>
In-Reply-To: <20010920181423.A99633@caerdonn.eurocontrol.fr>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 20 Sep 2001, Ollivier Robert wrote:

> I want to add a new option to newfs in order to maximise the number of
> cylinders per cg (to reduce fragmentation and head movement).
>
> Right now, one can use '-c' to specify another value but
>
> 1. the default is 22 (calculated for a 8k/1k FS) regardless of the FS
>    (i.e. it will still be 22 even though you choose a 16k/2k FS).
>
> 2. newfs barfs when '-c' argument is too high.
>
> Proposal: a new option ('-M') that says: ignore -c if present, calculate
> the maxcpg allowed for the given argument to newfs and use that.

My version defaults to using the maximum.  This is usually the best
possible value since the best value is usually much larger (but
impossible).

Bruce


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message




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