From owner-freebsd-hackers@freebsd.org Wed Aug 19 09:02:07 2015 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B5CCF9BDCB1 for ; Wed, 19 Aug 2015 09:02:07 +0000 (UTC) (envelope-from wojtek@puchar.net) Received: from puchar.net (puchar.net [188.252.31.250]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "puchar.net", Issuer "puchar.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4250FED7 for ; Wed, 19 Aug 2015 09:02:05 +0000 (UTC) (envelope-from wojtek@puchar.net) Received: Received: from 127.0.0.1 (localhost [127.0.0.1]) by puchar.net (8.14.9/8.14.9) with ESMTP id t7J9218k036870 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 19 Aug 2015 11:02:02 +0200 (CEST) (envelope-from wojtek@puchar.net) Received: from laptop.wojtek.intra (localhost [127.0.0.1]) by laptop.wojtek.intra (8.14.9/8.14.9) with ESMTP id t7J91vAn005887; Wed, 19 Aug 2015 11:01:57 +0200 (CEST) (envelope-from wojtek@puchar.net) Received: from localhost (wojtek@localhost) by laptop.wojtek.intra (8.14.9/8.14.9/Submit) with ESMTP id t7J91qRV005884; Wed, 19 Aug 2015 11:01:52 +0200 (CEST) (envelope-from wojtek@puchar.net) X-Authentication-Warning: laptop.wojtek.intra: wojtek owned process doing -bs Date: Wed, 19 Aug 2015 11:01:52 +0200 (CEST) From: Wojciech Puchar X-X-Sender: wojtek@laptop.wojtek.intra To: Yuri cc: Freebsd hackers list Subject: Re: System briefly freezes every time when a very large UFS directory is filled with files In-Reply-To: <55D38A75.6090508@rawbw.com> Message-ID: References: <55D38A75.6090508@rawbw.com> User-Agent: Alpine 2.20 (BSF 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (puchar.net [10.0.1.1]); Wed, 19 Aug 2015 11:02:02 +0200 (CEST) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Aug 2015 09:02:07 -0000 > 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. how large is your vfs.ufs.dirhash_maxmem > > 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" > >