On Wed, Dec 28, 2011 at 10:31:40AM +0100, David Vasek wrote:

> On Tue, 27 Dec 2011, Otto Moerbeek wrote:
> 
> >There are several way to speedup fsck which are available now:
> >
> >- Use larger block and fragment sizes when doing a newfs, of course
> >this requires rebuilding the file system
> >- Recent versions of OpenBSd have some improvements with fsck that
> >kick in when the file systems was using softupdates when the system crashed.
> >- Use a smaller file system
> 
> Hello Otto,
> 
> is use of lower inode density while keeping the rest as default
> possible alternative or not? It seems to work. Does it have any
> adverse effect?

No.

> Provided one doesn't have several-TB file system full of hundreds
> millions tiny files, of course, but then it is not any better than
> larger blocks and fragments. And both solutions reduce memory needed
> for fsck.
> 
> Thanks for your answer.
> 
> Regards,
> David

The number of inodes is indeed the most important factor for fsck
memory usage and speed. 

Increasing block and fragment size als has the effect of reducing inode
density, while reducing metadata overhead at the same time (unless you
have very many small files). 

        -Otto

Reply via email to