Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Aug 2005 23:25:23 +0200
From:      Marian Hettwer <MH@kernel32.de>
To:        Mike Tancsa <mike@sentex.net>
Cc:        freebsd-current@freebsd.org
Subject:   Re: filesystem performance with lots of small files
Message-ID:  <430E3743.3030108@kernel32.de>
In-Reply-To: <6.2.3.4.0.20050825135916.07a19ac8@64.7.153.2>
References:  <430E06AA.2000907@kernel32.de> <6.2.3.4.0.20050825135916.07a19ac8@64.7.153.2>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi Mike,

Mike Tancsa wrote:
> At 01:58 PM 25/08/2005, Marian Hettwer wrote:
>=20
>> couldn't find any sysctl'=C2=B4s or kernel parameters.
>> I'll report numbers, as soon as I have them.
>> And yes, I disabled the debugging features in my kernel (WITNESS,=20
>> INVARIANTS ...)
>> Besides, I know that 6-BETA is not about performance at all :)
>>
>> any tips on file system performance with small files, though ?
>=20
>=20
> It might be hitting the dirhash max mem value.  What does=20
> vfs.ufs.dirhash_maxmem and vfs.ufs.dirhash_mem show ?
>=20
I didn't changed anything from the defaults... it looks like that:
mhettwer@submaster-test$ sysctl vfs.ufs.dirhash_maxmem
vfs.ufs.dirhash_maxmem: 2097152
mhettwer@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=20
some small facts :)
mhettwer@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




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