Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Nov 2001 23:45:29 +1030 (CST)
From:      "Daniel O'Connor" <doconnor@gsoft.com.au>
To:        Harry Putnam <reader@newsguy.com>
Cc:        freebsd-mobile@FreeBSD.ORG
Subject:   Re: Extreme filesystem sloth
Message-ID:  <XFMail.20011128234529.doconnor@gsoft.com.au>
In-Reply-To: <m1r8qjnqka.fsf@reader.newsguy.com>

next in thread | previous in thread | raw e-mail | index | archive | help

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




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