Subject: Re: about untar performance on -current
To: Jared D. McNeill <jmcneill@invisible.yi.org>
From: Alistair Crooks <agc@pkgsrc.org>
List: tech-kern
Date: 04/12/2001 12:46:50
On Thu, Apr 12, 2001 at 08:36:08AM -0300, Jared D. McNeill wrote:
> Quoting Frank van der Linden <fvdl@wasabisystems.com>:
> > On Thu, Apr 12, 2001 at 08:03:23AM -0300, Jared D. McNeill wrote:
> > > Do you think you could try the ffs_dirpref() patch I posted here
> > yesterday with
> > > this and post numbers for that (with your patch) as well?
> >
> > Funny you should mention that.. I just ran a simple test. I extracted
> > gcc-2.95.2.tar.gz (12M file) on the P5-200, 64M, with:
> [ snip ]
> > Only the 'rm -rf' time is still worse:
> >
> > 1.5: 0.060u 0.435s 0:07.25 6.7% 0+0k 209+489io 19pf+0w
> > 1.5T: 0.038u 0.661s 0:15.06 4.5% 0+0k 59+1107io 8pf+0w
> > 1.5T+enami+dirpref: 0.094u 0.637s 0:11.72 6.1% 0+0k 32+1313io
> > 8pf+0w
>
> Could you try it with a larger file (pkgsrc.tar.gz for example) as well?
% ls -al /ftp/pub/NetBSD-current/tar_files/pkgsrc.tar.gz
-rw-rw-r-- 1 srcmastr netbsd 9321628 Apr 11 08:22 /ftp/pub/NetBSD-current/tar_files/pkgsrc.tar.gz
%
Now pkgsrc.tar.gz probably contains many more smaller files, but it's still
smaller than gcc-2.95.2.tar.gz.
Regards,
Alistair