🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #18435

Re: Fastrm is a PIG

#18435
From: Doug McLaren
Date: Thu, 12 Jun 1997 00:00
27 lines
1634 bytes
In article <5n7e9o$l69$1@mephisto.imp.ch>,
Stefan Hauser <etienne@mephisto.imp.ch> wrote:
| In article <5n6c9q$m2g@news.bu.edu>, Charles Ball <cball@bu.edu> wrote:
| [...]
| >discovered a leak in control recently, the directory file had grown to
| >three and a half megabytes and it took well over 20 hours for rm -r to
| >delete the directory; I calculated that it was removing files at 3-4
| >per second.
...
| guess that depends a bit on the machine/os/fs ...
| that's on a sgi indy (133mhz R4600PC) with xfs

If I recall correctly, XFS has binary tree lookups for files in a
directory.  So, to search for a given file in a huge directory, the
time needed is O(ln n) and not O(n).

For a news server, this should be a huge win ...

I haven't actually used it, so I could be mistaken somewhere too :)

-- 
Doug McLaren, dougmc@ccwf.cc.utexas.edu
Unsolicited email of a commercial or advertising nature is not welcomed.
<http://spam.abuse.net/spam/> Because The Only GOOD Spammer is a DEAD Spammer

Technical Details
Message-ID: <5npdgh$o3m@piglet.cc.utexas.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
References: <338209E6.76EA@MBnet.MB.CA> <5n6c9q$m2g@news.bu.edu> <5n7e9o$l69$1@mephisto.imp.ch>

Show Full Headers
Complete Article Headers
Message-ID: <5npdgh$o3m@piglet.cc.utexas.edu>
Subject: Re: Fastrm is a PIG
Date: Thu, 12 Jun 1997 00:00:00 +0000
From: dougmc@ccwf.cc.utexas.edu (Doug McLaren)
References: <338209E6.76EA@MBnet.MB.CA> <5n6c9q$m2g@news.bu.edu> <5n7e9o$l69$1@mephisto.imp.ch>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 247941119
Distribution: inet
Organization: Doug's House of Disco
Newsgroups: news.software.nntp