From owner-freebsd-current Tue Mar 14 14:07:40 1995 Return-Path: current-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id OAA06085 for current-outgoing; Tue, 14 Mar 1995 14:07:40 -0800 Received: from Root.COM (implode.Root.COM [198.145.90.1]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id OAA06074 for ; Tue, 14 Mar 1995 14:07:35 -0800 Received: from corbin.Root.COM (corbin.Root.COM [198.145.90.18]) by Root.COM (8.6.8/8.6.5) with ESMTP id OAA10649; Tue, 14 Mar 1995 14:07:25 -0800 Received: from localhost (localhost [127.0.0.1]) by corbin.Root.COM (8.6.11/8.6.5) with SMTP id OAA02661; Tue, 14 Mar 1995 14:07:24 -0800 Message-Id: <199503142207.OAA02661@corbin.Root.COM> X-Authentication-Warning: corbin.Root.COM: Host localhost didn't use HELO protocol To: roberto@blaise.ibp.fr (Ollivier Robert) cc: current@FreeBSD.org (Current's list FreeBSD) Subject: Re: MINFREE change to 8% In-reply-to: Your message of "Tue, 14 Mar 95 22:58:34 +0100." <9503142158.AA08648@blaise.ibp.fr> From: David Greenman Reply-To: davidg@Root.COM Date: Tue, 14 Mar 1995 14:07:19 -0800 Sender: current-owner@FreeBSD.org Precedence: bulk >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