From owner-freebsd-hackers Thu Jan 15 18:20:02 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA11946 for hackers-outgoing; Thu, 15 Jan 1998 18:20:02 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from gaia.coppe.ufrj.br (cisigw.coppe.ufrj.br [146.164.5.200]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA11907 for ; Thu, 15 Jan 1998 18:19:54 -0800 (PST) (envelope-from jonny@coppe.ufrj.br) Received: (from jonny@localhost) by gaia.coppe.ufrj.br (8.8.8/8.8.8) id AAA07787; Fri, 16 Jan 1998 00:19:40 -0200 (EDT) (envelope-from jonny) From: Joao Carlos Mendes Luis Message-Id: <199801160219.AAA07787@gaia.coppe.ufrj.br> Subject: Re: Directory Search Optimization In-Reply-To: <199801160207.MAA01037@word.smith.net.au> from Mike Smith at "Jan 16, 98 12:37:06 pm" To: mike@smith.net.au (Mike Smith) Date: Fri, 16 Jan 1998 00:19:40 -0200 (EDT) Cc: jonny@coppe.ufrj.br, hackers@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL32 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk #define quoting(Mike Smith) // > 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 I had to do this while removing the trash. Still, it took around to 10 minutes to remove 20k files. And it was only the rm. // 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. If you say that having your mail spool in an async file system is not bad, I hope this mail gets intact to you. :) Of course, in Linux they always do this, but who cares for them ? :)))) Jonny -- Joao Carlos Mendes Luis jonny@gta.ufrj.br +55 21 290-4698 jonny@coppe.ufrj.br Universidade Federal do Rio de Janeiro UFRJ/COPPE/CISI PGP fingerprint: 29 C0 50 B9 B6 3E 58 F2 83 5F E3 26 BF 0F EA 67