mksnap_ffs takes 4-5 minutes?

Thomas E. Zander riggs at rrr.de
Wed Jul 20 09:48:46 GMT 2005


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.


More information about the freebsd-fs mailing list