Re: bsdtar eats CPU when extracting POSIX tar archive

From: Jun Kuriyama <kuriyama_at_imgsrc.co.jp>
Date: Thu, 26 Aug 2004 16:02:21 +0900
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
Received on Thu Aug 26 2004 - 05:02:25 UTC

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