From owner-freebsd-hackers@freebsd.org Fri Jul 24 12:49:44 2015 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7A28A9A96E4 for ; Fri, 24 Jul 2015 12:49:44 +0000 (UTC) (envelope-from aduane@juniper.net) Received: from na01-by2-obe.outbound.protection.outlook.com (mail-by2on0140.outbound.protection.outlook.com [207.46.100.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "MSIT Machine Auth CA 2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3D0C51D24 for ; Fri, 24 Jul 2015 12:49:43 +0000 (UTC) (envelope-from aduane@juniper.net) Received: from DM2PR05MB736.namprd05.prod.outlook.com (10.141.178.25) by DM2PR05MB736.namprd05.prod.outlook.com (10.141.178.25) with Microsoft SMTP Server (TLS) id 15.1.225.19; Fri, 24 Jul 2015 12:34:00 +0000 Received: from DM2PR05MB736.namprd05.prod.outlook.com ([10.141.178.25]) by DM2PR05MB736.namprd05.prod.outlook.com ([10.141.178.25]) with mapi id 15.01.0225.018; Fri, 24 Jul 2015 12:34:00 +0000 From: Andrew Duane To: Don whY , "freebsd-hackers@freebsd.org" Subject: RE: format/newfs larger external consumer drives Thread-Topic: format/newfs larger external consumer drives Thread-Index: AQHQxar7lTdWI9gM6EWoof4+jTDiOp3qjXcQ Date: Fri, 24 Jul 2015 12:34:00 +0000 Message-ID: References: <55B18C45.4030707@gmx.com> In-Reply-To: <55B18C45.4030707@gmx.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: gmx.com; dkim=none (message not signed) header.d=none; x-originating-ip: [66.129.241.14] x-microsoft-exchange-diagnostics: 1; DM2PR05MB736; 5:nEMzu1DzWu+OuM3Fhha+qmMx8MLPIo/r5guxB0GAqX+ljNmtKfMSg9E/l2D1Oc0idyeam2rTttrMBcJAmN9T/w/zsbBQPRMVuOl29yzs++RKX11jLmmZQCfSBmYO6RutjT3WDW9numyiODXcVSM5Hw==; 24:gYNiIiQv3e85m8J+jY9bVsxFHu7PVUtrZH3IUcpLiQQYsjwZWCD7KwVCdLNMW+c5q6j0orfQ3erGWIGnvbjxcIq8wcUpskECOwMp6vlzzA0=; 20:q5s/+z43Elb7zsxB9H1WXPwC46gfLBxAYYG+w4VIuytDq/mRGdnmWljNaV+/iO/oOAYYVf1KajuItSLd86HIBw== x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(42134001)(42139001); SRVR:DM2PR05MB736; dm2pr05mb736: X-MS-Exchange-Organization-RulesExecuted x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(601004)(5005006)(3002001); SRVR:DM2PR05MB736; BCL:0; PCL:0; RULEID:; SRVR:DM2PR05MB736; x-forefront-prvs: 0647963F84 x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(6009001)(377454003)(13464003)(479174004)(24454002)(76576001)(76176999)(54356999)(107886002)(40100003)(50986999)(102836002)(92566002)(2950100001)(15975445007)(2900100001)(77096005)(5001960100002)(5001770100001)(1720100001)(5003600100002)(74316001)(33656002)(5002640100001)(122556002)(62966003)(87936001)(86362001)(66066001)(46102003)(77156002)(2501003)(2656002)(106116001)(189998001)(99286002)(19580405001)(19580395003)(7059030); DIR:OUT; SFP:1102; SCL:1; SRVR:DM2PR05MB736; H:DM2PR05MB736.namprd05.prod.outlook.com; FPR:; SPF:None; MLV:sfv; LANG:en; Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: juniper.net X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Jul 2015 12:34:00.4628 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: bea78b3c-4cdb-4130-854a-1d193232e5f4 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM2PR05MB736 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Jul 2015 12:49:44 -0000 > -----Original Message----- > From: owner-freebsd-hackers@freebsd.org [mailto:owner-freebsd- > hackers@freebsd.org] On Behalf Of Don whY > Sent: Thursday, July 23, 2015 8:52 PM > To: freebsd-hackers@freebsd.org > Subject: Re: format/newfs larger external consumer drives >=20 > On 7/22/2015 2:08 PM, Dieter BSD wrote: > > Don whY asks: > >> So, fsck's effort (and execution *time*) is based *mostly* on inodes? > > > > I don't know about *mostly*, but reducing the number of inodes > > significantly reduced fsck time for me. >=20 > OK. I may try building a filesystem, loading a fixed set of files > (assorted) onto it, then fsck'ing it. Then, rebuild with a different > block/frag/inode configuration and try again (same file set). At the ver= y least, it > will be an interesting experiment! FSCK has 5 passes, each of which checks a different "thing" in the filesyst= em. Each pass will depend on how many of those "things" there are to check.= One checks inodes and cylinder groups, one checks all blocks, one checks a= ll directory and file entries, and so on. So fewer inodes will help, but mo= re files eat up the savings, etc. Some experiments can tell you how long it= takes to check each and what the savings would be. Also remember that each inode takes 128 bytes on disk. So a billion unused = inodes wastes a 128 GB on the disk. > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org= "