From owner-freebsd-stable Mon Feb 3 13: 8:28 2003 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 38D4137B401 for ; Mon, 3 Feb 2003 13:08:27 -0800 (PST) Received: from uitm.zenon.net (uitm.zenon.net [195.2.69.86]) by mx1.FreeBSD.org (Postfix) with ESMTP id EB61843FA7 for ; Mon, 3 Feb 2003 13:08:25 -0800 (PST) (envelope-from uitm@zenon.net) From: Andrey Alekseyev Message-Id: <200302032107.h13L7qh82700@uitm.zenon.net> Subject: Re: recommendations on the newfs of a 1.0TB fs... In-Reply-To: <20030203204524.GB56152@elvis.mu.org> from Ryan Dooley at "Feb 3, 2003 12:45:24 pm" To: Ryan Dooley Date: Tue, 4 Feb 2003 00:07:52 +0300 (MSK) Cc: Bill Moran , stable@freebsd.org X-Mailer: ELM [version 2.4ME+ PL61 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > I'm wondering what values I might try for -i that might be reasonable. I believe, you should examine your existing file system more closely. Recently we had a task of optimizing a large filesystem (300+ GB) for our large mail cluster (hundreds of thousands of mail accounts and about 10000+ mail domains). The filesystem itself was supposed to contain about 1500000 small files and about 400000 directories. For that task I had written a rather simple utility that traverses a directory tree and produces a statistics report on the number of files for each given range of size (less than 8KB, 8KB < n < 16KB, greater than 16KB, etc.). Also, the total number of files and directories is accumulated along with other interesting detail. I must say it was rather a useful information and food for thought before doing any optimization! :) However, I should mention, the OS is Solaris 8 and the filesystem is not UFS. I was optimizing given certain details on file system allocation mechanisms. Especially, block size was the question. -- Andrey Alekseyev. Zenon N.S.P. Senior Unix system administrator To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message