From owner-freebsd-questions@FreeBSD.ORG Wed Feb 20 14:02:18 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8548616A418 for ; Wed, 20 Feb 2008 14:02:18 +0000 (UTC) (envelope-from dimitrovi58@yahoo.com) Received: from web56804.mail.re3.yahoo.com (web56804.mail.re3.yahoo.com [66.196.97.78]) by mx1.freebsd.org (Postfix) with SMTP id 1BD2113C4D1 for ; Wed, 20 Feb 2008 14:02:17 +0000 (UTC) (envelope-from dimitrovi58@yahoo.com) Received: (qmail 56255 invoked by uid 60001); 20 Feb 2008 14:02:17 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=uIWFsmlCOWUD7QXiYFzPvL+OvITjCR/dyJ6lsDWgYa2NcTkY9znXo/FLdIcKvmQ9Evn7Iv6ELEnQx7F+OkqyE4ck+/zYtXMQ1KR3QrX0Rl7/5k8W6fd6dzcWTCC3YCb/99u56pMMBKtW5K83BGhQJnRTnmBzNKtkaA5kCCyr7Tc=; X-YMail-OSG: hMfK4hIVM1kdqyx4mXgkh3fzloGXda.ZtYDVVgT4csRJefLUI6cDJ8VORcQ6FglJfidF1l5iy8_BTevwgvOaFKr8aCGsCxfGJMSjTocB5P7H5tphdnxzMSO0P8aZuQ-- Received: from [82.199.200.112] by web56804.mail.re3.yahoo.com via HTTP; Wed, 20 Feb 2008 06:02:16 PST Date: Wed, 20 Feb 2008 06:02:16 -0800 (PST) From: ivan dimitrov To: freebsd-questions@freebsd.org In-Reply-To: <20080219102118.45e8b5d4.wmoran@potentialtech.com> MIME-Version: 1.0 Message-ID: <219569.56089.qm@web56804.mail.re3.yahoo.com> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: what is the meaning of "optimization changed from TIME to SPACE" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Feb 2008 14:02:18 -0000 OK, but maybe this is not my case. I am using about 10% ... "/dev/md0 3.6M 318K 3.0M 9% /storage/pub/www/ram" But dmesg reports continuously: /storage/pub/www/ram: optimization changed from TIME to SPACE /storage/pub/www/ram: optimization changed from SPACE to TIME about 10 times per sec. so, how can i stop this optimization rock-and-roll? Bill Moran wrote: In response to Brian : > ivan dimitrov wrote: > > After upgrading from freebsd-5.5-R to 6.3-R, I get the following message in dmesg: > > > > "/storage/pub/www/ram: optimization changed from TIME to SPACE" > > > > I use a ram disk via the md driver. > > Here is the line from my fstab file: > > > > md /storage/pub/www/ram mfs rw,-s4m 2 0 > > > > Does this mean that there is some sort of error? ...and is there anything that can be done, so that I don't get this message in dmesg? > > > > Any help will be greatly appreciated :) UFS normally optimizes file placement for performance. Unfortunately, in order to do this it has to write files in such a way that it sometimes wastes some space. When the partition gets close to full, FreeBSD automatically switches to "space optimization" which doesn't waste any space, but doesn't perform as well. The short answer is, "This is happening because your partition is too close to full. It's not an error, but you should clean up some files or add space." It also has nothing to do with the difference between 5.5 and 6.3. -- Bill Moran http://www.potentialtech.com _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" --------------------------------- Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.