Re: bsdtar eats CPU when extracting POSIX tar archive

From: Tim Kientzle <kientzle_at_freebsd.org>
Date: Thu, 26 Aug 2004 20:45:08 -0700
Jun Kuriyama wrote:
> 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.

Tim Kientzle
Received on Fri Aug 27 2004 - 01:45:11 UTC

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