forcing a permanent "time" optimization with tunefs ?
Dag-Erling Smørgrav
des at des.no
Thu Aug 30 08:09:20 PDT 2007
Juri Mianovich <juri_mian at yahoo.com> writes:
> Dag-Erling Smørgrav <des at des.no> writes:
> > Juri Mianovich <juri_mian at yahoo.com> writes:
> > > 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.
You're welcome.
> 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.
Yes, this is documented in tunefs(8).
> You will still receive a warning:
>
> tunefs: should optimize for space with minfree < 8%
You really don't get it, do you?
The time optimizations which you so dearly wish to hold on to are based
on assumptions about the amount of free space available. The purpose of
minfree is (partly) to ensure that those assumptions hold. When you
reduce minfree (or the disk fills up anyway because of a runaway cron
job or whatever), the file system must switch to a different set of
optimizations.
BTW, explain this: if you don't care about conserving space, why did you
lower minfree in the first place?
DES
--
Dag-Erling Smørgrav - des at des.no
More information about the freebsd-fs
mailing list