filesystem performance with lots of small files
MH at kernel32.de
Thu Aug 25 21:25:32 GMT 2005
Mike Tancsa wrote:
> At 01:58 PM 25/08/2005, Marian Hettwer wrote:
>> couldn't find any sysctl'ÂŽs or kernel parameters.
>> I'll report numbers, as soon as I have them.
>> And yes, I disabled the debugging features in my kernel (WITNESS,
>> INVARIANTS ...)
>> Besides, I know that 6-BETA is not about performance at all :)
>> any tips on file system performance with small files, though ?
> It might be hitting the dirhash max mem value. What does
> vfs.ufs.dirhash_maxmem and vfs.ufs.dirhash_mem show ?
I didn't changed anything from the defaults... it looks like that:
mhettwer at submaster-test$ sysctl vfs.ufs.dirhash_maxmem
mhettwer at submaster-test$ sysctl vfs.ufs.dirhash_mem
By the way, the copy job of my small files finished, so here we go with
some small facts :)
mhettwer at submaster-test$ sudo time find /usr/tmp/ | wc -l
133.81 real 2.01 user 3.95 sys
nearly three million files. quite a lot ...
More information about the freebsd-current