From owner-freebsd-current@FreeBSD.ORG Wed Jul 20 09:48:46 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7F22616A41F; Wed, 20 Jul 2005 09:48:46 +0000 (GMT) (envelope-from riggs@rrr.de) Received: from mail-out.m-online.net (mail-out.m-online.net [212.18.0.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0943E43D46; Wed, 20 Jul 2005 09:48:45 +0000 (GMT) (envelope-from riggs@rrr.de) Received: from mail.m-online.net (svr20.m-online.net [192.168.3.148]) by mail-out.m-online.net (Postfix) with ESMTP id 61C91FB1B; Wed, 20 Jul 2005 11:48:44 +0200 (CEST) Received: from marvin.riggiland.au (ppp-62-245-162-72.mnet-online.de [62.245.162.72]) by mail.m-online.net (Postfix) with ESMTP id 197E9C6600; Wed, 20 Jul 2005 11:48:42 +0200 (CEST) Received: from marvin.riggiland.au (localhost [127.0.0.1]) by marvin.riggiland.au (8.13.3/8.13.3) with ESMTP id j6K9mW0t065237; Wed, 20 Jul 2005 11:48:32 +0200 (CEST) (envelope-from riggs@marvin.riggiland.au) Received: (from riggs@localhost) by marvin.riggiland.au (8.13.3/8.13.3/Submit) id j6K9mVrd065236; Wed, 20 Jul 2005 11:48:31 +0200 (CEST) (envelope-from riggs) Date: Wed, 20 Jul 2005 11:48:30 +0200 From: "Thomas E. Zander" To: freebsd-current@freebsd.org Message-ID: <20050720094830.GR782@marvin.riggiland.au> References: <42DD64AB.3000605@centtech.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: <42DD64AB.3000605@centtech.com> Organization: Chaotic X-PGP-KeyID: 0xC85996CD X-PGP-URI: http://blackhole.pca.dfn.de:11371/pks/lookup?op=get&search=0xC85996CD X-PGP-Fingerprint: 4F59 75B4 4CE3 3B00 BC61 5400 8DD4 8929 C859 96CD X-Mailer: Marvin Mail (Build 1121849089) X-Operating-System: FreeBSD 5.4-STABLE Cc: freebsd-fs@freebsd.org Subject: Re: mksnap_ffs takes 4-5 minutes? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jul 2005 09:48:46 -0000 Hi, On Tue, 19. Jul 2005, at 15:38 -0500, Eric Anderson wrote according to [mksnap_ffs takes 4-5 minutes?]: > This time, when I ran mksnap_ffs, the command took nearly 5 minutes [...] > Filesystem 1K-blocks Used Avail Capacity iused ifree > /dev/da1s1d 406234604 91799154 281936682 25% 1300303 51197103 I have a fs here with similar (but smaller size) parameters concerning inode density and usage: Filesystem 1K-blocks Used Avail Capacity iused ifree /dev/ad1s1d 113390248 92926924 18195520 84% 248434 14424460 time mksnap_ffs'ing gives the following result: 0.007u 1.902s 1:51.94 1.6% 5+217k 4493+8646io 0pf+0w It takes almost 2 minutes which seem to perform similarly to your 5 minutes. (There was not a single file opened when snapping.) I'd expect snapping to speed up by reducing the inode number when doing newfs, but I haven't verified this right now. Riggs (f'up to freebsd-fs) -- - "[...] I talked to the computer at great length and -- explained my view of the Universe to it" said Marvin. --- And what happened?" pressed Ford. ---- "It committed suicide." said Marvin.