From owner-freebsd-hackers@freebsd.org Tue Aug 18 22:05:12 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 D20009BBC59 for ; Tue, 18 Aug 2015 22:05:12 +0000 (UTC) (envelope-from larry.maloney@hackerdojo.com) Received: from mail-pa0-f48.google.com (mail-pa0-f48.google.com [209.85.220.48]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id ACADF7F5 for ; Tue, 18 Aug 2015 22:05:12 +0000 (UTC) (envelope-from larry.maloney@hackerdojo.com) Received: by pacgr6 with SMTP id gr6so141431430pac.2 for ; Tue, 18 Aug 2015 15:05:06 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:content-type:mime-version:subject:from :in-reply-to:date:cc:content-transfer-encoding:message-id:references :to; bh=rjb8lS9CteCMSZZ8kZkBXI9nMI0YI9GkfsOO2fnJrpw=; b=A+v0NrW0F87tbkj9zfdYXIWAkNGcL5Ycz+QZcZVGK3FjZBChd4mpCOCIiNSiMCzpmd /G8BnDHkmo+am6dvC8P6c8K2eiM9KhJCkMtKMcb6+/0YeKPem1FTV69mK6AHyIk79IQe 1KAzilSS1dq8o32AVNxac4GallvqyydEHCiqA1Nd+bD7vG6RC3KCf/liwPs9ZayNHunv s25R3h4pM8qSJgkQ8OHlse1sKCyVuYfdzHbx4m+RIIycIxY4fHZil6uw+FjJQTN7Tqpb KcDZn9XI7d77bXUF/rOu8THDKPKjullvwa+E/m/ZSzRFKvkgZP/KlNckMdmoJvTpvNN3 VMOg== X-Gm-Message-State: ALoCoQkCXzkaRWGHAWfchr2d90xS3OpeOvlUe3tlWtEcELbRZO0AXs9/4NQms4I4XtRPf24YYWUZ X-Received: by 10.66.241.130 with SMTP id wi2mr17816550pac.130.1439935506318; Tue, 18 Aug 2015 15:05:06 -0700 (PDT) Received: from [29.216.184.177] (66-87-118-177.pools.spcsdns.net. [66.87.118.177]) by smtp.gmail.com with ESMTPSA id qr5sm15622216pbb.26.2015.08.18.15.05.03 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 18 Aug 2015 15:05:03 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (1.0) Subject: Re: System briefly freezes every time when a very large UFS directory is filled with files From: Larry Maloney X-Mailer: iPhone Mail (12H321) In-Reply-To: <55D38A75.6090508@rawbw.com> Date: Tue, 18 Aug 2015 15:05:02 -0700 Cc: Freebsd hackers list Content-Transfer-Encoding: quoted-printable Message-Id: References: <55D38A75.6090508@rawbw.com> To: Yuri 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: Tue, 18 Aug 2015 22:05:12 -0000 Could you organize the files into a hierarchy?=20 /Larry Sent from my iPhone > On Aug 18, 2015, at 12:41 PM, Yuri wrote: >=20 > I have one directory that has ~1.2M files on UFS system. > Every time when the process that creates files there reaches a particular p= oint (~0.9M files), system invariably freezes for ~10 seconds, after which i= t continues and process succeeds. >=20 > I know that this is quite an extreme number of files but, other than this p= roblem, it is usable in this setup. >=20 > Maybe someone can think of some fix or the immediate reason of such freeze= s? This isn't a good problem to have, even in the view of an extremity of th= is situation. >=20 > 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"=