Date: Thu, 26 Aug 2004 20:45:08 -0700 From: Tim Kientzle <kientzle@freebsd.org> To: Jun Kuriyama <kuriyama@imgsrc.co.jp> Cc: Current <freebsd-current@freebsd.org> Subject: Re: bsdtar eats CPU when extracting POSIX tar archive Message-ID: <412EAE44.9010500@freebsd.org> In-Reply-To: <7mllg25qma.wl@black.imgsrc.co.jp> References: <7m3c2e88xk.wl@black.imgsrc.co.jp> <412D6534.9030503@freebsd.org> <412D68AD.7050906@freebsd.org> <7moeky5wyg.wl@black.imgsrc.co.jp> <412D8958.7050707@freebsd.org> <7mllg25qma.wl@black.imgsrc.co.jp>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?412EAE44.9010500>