what is fsck's "slowdown"?

Marc G. Fournier scrappy at hub.org
Sat Sep 4 09:56:23 PDT 2004


On Fri, 3 Sep 2004, Don Lewis wrote:

> On  4 Sep, Marc G. Fournier wrote:
>> On Fri, 3 Sep 2004, Don Lewis wrote:
>
>>> Would the file system in question happen to be full of UNREF files that
>>> fsck is deleting?
>>
>> mostly 'ZERO LENGTH DIRECTORY' ...
>
> Hmn, this may be something else then, possibly the buffer lookup in
> getdatablk().  It would be very interesting to compile/link a profiled
> version of fsck and see what shows up as the hot spot.  Are you using
> the default value for MAXBUFSPACE (defined in fsck.h).

Everything *should* be default ... I've never modified fsck.h myself, but 
do have a -D flag set in /etc/make.conf to increase KMEM_SIZE so that 
we're able to increase our # of vnodes, so unless it somehow uses that to 
change teh default value ... ?

----
Marc G. Fournier           Hub.Org Networking Services (http://www.hub.org)
Email: scrappy at hub.org           Yahoo!: yscrappy              ICQ: 7615664


More information about the freebsd-current mailing list