From owner-freebsd-chat Fri May 21 14:52:51 1999 Delivered-To: freebsd-chat@freebsd.org Received: from smtp01.primenet.com (smtp01.primenet.com [206.165.6.131]) by hub.freebsd.org (Postfix) with ESMTP id 91CC714EB6 for ; Fri, 21 May 1999 14:52:49 -0700 (PDT) (envelope-from tlambert@usr07.primenet.com) Received: (from daemon@localhost) by smtp01.primenet.com (8.8.8/8.8.8) id OAA15990; Fri, 21 May 1999 14:52:49 -0700 (MST) Received: from usr07.primenet.com(206.165.6.207) via SMTP by smtp01.primenet.com, id smtpd015951; Fri May 21 14:52:44 1999 Received: (from tlambert@localhost) by usr07.primenet.com (8.8.5/8.8.5) id OAA04534; Fri, 21 May 1999 14:52:41 -0700 (MST) From: Terry Lambert Message-Id: <199905212152.OAA04534@usr07.primenet.com> Subject: Re: SGI, XFS and OSS? To: mbendiks@eunet.no (Marius Bendiksen) Date: Fri, 21 May 1999 21:52:40 +0000 (GMT) Cc: dkelly@hiwaay.net, freebsd-chat@FreeBSD.ORG In-Reply-To: from "Marius Bendiksen" at May 21, 99 08:57:04 am X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-chat@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > Another good test of speed was "rm -rf /usr/ports". The O2 could do it > > so fast it was frightening. > > This should take seconds, at most, with softupdates? No. This is a result of a bredth-first algorithm interacting with a depth first algorithm. The way the ports are created is antithetical to the way rm -r walks the tree. Basically, the prots collection is created incorrectly, and needs to be ficed. This has been discussed before, ad nausium, with no one with commit privileges doing anything but damaging the performance of the generic FFS to try to (unsuccessfully) optimize this particular corner case. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-chat" in the body of the message