Hi,
I've noticed bzip2 does not scale (on Quad Core I have less than 1.0 load when archiving a big file with bzip2).
With pbzip2 I can speed up the archiving process x3 times.
Is ok to move bzip2 from /usr/bin/bzip2 and then create a symlink to pbzip2 ?
That would be something like this:
I want that my tar utility to use bpzip2 instead of bzip2. I want to know if I break anything by using that method or if is there other approach other than the one with pipes.
The one with pipes would be:
or:
I've noticed bzip2 does not scale (on Quad Core I have less than 1.0 load when archiving a big file with bzip2).
With pbzip2 I can speed up the archiving process x3 times.
Is ok to move bzip2 from /usr/bin/bzip2 and then create a symlink to pbzip2 ?
That would be something like this:
Code:
mv /usr/bin/bzip2 /usr/bin/bzip2.old
ln -s /usr/local/bin/pbzip2 /usr/bin/bzip2
I want that my tar utility to use bpzip2 instead of bzip2. I want to know if I break anything by using that method or if is there other approach other than the one with pipes.
The one with pipes would be:
Code:
tar cf - . | pbzip2 > ../file.tbz
or:
Code:
tar --use-compress-prog=pbzip2 -cf file.tbz .