bsdtar eats CPU when extracting POSIX tar archive

Jun Kuriyama kuriyama at
Sun Aug 29 20:29:12 PDT 2004

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> // IMG SRC, Inc.
             <kuriyama at> // FreeBSD Project

More information about the freebsd-current mailing list