Re: bsdtar eats CPU when extracting POSIX tar archive

From: Jun Kuriyama <kuriyama_at_imgsrc.co.jp>
Date: Mon, 30 Aug 2004 12:29:08 +0900
At Thu, 26 Aug 2004 20:45:08 -0700,
Tim Kientzle wrote:
> >>Looks like it could be network related.  I see almost
> >>5,000 calls to recvfrom.  .....   Is it uid/gid lookups,
> >>perhaps?  bsdtar does not (yet) do any caching of uid/gid
> >>lookups...
> > 
> > Hmm, yes, this box uses NIS as client.  I confirmed a lot of NIS
> > packets during extraction.
> 
> I just added basic uid/gid caching in libarchive's extract
> routines.  This should provide a big performance boost
> to bsdtar in situations like yours.
> 
> Please try the libarchive/bsdtar that's in HEAD right
> now and let me know how that works for you.

I confirmed it in my environment and it works great!  Thanks!


-- 
Jun Kuriyama <kuriyama_at_imgsrc.co.jp> // IMG SRC, Inc.
             <kuriyama_at_FreeBSD.org> // FreeBSD Project
Received on Mon Aug 30 2004 - 01:29:12 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:09 UTC