System briefly freezes every time when a very large UFS directory is filled with files
Wojciech Puchar
wojtek at puchar.net
Wed Aug 19 09:20:37 UTC 2015
do you have UFS_DIRHASH enabled in kernel.
without this you may expect huge slowdown and very low performance when
accessing files from that directory.
On Wed, 19 Aug 2015, Julian Elischer wrote:
> On 8/19/15 3:41 AM, Yuri wrote:
>> I have one directory that has ~1.2M files on UFS system.
>> Every time when the process that creates files there reaches a particular
>> point (~0.9M files), system invariably freezes for ~10 seconds, after which
>> it continues and process succeeds.
> Try increase the size of the directory hash/cache.
>>
>> I know that this is quite an extreme number of files but, other than this
>> problem, it is usable in this setup.
>>
>> Maybe someone can think of some fix or the immediate reason of such
>> freezes? This isn't a good problem to have, even in the view of an
>> extremity of this situation.
>>
>> Yuri
>> _______________________________________________
>> freebsd-hackers at freebsd.org mailing list
>> https://lists.freebsd.org/mailman/listinfo/freebsd-hackers
>> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe at freebsd.org"
>>
>
> _______________________________________________
> freebsd-hackers at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe at freebsd.org"
>
>
More information about the freebsd-hackers
mailing list