pbzip2 isn't faster

Chris Jones jonesc at hep.phy.cam.ac.uk
Fri Apr 4 10:13:21 PDT 2014


As already said, the original bzipped file needs to have been created with pbzip2 in order for the unzipping to see any improvement. 

> On 4 Apr 2014, at 05:08 pm, "René J.V. Bertin" <rjvbertin at gmail.com> wrote:
> 
> On Apr 04, 2014, at 17:26, Eric A. Borisch wrote:
> 
> I must confirm Ryan's observation:
> 
> 1.784_portia_936# time bzip2 -dc /opt/local/var//macports/software/clang-3.4/clang-3.4-3.4_0+analyzer+python27.darwin_10.x86_64.tbz2 > /dev/null
> 39.516 user_cpu 0.198 kernel_cpu 0:39.75 total_time 99.8%CPU {0W 0X 0D 0K 0M 0F 0R 0I 0O 0r 0s 0k 2w 0c}
> # time bzip2 -dc /opt/local/var//macports/software/clang-3.4/clang-3.4-3.4_0+analyzer+python27.darwin_10.x86_64.tbz2 > /dev/null
> 39.191 user_cpu 0.176 kernel_cpu 0:39.36 total_time 100.0%CPU {0W 0X 0D 0K 0M 0F 0R 2I 0O 0r 0s 0k 2w 0c}
> # time pbzip2 -dc /opt/local/var//macports/software/clang-3.4/clang-3.4-3.4_0+analyzer+python27.darwin_10.x86_64.tbz2 > /dev/null
> 41.739 user_cpu 0.132 kernel_cpu 0:41.62 total_time 100.5%CPU {0W 0X 0D 0K 0M 0F 0R 0I 0O 0r 0s 0k 2w 0c}
> # time pbzip2 -dc /opt/local/var//macports/software/clang-3.4/clang-3.4-3.4_0+analyzer+python27.darwin_10.x86_64.tbz2 > /dev/null
> 41.942 user_cpu 0.124 kernel_cpu 0:41.80 total_time 100.6%CPU {0W 0X 0D 0K 0M 0F 0R 0I 0O 0r 0s 0k 1w 0c}
> 6# time pbzip2 -v -dc /opt/local/var//macports/software/clang-3.4/clang-3.4-3.4_0+analyzer+python27.darwin_10.x86_64.tbz2 > /dev/null
> Parallel BZIP2 v1.1.8 - by: Jeff Gilchrist [http://compression.ca]
> [Jun. 10, 2012]               (uses libbzip2 by Julian Seward)
> Major contributions: Yavor Nikolov <nikolov.javor+pbzip2 at gmail.com>
> 
>         # CPUs: 4
> Maximum Memory: 100 MB
> Ignore Trailing Garbage: off
> -------------------------------------------
>         File #: 1 of 1
>     Input Name: /opt/local/var//macports/software/clang-3.4/clang-3.4-3.4_0+analyzer+python27.darwin_10.x86_64.tbz2
>    Output Name: <stdout>
> 
> BWT Block Size: 900k
>     Input Size: 272168185 bytes
> Decompressing data...
>    Output Size: 1218385920 bytes
> -------------------------------------------
> 
>     Wall Clock: 40.797562 seconds
> 40.935 user_cpu 0.131 kernel_cpu 0:40.80 total_time 100.6%CPU {0W 0X 0D 0K 0M 0F 0R 0I 0O 0r 0s 0k 1w 0c}
> 
> # time pbzip2 -v -rdc /opt/local/var//macports/software/clang-3.4/clang-3.4-3.4_0+analyzer+python27.darwin_10.x86_64.tbz2 > /dev/null
> Parallel BZIP2 v1.1.8 - by: Jeff Gilchrist [http://compression.ca]
> [Jun. 10, 2012]               (uses libbzip2 by Julian Seward)
> Major contributions: Yavor Nikolov <nikolov.javor+pbzip2 at gmail.com>
> 
>         # CPUs: 4
> Maximum Memory: 100 MB
> Ignore Trailing Garbage: off
> -------------------------------------------
>         File #: 1 of 1
>     Input Name: /opt/local/var//macports/software/clang-3.4/clang-3.4-3.4_0+analyzer+python27.darwin_10.x86_64.tbz2
>    Output Name: <stdout>
> 
> BWT Block Size: 900k
>     Input Size: 272168185 bytes
> *Warning* Max memory limit increased to 816 MB to support 4 CPUs
> Decompressing data...
>    Output Size: 1218385920 bytes
> -------------------------------------------
> 
>     Wall Clock: 39.034284 seconds
> 39.174 user_cpu 0.125 kernel_cpu 0:39.03 total_time 100.6%CPU {0W 0X 0D 0K 0M 0F 0R 0I 1O 0r 0s 0k 1w 0c}
> 
> 
> R
> _______________________________________________
> macports-users mailing list
> macports-users at lists.macosforge.org
> https://lists.macosforge.org/mailman/listinfo/macports-users


More information about the macports-users mailing list