Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Mar 1995 14:07:19 -0800
From:      David Greenman <davidg@Root.COM>
To:        roberto@blaise.ibp.fr (Ollivier Robert)
Cc:        current@FreeBSD.org (Current's list FreeBSD)
Subject:   Re: MINFREE change to 8% 
Message-ID:  <199503142207.OAA02661@corbin.Root.COM>
In-Reply-To: Your message of "Tue, 14 Mar 95 22:58:34 %2B0100." <9503142158.AA08648@blaise.ibp.fr> 

next in thread | previous in thread | raw e-mail | index | archive | help
>I've noticed with the change to MINFREE from 5% to 8% that there is
>something strange in the ufs/ffs/ffs_alloc.c file :
>
>        case FS_OPTSPACE:
>                /*
>                 * Allocate an exact sized fragment. Although this makes 
>                 * best use of space, we will waste time relocating it if
>                 * the file continues to grow. If the fragmentation is
>                 * less than half of the minimum free reserve, we choose
>                 * to begin optimizing for time.
>                 */
>                request = nsize;
>                if (fs->fs_minfree <= 5 ||	<<<<<<<< shouldn't 5 be MINFREE instead ??

   No. That percentage is chosen to provide a specific level of hysterisis and
is not related to the default (MINFREE).

-DG



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