Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Jul 2005 11:48:30 +0200
From:      "Thomas E. Zander" <riggs@rrr.de>
To:        freebsd-current@freebsd.org
Cc:        freebsd-fs@freebsd.org
Subject:   Re: mksnap_ffs takes 4-5 minutes?
Message-ID:  <20050720094830.GR782@marvin.riggiland.au>
In-Reply-To: <42DD64AB.3000605@centtech.com>
References:  <42DD64AB.3000605@centtech.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050720094830.GR782>