Sep 062012
 

To show just how significant parallelized algorithms can be, today I discovered pxz, a parallelized version of the xz compression utility, which I use constantly. The proof is in the numbers:

Command Before After Ratio Time
xz 2937M 305M 0.104 32m
pxz -9e 2937M 281M 0.096 4m(!)

I put this alias in my .zshrc:

alias tar='tar --use-compress-program=pxz'

Note that to build pxz on the Mac, I had to comment out a reference to MAP_POPULATE, which the OS X’s mmap function doesn’t support.

 Posted by at 3:01 am

 Leave a Reply

(required)

(required)

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>