Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Jan 1998 00:19:40 -0200 (EDT)
From:      Joao Carlos Mendes Luis <jonny@coppe.ufrj.br>
To:        mike@smith.net.au (Mike Smith)
Cc:        jonny@coppe.ufrj.br, hackers@FreeBSD.ORG
Subject:   Re: Directory Search Optimization
Message-ID:  <199801160219.AAA07787@gaia.coppe.ufrj.br>
In-Reply-To: <199801160207.MAA01037@word.smith.net.au> from Mike Smith at "Jan 16, 98 12:37:06 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
#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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199801160219.AAA07787>