Date: Wed, 25 Aug 2004 21:35:57 -0700 From: Tim Kientzle <kientzle@freebsd.org> To: Jun Kuriyama <kuriyama@imgsrc.co.jp> Cc: Current <freebsd-current@freebsd.org> Subject: Re: bsdtar eats CPU when extracting POSIX tar archive Message-ID: <412D68AD.7050906@freebsd.org> In-Reply-To: <412D6534.9030503@freebsd.org> References: <7m3c2e88xk.wl@black.imgsrc.co.jp> <412D6534.9030503@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?412D68AD.7050906>