bsdtar eats CPU when extracting POSIX tar archive

Jun Kuriyama kuriyama at imgsrc.co.jp
Thu Aug 26 00:02:25 PDT 2004


At Wed, 25 Aug 2004 23:55:20 -0700,
Tim Kientzle wrote:
> Looks like it could be network related.  I see almost
> 5,000 calls to recvfrom.  With that much network I/O,
> any network issues on that box would definitely cause problems.
> 
> Do you know what's causing that?  Is it uid/gid lookups,
> perhaps?  bsdtar does not (yet) do any caching of uid/gid
> lookups; once I implement that, it will definitely have a
> big performance impact for folks using NIS or LDAP.  But
> that still seems like a lot.  I wonder if there's something
> else going on?

Hmm, yes, this box uses NIS as client.  I confirmed a lot of NIS
packets during extraction.  Is GNU tar implemented such a caching?
Using gtar is faster like usual on my box.


-- 
Jun Kuriyama <kuriyama at imgsrc.co.jp> // IMG SRC, Inc.
             <kuriyama at FreeBSD.org> // FreeBSD Project


More information about the freebsd-current mailing list