From owner-freebsd-hackers@FreeBSD.ORG Mon Dec 31 01:57:08 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id F3E9F8F7 for ; Mon, 31 Dec 2012 01:57:07 +0000 (UTC) (envelope-from joerg@britannica.bec.de) Received: from mo6-p00-ob.rzone.de (mo6-p00-ob.rzone.de [IPv6:2a01:238:20a:202:5300::1]) by mx1.freebsd.org (Postfix) with ESMTP id 810158FC08 for ; Mon, 31 Dec 2012 01:57:07 +0000 (UTC) X-RZG-AUTH: :JiIXek6mfvEEUpFQdo7Fj1/zg48CFjWjQv0cW+St/nW/avgusCdtw9+43oQGYIsZZxQQ0xcmsA== X-RZG-CLASS-ID: mo00 Received: from britannica.bec.de (cl-3506.cgn-01.de.sixxs.net [IPv6:2001:4dd0:ff00:db1::2]) by smtp.strato.de (jorabe mo25) (RZmta 31.11 AUTH) with (AES128-SHA encrypted) ESMTPA id 205de5oBUN7rfj for ; Mon, 31 Dec 2012 02:57:05 +0100 (CET) Received: by britannica.bec.de (sSMTP sendmail emulation); Mon, 31 Dec 2012 02:57:01 +0100 Date: Mon, 31 Dec 2012 02:57:01 +0100 From: Joerg Sonnenberger To: freebsd-hackers@freebsd.org Subject: Re: UFS1 vs UFS2 Message-ID: <20121231015701.GA4711@britannica.bec.de> Mail-Followup-To: freebsd-hackers@freebsd.org References: <20121230193926.GA37126@psconsult.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20121230193926.GA37126@psconsult.nl> User-Agent: Mutt/1.5.21 (2010-09-15) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Dec 2012 01:57:08 -0000 On Sun, Dec 30, 2012 at 08:39:26PM +0100, Paul Schenkeveld wrote: > On Sun, Dec 30, 2012 at 02:21:26PM +0100, Wojciech Puchar wrote: > > OpenBSD by default use UFS1 for partitions smaller than 1TB. > > > > FreeBSD use always UFS2. UFS2 uses double the amount of space for inodes. > > basic operation seems the same. > > > > Does it make sense to use UFS1 for small filesystem (on SSD) that would > > have few millions of files. It will take less space for inodes, but how > > about performance? > > UFS2 became necessary when disk got bigger and sizes and block pointers > in metadata on UFS1 became too small to fully utilize the larger disks. There is also the possible concern of Extended Attributes. If you use them, you might be a lot more happy with UFS2. Joerg