Re: bsdtar eats CPU when extracting POSIX tar archive

From: Tim Kientzle <kientzle_at_freebsd.org>
Date: Wed, 25 Aug 2004 21:35:57 -0700
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
Received on Thu Aug 26 2004 - 02:35:58 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:08 UTC