Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Aug 2007 07:31:28 -0700 (PDT)
From:      Juri Mianovich <juri_mian@yahoo.com>
To:        Dag-Erling "Smørgrav" <des@des.no>
Cc:        freebsd-fs@freebsd.org
Subject:   Re: forcing a permanent "time" optimization with tunefs ?
Message-ID:  <113837.11318.qm@web45609.mail.sp1.yahoo.com>
In-Reply-To: <86lkbtz3bi.fsf@ds4.des.no>

next in thread | previous in thread | raw e-mail | index | archive | help

--- Dag-Erling Smørgrav <des@des.no> wrote:

> Juri Mianovich <juri_mian@yahoo.com> writes:
> > I would like it to be optimized for "time"
> instead, but when I do
> > this, it almost immediately reverts back to
> "space" (with a message
> > that a filesystem with less than 8% minfree should
> be optimized for
> > space)
> >
> > But let's pretend I know better ... and I really
> do want to optimize
> > it for time - is there any way to force a
> permanent optimization for
> > "time" ?
> 
> Sure, raise minfree back to 8%.


Thanks - very helpful of you.

Your annoying, useless answer aside, for the sake of
the archives I will note that 6% is the magic number,
below which the kernel will not respect your switch to
"time" optimization, but at which it will.

You will still receive a warning:

tunefs: should optimize for space with minfree < 8%

but the time optimization setting will stick, as long
as you have at least 6% minfree.  This is documented
in the tunefs man page, in fact.

The answer to my original question "can I force time
optimization if I am below 6%" appears to be "no". 
You can successfully set optimization to time, but the
kernel will always (almost immediately) switch it back
to space optimization.


       
____________________________________________________________________________________
Be a better Globetrotter. Get better travel answers from someone who knows. Yahoo! Answers - Check it out.
http://answers.yahoo.com/dir/?link=list&sid=396545469



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