From owner-freebsd-current@FreeBSD.ORG Mon Aug 23 10:07:06 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 C89D916A4CE for ; Mon, 23 Aug 2004 10:07:06 +0000 (GMT) Received: from black.imgsrc.co.jp (black.imgsrc.co.jp [210.226.20.147]) by mx1.FreeBSD.org (Postfix) with ESMTP id 936F643D39 for ; Mon, 23 Aug 2004 10:07:06 +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 6EFD150B7A for ; Mon, 23 Aug 2004 19:07:05 +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 E797850B13 for ; Mon, 23 Aug 2004 19:07:03 +0900 (JST) Date: Mon, 23 Aug 2004 19:07:03 +0900 Message-ID: <7m3c2e88xk.wl@black.imgsrc.co.jp> From: Jun Kuriyama To: Current 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 Subject: 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, 23 Aug 2004 10:07:06 -0000 This is 6.0-current as of 2004.08.22.23.10.00. When I do extracting stage in ports, I felt the heavy load sometimes. I'm not sure this can be reproduced with others' environment, but in my environment, I can reproduce this easily. With usual "tar archive", it extracted in normal time, but "POSIX tar archive", it takes too long. Is there any other reasons to make this extracting slow down? ----- tar archive % file /var/tmp/apachetop-0.12.tar /var/tmp/apachetop-0.12.tar: tar archive % ls -l /var/tmp/apachetop-0.12.tar -rw-r--r-- 1 root wheel 563200 Aug 23 18:57 /var/tmp/apachetop-0.12.tar % sudo time -l tar xf /var/tmp/apachetop-0.12.tar 0.08 real 0.00 user 0.08 sys 992 maximum resident set size 88 average shared memory size 112 average unshared data size 140 average unshared stack size 100 page reclaims 0 page faults 0 swaps 0 block input operations 1 block output operations 0 messages sent 0 messages received 0 signals received 0 voluntary context switches 4 involuntary context switches ----- ----- 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 1308 maximum resident set size 88 average shared memory size 268 average unshared data size 128 average unshared stack size 147 page reclaims 0 page faults 0 swaps 0 block input operations 0 block output operations 5016 messages sent 5016 messages received 0 signals received 5001 voluntary context switches 2121 involuntary context switches ----- -- Jun Kuriyama // IMG SRC, Inc. // FreeBSD Project