From owner-freebsd-fs@FreeBSD.ORG Wed Feb 14 23:39:55 2007 Return-Path: X-Original-To: freebsd-fs@freebsd.org Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E412816A409 for ; Wed, 14 Feb 2007 23:39:55 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (arm132.internetdsl.tpnet.pl [83.17.198.132]) by mx1.freebsd.org (Postfix) with ESMTP id 82AEB13C4A6 for ; Wed, 14 Feb 2007 23:39:55 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 5D9DD45685; Thu, 15 Feb 2007 00:39:53 +0100 (CET) Received: from localhost (154.81.datacomsa.pl [195.34.81.154]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id 4089A45681; Thu, 15 Feb 2007 00:39:48 +0100 (CET) Date: Thu, 15 Feb 2007 00:38:48 +0100 From: Pawel Jakub Dawidek To: Eric Anderson Message-ID: <20070214233848.GA13680@garage.freebsd.pl> References: <45D321F8.2000808@centtech.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="+QahgC5+KEYLbs62" Content-Disposition: inline In-Reply-To: <45D321F8.2000808@centtech.com> X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 7.0-CURRENT i386 User-Agent: mutt-ng/devel-r804 (FreeBSD) X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-2.6 required=3.0 tests=BAYES_00 autolearn=ham version=3.0.4 Cc: "freebsd-fs@freebsd.org" Subject: Re: fsck times/memory sizes/etc X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Feb 2007 23:39:56 -0000 --+QahgC5+KEYLbs62 Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Feb 14, 2007 at 08:51:36AM -0600, Eric Anderson wrote: > I just did some quick playing around, doing newfs and fsck's on fresh fil= e systems. I did one set on a 1Gb malloc'ed md, and another on a 65GB real= disk device. The disk=20 > was only being used for this test, nothing else. >=20 > I don't claim these numbers are perfect, but I did run each test 3-4 time= s to make sure they were consistent. >=20 > I found it interesting that the fsck times didn't reduce once all the fil= es/directories were deleted. This may be because of UFS2 has lazy inodes allocator - it doesn't initialize all inode blocks at newfs time, so fsck verifies only allocated inode blocks, thus runs faster on new file system. When you fill your file system, inode blocks are allocated, but are not reclaimed when you delete file/directories. You may try the same tests with UFS1, which allocates all inode blocks at newfs time. --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --+QahgC5+KEYLbs62 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFF052IForvXbEpPzQRAnu8AKDPcMJel6A9qtndNIcDJCRWQdJLRwCePZt4 g8uPLFERBVPnTEvkfQU7/2w= =2sib -----END PGP SIGNATURE----- --+QahgC5+KEYLbs62--