From owner-freebsd-hackers Wed Dec 6 20:48:37 2000 From owner-freebsd-hackers@FreeBSD.ORG Wed Dec 6 20:48:33 2000 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from relayout1.micronpc.com (meihost.micronpc.com [209.19.139.2]) by hub.freebsd.org (Postfix) with ESMTP id 78B9637B402 for ; Wed, 6 Dec 2000 20:48:33 -0800 (PST) Received: from mei00wssout01.micron.com (mei00wssout01.micronpc.com [172.30.41.216]) by relayout1.micronpc.com (2.5 Build 2640 (Berkeley 8.8.6)/8.8.4) with SMTP id VAA12874; Wed, 06 Dec 2000 21:48:28 -0700 Received: from 172.30.41.146 by mei00wssout01.micron.com with ESMTP ( WorldSecure Server SMTP Relay(WSS) v4.5); Wed, 06 Dec 2000 21:48:30 -0700 X-Server-Uuid: 6b1d535a-5b27-11d3-bf09-00902786a6a3 Received: by imcout1.micronpc.com with Internet Mail Service ( 5.5.2650.21) id ; Wed, 6 Dec 2000 21:48:28 -0700 Message-ID: <8D18712B2604D411A6BB009027F644980DD7B4@0SEA01EXSRV1> From: "Matt Simerson" To: "'A G F Keahan'" Cc: "'freebsd-hackers@freebsd.org'" Subject: RE: Optimal UFS parameters Date: Wed, 6 Dec 2000 21:47:59 -0700 X-Mailer: Internet Mail Service (5.5.2650.21) MIME-Version: 1.0 X-WSS-ID: 1631C914102197-01-01 Content-Type: text/plain Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG That's because any "consensus" would be inappropriate for mass consumtion. It really depends on a lot of fun things like the average file size and the number of files that the drives will be storing. For example, a mail server might want more inodes than a database server. The mail server will likely have a lot of tiny files where the database server would have a collection of much larger (a few k vs several mb's each). What makes you think the defaults are unreasonable? I set up a 300GB filesystem a few months ago. I ran a few numbers, calculated my average file size, compared it to the defaults and found they were very close to reasonable. When I get a couple hundred gig's of data on there I'll know better but I think my guess-timates are very good. Matt > -----Original Message----- > From: A G F Keahan [mailto:ak@freenet.co.uk] > Sent: Wednesday, December 06, 2000 7:53 PM > To: freebsd-hackers@freebsd.org > Subject: Optimal UFS parameters > > What parameters should I choose for a large (say, 60 or 80Gb) > filesystem? I remember a while ago someone (phk?) conducted a survey, > but nothing seems to have come of it. In the meantime, the capacity of > an average hard drive has increased tenfold, and the defaults have > become even less reasonable. > > What's the current consensus of opinion? > > newfs -b ????? -f ????? -c ????? > > Thanks > > Alex Keahan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message