bsdtar eats CPU when extracting POSIX tar archive
Tim Kientzle
kientzle at freebsd.org
Thu Aug 26 20:45:11 PDT 2004
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
More information about the freebsd-current
mailing list