From owner-freebsd-stable Mon Feb 3 20:37:34 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 77E7D37B401 for ; Mon, 3 Feb 2003 20:37:33 -0800 (PST) Received: from HAL9000.homeunix.com (12-233-57-224.client.attbi.com [12.233.57.224]) by mx1.FreeBSD.org (Postfix) with ESMTP id D7A0C43F79 for ; Mon, 3 Feb 2003 20:37:32 -0800 (PST) (envelope-from dschultz@uclink.Berkeley.EDU) Received: from HAL9000.homeunix.com (localhost [127.0.0.1]) by HAL9000.homeunix.com (8.12.6/8.12.5) with ESMTP id h144bWZh004559; Mon, 3 Feb 2003 20:37:32 -0800 (PST) (envelope-from dschultz@uclink.Berkeley.EDU) Received: (from das@localhost) by HAL9000.homeunix.com (8.12.6/8.12.5/Submit) id h144bQEc004558; Mon, 3 Feb 2003 20:37:26 -0800 (PST) (envelope-from dschultz@uclink.Berkeley.EDU) Date: Mon, 3 Feb 2003 20:37:26 -0800 From: David Schultz To: Ryan Dooley Cc: stable@FreeBSD.ORG Subject: Re: recommendations on the newfs of a 1.0TB fs... Message-ID: <20030204043726.GA4323@HAL9000.homeunix.com> Mail-Followup-To: Ryan Dooley , stable@FreeBSD.ORG References: <20030203194828.GA55143@elvis.mu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030203194828.GA55143@elvis.mu.org> 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 Thus spake Ryan Dooley : > I'm looking for recommendations on the newfs options for a 1.0TB file system > for say /home (it's a fileserver for 52000+ accounts that range from having > 4k to 40GB in their directories.) > > When I initally created the file system, the options I set are: block size of > 65536 and a fragsize of 8192. IIRC, block sizes greater than 16384 can cause significant buffer cache fragmentation, which can reduce I/O performance. Moreover, blocks that large will waste space and I/O bandwidth unless most of the files on the disk are very large. A smaller setting, e.g. the default, is probably more appropriate. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message