From owner-freebsd-questions@FreeBSD.ORG Tue Feb 19 15:21:20 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 A5F5516A41A for ; Tue, 19 Feb 2008 15:21:20 +0000 (UTC) (envelope-from wmoran@potentialtech.com) Received: from mail.potentialtech.com (internet.potentialtech.com [66.167.251.6]) by mx1.freebsd.org (Postfix) with ESMTP id 74B4813C45E for ; Tue, 19 Feb 2008 15:21:20 +0000 (UTC) (envelope-from wmoran@potentialtech.com) Received: from vanquish.ws.pitbpa0.priv.collaborativefusion.com (pr40.pitbpa0.pub.collaborativefusion.com [206.210.89.202]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.potentialtech.com (Postfix) with ESMTP id 7BA77EBC3B; Tue, 19 Feb 2008 10:21:19 -0500 (EST) Date: Tue, 19 Feb 2008 10:21:18 -0500 From: Bill Moran To: Brian Message-Id: <20080219102118.45e8b5d4.wmoran@potentialtech.com> In-Reply-To: <47BAF276.2050809@brianwhalen.net> References: <904190.99482.qm@web56804.mail.re3.yahoo.com> <47BAF276.2050809@brianwhalen.net> X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.8; i386-portbld-freebsd6.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org 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: Tue, 19 Feb 2008 15:21:20 -0000 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