Date: Thu, 30 Aug 2007 17:09:12 +0200 From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@des.no> To: Juri Mianovich <juri_mian@yahoo.com> Cc: freebsd-fs@freebsd.org Subject: Re: forcing a permanent "time" optimization with tunefs ? Message-ID: <868x7tys87.fsf@ds4.des.no> In-Reply-To: <113837.11318.qm@web45609.mail.sp1.yahoo.com> (Juri Mianovich's message of "Thu\, 30 Aug 2007 07\:31\:28 -0700 \(PDT\)") References: <113837.11318.qm@web45609.mail.sp1.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Juri Mianovich <juri_mian@yahoo.com> writes: > Dag-Erling Sm=C3=B8rgrav <des@des.no> writes: > > Juri Mianovich <juri_mian@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 --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?868x7tys87.fsf>
