From owner-freebsd-hackers Thu Jan 15 17:28:19 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA07499 for hackers-outgoing; Thu, 15 Jan 1998 17:28:19 -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 RAA07440 for ; Thu, 15 Jan 1998 17:28:01 -0800 (PST) (envelope-from jonny@coppe.ufrj.br) Received: (from jonny@localhost) by gaia.coppe.ufrj.br (8.8.8/8.8.8) id XAA03084; Thu, 15 Jan 1998 23:27:50 -0200 (EDT) (envelope-from jonny) From: Joao Carlos Mendes Luis Message-Id: <199801160127.XAA03084@gaia.coppe.ufrj.br> Subject: Directory Search Optimization To: hackers@FreeBSD.ORG Date: Thu, 15 Jan 1998 23:27:49 -0200 (EDT) 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 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: last pid: 2361; load averages: 3.50, 2.87, 2.55 23:20:48 101 processes: 4 running, 96 sleeping, 1 stopped CPU states: 10.4% user, 1.2% nice, 87.7% system, 0.8% interrupt, 0.0% idle Mem: 54M Active, 6564K Inact, 21M Wired, 23M Cache, 6655K Buf, 20M Free Swap: 128M Total, 32M Used, 96M Free, 25% Inuse PID USERNAME PRI NICE SIZE RES STATE TIME WCPU CPU COMMAND 1927 root 93 0 304K 180K RUN 0:13 27.03% 24.19% rm 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