From owner-freebsd-current@FreeBSD.ORG Mon Aug 30 03:29:12 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CA75916A4CE; Mon, 30 Aug 2004 03:29:12 +0000 (GMT) Received: from black.imgsrc.co.jp (black.imgsrc.co.jp [210.226.20.147]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2CEDE43D54; Mon, 30 Aug 2004 03:29:12 +0000 (GMT) (envelope-from kuriyama@imgsrc.co.jp) Received: from localhost (localhost [127.0.0.1]) by black.imgsrc.co.jp (Postfix) with ESMTP id D447B50BD6; Mon, 30 Aug 2004 12:29:10 +0900 (JST) Received: from black.imgsrc.co.jp (black.imgsrc.co.jp [IPv6:2001:218:422:2::9999]) by black.imgsrc.co.jp (Postfix) with ESMTP id C70E350BC0; Mon, 30 Aug 2004 12:29:08 +0900 (JST) Date: Mon, 30 Aug 2004 12:29:08 +0900 Message-ID: <7m4qml483f.wl@black.imgsrc.co.jp> From: Jun Kuriyama To: Tim Kientzle 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> User-Agent: Wanderlust/2.10.1 (Watching The Wheels) SEMI/1.14.6 (Maruoka) FLIM/1.14.6 (Marutamachi) APEL/10.6 Emacs/21.3 (i386--freebsd) MULE/5.0 (SAKAKI) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Virus-Scanned: by amavisd 0.1 cc: Jun Kuriyama cc: Current Subject: Re: bsdtar eats CPU when extracting POSIX tar archive X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Aug 2004 03:29:12 -0000 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 // IMG SRC, Inc. // FreeBSD Project