On Thu, Apr 23, 2009 at 05:19:34PM +0200, Thomas Pfaff wrote:
> On Thu, 23 Apr 2009 14:13:18 +0200
> Otto Moerbeek <o...@drijf.net> wrote:
> 
> > On Thu, Apr 23, 2009 at 02:02:06PM +0200, Tobias Ulmer wrote:
> > 
> > > On Thu, Apr 23, 2009 at 03:27:42PM +0200, Thomas Pfaff wrote:
> > > > I'm getting horrible disk performance compared to Ubuntu on my system.
> > > > 
> > > > I noticed this when extracting ports.tar.gz on the same machine with
> > > > different OSs (this is something I did a while back to check for
> > > > a possible hardware problem when OpenBSD crashed upon extracting
> > > > ports.tar.gz).
> > > > 
> > > > OpenBSD (ffs):
> > > > 
> > > >   $ time tar -zxf ports.tar.gz      0m59.90s real     0m1.00s user     
> > > > 0m6.95s system
> > > > 
> > > > Ubuntu (ext3):
> > > > 
> > > >   $ time tar -zxf ports.tar.gz
> > > >   real  0m18.440s
> > > >   user  0m1.212s
> > > >   sys   0m2.596s
> > > > 
> > > > 1 minute on OpenBSD and 18.5 seconds on Ubuntu, doing the exact same
> > > > thing on the exact same hardware!  Why the huge difference?  Both are
> > > > default installations, except softdep is turned on.
> > > > 
> > > > Thanks for any pointers or advice.
> > > >
> > > Try: time tar -zxf ports.tar.gz && sync
> > 
> > And include the output of mount and show the place where you are untarring.
> > 
> 
> $ mount
> /dev/wd0a on / type ffs (local, softdep)
> /dev/wd0k on /home type ffs (local, nodev, nosuid, softdep)
> fs:/pub on /pub type nfs (nodev, noexec, nosuid, v3, udp, timeo=100)
> 
> $ pwd
> /home/tpfaff
> 
> $ time tar -zxf ports.tar.gz && sync   # (... && sync) ~same result
>     1m2.66s real     0m1.09s user     0m6.85s system
> $ time rm -rf ports
>     0m15.20s real     0m0.15s user     0m1.42s system

and on linux?




[ remembered the () thing the very second i hit 'y' ;). I figured you're
clever enough... ]

Reply via email to