From owner-freebsd-mobile Wed Nov 28 5:16:27 2001 Delivered-To: freebsd-mobile@freebsd.org Received: from midget.dons.net.au (daniel.lnk.telstra.net [139.130.137.70]) by hub.freebsd.org (Postfix) with ESMTP id E54F937B41A for ; Wed, 28 Nov 2001 05:16:13 -0800 (PST) Received: from cain.gsoft.com.au (root@localhost [127.0.0.1]) by midget.dons.net.au (8.11.6/8.11.6) with ESMTP id fASDFTV60870; Wed, 28 Nov 2001 23:45:29 +1030 (CST) (envelope-from doconnor@gsoft.com.au) Message-ID: X-Mailer: XFMail 1.5.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: Date: Wed, 28 Nov 2001 23:45:29 +1030 (CST) From: "Daniel O'Connor" To: Harry Putnam Subject: Re: Extreme filesystem sloth Cc: freebsd-mobile@FreeBSD.ORG Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On 28-Nov-2001 Harry Putnam wrote: > For comparison later on after I've been able to make the changes here > is a reprint of the time on Freebsd and now duplicate manuever on the > same machine but under Linux (Redhat 7.1) > > On FreeBSD 4.3 > > du -sh mail_test > 94M mail_test > > rm -rf mail_test > real 7m13.484s > user 0m0.117s > sys 0m3.080s I don't happen to have 94meg of mail files handy, but.. [chowder 23:42] /tmp > du -s foo 18904 foo [chowder 23:42] /tmp > /usr/bin/time rm -rf foo 0.22 real 0.00 user 0.17 sys I have write caching and softupdates on though. (That directory has 3893 messages in it). > time rm -rf Mail > real 0m1.892s > user 0m0.110s > sys 0m1.818s > > Roughly 600 % faster on linux, and that is on the same box > (PentiumII 233mhz). > > I've got to hit the road now but making the configs will give me > something todo in the Motels... he he. Well, let's say it's a linear relationship.. 94 / 18.9 = 4.9735 0.22 * 4.9735 = 1.09 seconds. For data this small the results are probably meaningless anyway. --- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message