On Thu, 23 Apr 2009 17:25:57 +0200
Jan Stary <[email protected]> wrote:
> On Apr 23 18:09:55, Thomas Pfaff wrote:
> > First on Ubuntu:
>
> > /dev/sda2 on / type ext3 (rw,relatime,errors=remount-ro)
> > ~$ time (tar -zxf ports.tar.gz && sync)
> > real 0m47.784s
> > user 0m1.576s
> > sys 0m5.024s
>
> > Then the same commands on OpenBSD:
> > /dev/wd0k on /home type ffs (local, nodev, nosuid, softdep)
> > $ time (tar -zxf ports.tar.gz && sync)
> > 1m2.62s real 0m1.15s user 0m7.15s system
>
> So you have ~52 seconds on ext3 mounted 'realtime' (whatever that means),
> versus ~63 seconds on ffs mounted with 'softdep'.
> What was the problem again?
That I cannot get the job done in less than a minute on OpenBSD
while on Linux it takes only 18 seconds.
> What happens with 'noatime' on the ffs partition?
Script started on Thu Apr 23 19:35:37 2009
$ mount
/dev/wd0a on / type ffs (local, softdep)
/dev/wd0k on /home type ffs (local, noatime, nodev, nosuid, softdep)
fs:/pub on /pub type nfs (nodev, noexec, nosuid, v3, udp, timeo=100)
$ pwd
/home/tpfaff
$ time tar -xzf ports.tar.gz
1m3.92s real 0m0.97s user 0m7.09s system
$ time rm -rf ports
0m15.34s real 0m0.16s user 0m1.43s system
$ exit
Script done on Thu Apr 23 19:37:20 2009