[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-tar] GNU tar, star and BSD tar speed comparision +script
From: |
Joerg Schilling |
Subject: |
Re: [Bug-tar] GNU tar, star and BSD tar speed comparision +script |
Date: |
Tue, 23 Oct 2007 12:51:12 +0200 |
User-agent: |
nail 11.22 3/20/05 |
Tim Kientzle <address@hidden> wrote:
> Joerg Schilling wrote:
> > For "bsdtar", please provide a download URL
>
> http://people.freebsd.org/~kientzle/libarchive/
Some notes on portability:
1) I get many "warning"s like this one:
"tar/write.c", line 27: warning: syntax error: empty
declaration
2) setenv()/unsetenv() are a BSDism and not portable to all platforms
as these functions have been added to the POSIX standard recently.
3) the man page is unreadable as it has not been written using
the "man" troff macro set. You should either rewrite the man page
to use the man macros or write a bsd-man macro set that works with
troff.
Some notes on the speed compared to star:
ptime ./bsdtar cf /dev/null --format pax /usr
bsdtar: Removing leading '/' from member names
real 2:21.420
user 3.441
sys 12.320
The same into a real file:
real 9:46.884
user 3.768
sys 33.896
ptime star cf /dev/null -dump /usr
real 1:59.314
user 1.620
sys 11.141
The same into a real file:
real 6:12.720
user 1.890
sys 29.734
BTW: -dump in star is more than star H=exustar but bsdtar --format pax is
more than star H=exustar so I decided to make it harder for star.
Both programs have been compiled using Sun Studio with -fast.
This comparison makes the other test even more unbelievable.
Except for the lseek() list case, bsdtar is at the same speed level as
GNU tar - a bit slower than star.
Jörg
--
EMail:address@hidden (home) Jörg Schilling D-13353 Berlin
address@hidden (uni)
address@hidden (work) Blog: http://schily.blogspot.com/
URL: http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily
- Re: ODP: [Bug-tar] [RFC-Patch] --ignore-zeros for compare? (GNU tar, star and BSD tar speed comparision +script), (continued)
- Re: [Bug-tar] GNU tar, star and BSD tar speed comparision +script, Tim Kientzle, 2007/10/23
- Re: [Bug-tar] GNU tar, star and BSD tar speed comparision +script, Joerg Schilling, 2007/10/23
- Re: [Bug-tar] GNU tar, star and BSD tar speed comparision +script, Sergey Poznyakoff, 2007/10/23
- Re: [Bug-tar] GNU tar, star and BSD tar speed comparision +script, Tim Kientzle, 2007/10/23
- Re: [Bug-tar] GNU tar, star and BSD tar speed comparision +script, Sergey Poznyakoff, 2007/10/23
- Re: [Bug-tar] GNU tar, star and BSD tar speed comparision +script, Tim Kientzle, 2007/10/23
- ODP: [Bug-tar] GNU tar, star and BSD tar speed comparision +new script, Jan Psota, 2007/10/25
- Re: ODP: [Bug-tar] GNU tar, star and BSD tar speed comparision +new script, Tim Kientzle, 2007/10/25
- Re: ODP: [Bug-tar] GNU tar, star and BSD tar speed comparision +new script, Joerg Schilling, 2007/10/26
- Re: [Bug-tar] GNU tar, star and BSD tar speed comparision +script,
Joerg Schilling <=
Re: [Bug-tar] GNU tar, star and BSD tar speed comparision +script, Joerg Schilling, 2007/10/22