From owner-freebsd-fs@FreeBSD.ORG Thu Aug 30 14:41:37 2007 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4B6C216A417 for ; Thu, 30 Aug 2007 14:41:37 +0000 (UTC) (envelope-from juri_mian@yahoo.com) Received: from web45609.mail.sp1.yahoo.com (web45609.mail.sp1.yahoo.com [68.180.197.126]) by mx1.freebsd.org (Postfix) with SMTP id 389BA13C46A for ; Thu, 30 Aug 2007 14:41:37 +0000 (UTC) (envelope-from juri_mian@yahoo.com) Received: (qmail 19364 invoked by uid 60001); 30 Aug 2007 14:31:29 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=s6EEXKsva8q/ATcE8FgA+8BDphcQXh87s+CbVsgyn8djyP5ljY1xs5QTGC4NYw0R+RrMCRh8FpEhR1wjCg2gGrYtVNW0qjcw1WecojfEW66xOIBzzgDKfZzuo3mUP5J50vuD80feJnZXY9e2As1p1+HpKyW78nIhuamPNIB7fs0=; X-YMail-OSG: 76kOFj0VM1k7diATQVl7NWfLx2rN.O6.u7xnb6z_QqtgoyZl_ytV_wvDAenSJGGI9jcn..siSPxOFPQADIHbXeIiDGJEKnDGjv4B Received: from [71.63.232.32] by web45609.mail.sp1.yahoo.com via HTTP; Thu, 30 Aug 2007 07:31:28 PDT Date: Thu, 30 Aug 2007 07:31:28 -0700 (PDT) From: Juri Mianovich To: Dag-Erling "Smørgrav" In-Reply-To: <86lkbtz3bi.fsf@ds4.des.no> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <113837.11318.qm@web45609.mail.sp1.yahoo.com> Cc: freebsd-fs@freebsd.org Subject: Re: forcing a permanent "time" optimization with tunefs ? X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Aug 2007 14:41:37 -0000 --- Dag-Erling Smørgrav wrote: > Juri Mianovich writes: > > I would like it to be optimized for "time" > instead, but when I do > > this, it almost immediately reverts back to > "space" (with a message > > that a filesystem with less than 8% minfree should > be optimized for > > space) > > > > 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. 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. You will still receive a warning: tunefs: should optimize for space with minfree < 8% but the time optimization setting will stick, as long as you have at least 6% minfree. This is documented in the tunefs man page, in fact. The answer to my original question "can I force time optimization if I am below 6%" appears to be "no". You can successfully set optimization to time, but the kernel will always (almost immediately) switch it back to space optimization. ____________________________________________________________________________________ Be a better Globetrotter. Get better travel answers from someone who knows. Yahoo! Answers - Check it out. http://answers.yahoo.com/dir/?link=list&sid=396545469