From owner-freebsd-fs@FreeBSD.ORG Mon May 28 17:25:45 2012 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AAA121065677 for ; Mon, 28 May 2012 17:25:45 +0000 (UTC) (envelope-from alessio@interconnessioni.it) Received: from zimbra.interconnessioni.it (zimbra.interconnessioni.it [194.126.148.30]) by mx1.freebsd.org (Postfix) with ESMTP id 532FB8FC08 for ; Mon, 28 May 2012 17:25:45 +0000 (UTC) Received: from localhost (localhost.localdomain [127.0.0.1]) by zimbra.interconnessioni.it (Postfix) with ESMTP id 2AB9664012 for ; Mon, 28 May 2012 19:25:18 +0200 (CEST) X-Virus-Scanned: amavisd-new at zimbra.interconnessioni.it.interconnessioni.it Received: from zimbra.interconnessioni.it ([127.0.0.1]) by localhost (zimbra.interconnessioni.it [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jHtFUIdAaAcK for ; Mon, 28 May 2012 19:25:18 +0200 (CEST) Received: from zimbra.interconnessioni.it (localhost.localdomain [127.0.0.1]) by zimbra.interconnessioni.it (Postfix) with ESMTP id 051F964006 for ; Mon, 28 May 2012 19:25:18 +0200 (CEST) Date: Mon, 28 May 2012 19:25:18 +0200 (CEST) From: Alessio Focardi To: freebsd-fs@freebsd.org Message-ID: <1236761185.7172.1338225917997.JavaMail.root@zimbra.interconnessioni.it> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [83.149.137.176] X-Mailer: Zimbra 7.1.4_GA_2555 (ZimbraWebClient - FF3.0 (Win)/7.1.4_GA_2555) Subject: Re: Millions of small files: best filesystem / best options 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: Mon, 28 May 2012 17:25:45 -0000 > ZFS will work but its metadata size requirements will likely be twice > the amount required by the actual file data. It is not necessary to > change the ZFS blocksize in order for it to work. So if I understand correctly you are suggesting that I use as few directories as possible to save space (less metadata for them), but still a single file will weight more in metadata than it's size? That suggests that I cant have no metadatata suballocation, in any case. Correct? So ... what's the size of metadata for a regular file, even empty? A full block? Really tnx!