Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Jun 2008 16:04:18 -0400
From:      Paul <bsdlist@cogeco.ca>
To:        freebsd-stable@freebsd.org
Subject:   Re: Areca Raid 6 ARC-1231 Raid 6 Slow LS Listing Performance on large directory
Message-ID:  <20080611200342.A53901DEF@fep1.cogeco.net>
In-Reply-To: <200806111811.m5BIBMkl074039@lava.sentex.ca>
References:  <20080611173211.A899C1E9E@fep5.cogeco.net> <200806111811.m5BIBMkl074039@lava.sentex.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
At 02:11 PM 11/06/2008, Mike Tancsa wrote:

>>Any ideas why it takes so long for this on Freebsd 7.0 stable?
>>
>>The partition this folder is on it /dev/da0s1f  with a total size 
>>of 1.7T  and a usage of  63G
>>
>>Any suggestions or help on this would be greatly appreciated.
>
>Couple of things to check
>
>In /etc/nsswitch.conf try changing to
>
>group: files
>passwd: files
>
>and check to make sure
>vfs.ufs.dirhash_maxmem is > than vfs.ufs.dirhash_mem.  If 
>vfs.ufs.dirhash_mem is hit the max, increase the maxmem value
>
>         ---Mike


Thanks a lot for the quick reply.

Changing from compat to files fixes the problem.

It is now superfast when running ls -lh.

Thanks again!

Cheers

Paul






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