Date: Tue, 14 Mar 1995 15:18:01 -0800 From: David Greenman <davidg@Root.COM> To: terry@cs.weber.edu (Terry Lambert) Cc: roberto@blaise.ibp.fr (Ollivier Robert), current@FreeBSD.org Subject: Re: MINFREE change to 8% Message-ID: <199503142318.PAA02754@corbin.Root.COM> In-Reply-To: Your message of "Tue, 14 Mar 95 15:59:58 MST." <9503142259.AA09748@cs.weber.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
>> if (fs->fs_minfree <= 5 || <<<<<<<< shouldn't 5 be MINFREE instead ?? > >MINFREE/2. > >The 5 is based on the historical default of 10%. > >This assumes MINFREE is a non-runtime adjustable manifest constant, right? > >The compare is a magic cookie to force space optimization even if the >user has requested otherwise, since the user may run out of space very >soon. Wrong. That specific comparison is to make certain that there is some amount of hysteresis in the change from time-space & space-time optimization. At 5%, there is only a .5% (fragmentation) gap between states. The state change is based on filesystem fragmentation, NOT on the actual amount of space left. -DG
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199503142318.PAA02754>