From owner-freebsd-current@FreeBSD.ORG Tue Jun 15 13:33:38 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9F21E16A4CE for ; Tue, 15 Jun 2004 13:33:38 +0000 (GMT) Received: from e-post02.e-se.ru (smtp.mail.km.ru [217.174.99.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id BF96943D45 for ; Tue, 15 Jun 2004 13:33:36 +0000 (GMT) (envelope-from el2000@km.ru) Received: from unknown (unknown [81.26.156.34]) by e-post02.e-se.ru with HTTP id 1A02ED4C66888476111958; Tue, 15 Jun 2004 17:33:29 +0400 From: Eugene To: freebsd-current@freebsd.org Date: Tue, 15 Jun 2004 17:33:28 +0400 Message-Id: <40CEFAA8.00B9A6.08476@e-post02.e-se.ru> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: Text/Plain; charset="windows-1251" Subject: Storing a lot of little files X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Jun 2004 13:33:38 -0000 Hello freebsd-current, I need to store a lot (hundreds of millions) of very little files (from 8 bytes to 50K) in my filesystem. What's the best way to optimize it? Which newfs options can you recommend me? Can UFS2 optiomize storage of little files? For example, put some files in one cluster - so don't let the 8 byte file to occupy a whole cluster of about 16K? Is it possible to allocate inodes dynamically (like in ReiserFS?), bacause I'm not sure I can predict accuratly number of little files, and inodes not to finish before disk get full. Does FreeBSD support file systems except of UFS? What about ReiserFS, XFS, JFS? Thank you very much! -- Best regards, Eugene ----------------------------------------------------------------- KM.RU ÏÎ×ÒÀ - ïî÷òà áåç ñïàìà! (www.mail.km.ru) -----------------------------------------------------------------