From owner-freebsd-current@FreeBSD.ORG Fri Aug 27 03:45:11 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 2A9AA16A4CE for ; Fri, 27 Aug 2004 03:45:11 +0000 (GMT) Received: from kientzle.com (h-66-166-149-50.snvacaid.covad.net [66.166.149.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id EA53543D1D for ; Fri, 27 Aug 2004 03:45:10 +0000 (GMT) (envelope-from kientzle@freebsd.org) Received: from freebsd.org (p54.kientzle.com [66.166.149.54]) by kientzle.com (8.12.9/8.12.9) with ESMTP id i7R3jA90033672; Thu, 26 Aug 2004 20:45:10 -0700 (PDT) (envelope-from kientzle@freebsd.org) Message-ID: <412EAE44.9010500@freebsd.org> Date: Thu, 26 Aug 2004 20:45:08 -0700 From: Tim Kientzle User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.4) Gecko/20031006 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jun Kuriyama 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> In-Reply-To: <7mllg25qma.wl@black.imgsrc.co.jp> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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: Fri, 27 Aug 2004 03:45:11 -0000 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