From owner-freebsd-hackers Thu Jan 15 18:15:43 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA11609 for hackers-outgoing; Thu, 15 Jan 1998 18:15:43 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from word.smith.net.au (vh1.gsoft.com.au [203.38.152.122]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA11590 for ; Thu, 15 Jan 1998 18:15:25 -0800 (PST) (envelope-from mike@word.smith.net.au) Received: from word (localhost [127.0.0.1]) by word.smith.net.au (8.8.8/8.8.5) with ESMTP id MAA01037; Fri, 16 Jan 1998 12:37:06 +1030 (CST) Message-Id: <199801160207.MAA01037@word.smith.net.au> X-Mailer: exmh version 2.0zeta 7/24/97 To: Joao Carlos Mendes Luis cc: hackers@FreeBSD.ORG Subject: Re: Directory Search Optimization In-reply-to: Your message of "Thu, 15 Jan 1998 23:27:49 -0200." <199801160127.XAA03084@gaia.coppe.ufrj.br> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 16 Jan 1998 12:37:06 +1030 From: Mike Smith Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk > Hi, > > Sometime ago I've heard about directory search optimizations in FreeBSD. > How is this going ? > > I have a small "problem" in /var/spool/mqueue, with 22k files. Just > removing some of them takes stupid ammounts of time and CPU: What happens if you mount the filesystem async? We regularly have directories many more files than that (eg. we have a disk in for replacement with several directories with more than 100,000 files in them). We do try to discourage users from doing this, but working with them isn't all that bad. -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\