Date: Wed, 19 Aug 2015 11:01:17 +0200 (CEST) From: Wojciech Puchar <wojtek@puchar.net> To: Julian Elischer <julian@freebsd.org> Cc: Yuri <yuri@rawbw.com>, Freebsd hackers list <freebsd-hackers@FreeBSD.org> Subject: Re: System briefly freezes every time when a very large UFS directory is filled with files Message-ID: <alpine.BSF.2.20.1508191100420.5872@laptop.wojtek.intra> In-Reply-To: <55D3F1DD.6090807@freebsd.org> References: <55D38A75.6090508@rawbw.com> <55D3F1DD.6090807@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-hackers >> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" >> > > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.20.1508191100420.5872>