Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Aug 2004 12:29:08 +0900
From:      Jun Kuriyama <kuriyama@imgsrc.co.jp>
To:        Tim Kientzle <kientzle@freebsd.org>
Cc:        Current <freebsd-current@freebsd.org>
Subject:   Re: bsdtar eats CPU when extracting POSIX tar archive
Message-ID:  <7m4qml483f.wl@black.imgsrc.co.jp>
In-Reply-To: <412EAE44.9010500@freebsd.org>
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> <412EAE44.9010500@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
At Thu, 26 Aug 2004 20:45:08 -0700,
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.

I confirmed it in my environment and it works great!  Thanks!


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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7m4qml483f.wl>