Re: filesystem performance with lots of small files

From: Marian Hettwer <MH_at_kernel32.de>
Date: Thu, 25 Aug 2005 23:25:23 +0200
Hi Mike,

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
vfs.ufs.dirhash_maxmem: 2097152
mhettwer_at_submaster-test$ sysctl vfs.ufs.dirhash_mem
vfs.ufs.dirhash_mem: 368622

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
  2904696

nearly three million files. quite a lot ...

regards,
Marian
Received on Thu Aug 25 2005 - 19:25:31 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:42 UTC