From owner-freebsd-current@FreeBSD.ORG Thu Aug 26 04:35:58 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 0C09216A4CE for ; Thu, 26 Aug 2004 04:35:58 +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 DEC5F43D55 for ; Thu, 26 Aug 2004 04:35:57 +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 i7Q4Zv90027482; Wed, 25 Aug 2004 21:35:57 -0700 (PDT) (envelope-from kientzle@freebsd.org) Message-ID: <412D68AD.7050906@freebsd.org> Date: Wed, 25 Aug 2004 21:35:57 -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> In-Reply-To: <412D6534.9030503@freebsd.org> 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: Thu, 26 Aug 2004 04:35:58 -0000 Tim Kientzle wrote: > Jun Kuriyama wrote: > >> >> ----- POSIX tar archive >> % file /var/tmp/vtun-2.6.tar >> /var/tmp/vtun-2.6.tar: POSIX tar archive >> % ls -l /var/tmp/vtun-2.6.tar >> -rw-r--r-- 1 root wheel 430080 Aug 23 18:54 /var/tmp/vtun-2.6.tar >> % sudo time -l tar xf /var/tmp/vtun-2.6.tar >> 65.75 real 0.22 user 62.64 sys > > > That certainly doesn't look right. > > Does this happen consistently? > > Can you send me a copy of this archive file so > I can try to reproduce it here? I pulled the current distfile for the vtun port, and it's definitely a GNU format archive, so I wasn't able to easily reproduce your problem. I'm suspicious that all of the time being used is system time. Could you try to find out which system calls are taking so long: ktrace tar xf /var/tmp/vtun-2.6.tar kdump -R -m 16 That might shed some light on matters. Tim Kientzle