Many times faster (de)compression using multiple processors.
21–25 of 25 posts
Re: Many times faster (de)compression using multiple processors.
#22This is awesome since compression in parallel has been largely neglected in practice.
Re: Many times faster (de)compression using multiple processors.
#23Re: Many times faster (de)compression using multiple processors.
#24It's good people get interested in the subject. But this is very odd and has some errors. For example xz requires a lot more memory resources than bzip2 (see benchmarks below, Mem column). http://mattmahoney.net/dc/text.html http://mattmahoney.net/dc/uiq/ Matt Mahoney mantains the best benchmarks on text and generic compression. Some of the best on the field (like Matt) usually hang out at encode.ru.
I usually use -0 with xz because it is extremely fast and memory-efficient yet still compresses better than gzip or bzip2. You can also use -0e for a slower, better compression that still requires only 1 MB to decompress. This way the decompressor can run entirely within the CPU's cache.
Re: Many times faster (de)compression using multiple processors.
#25It's good people get interested in the subject. But this is very odd and has some errors. For example xz requires a lot more memory resources than bzip2 (see benchmarks below, Mem column). http://mattmahoney.net/dc/text.html http://mattmahoney.net/dc/uiq/ Matt Mahoney mantains the best benchmarks on text and generic compression. Some of the best on the field (like Matt) usually hang out at encode.ru.
That benchmark runs xz with the -9e flags, which turn on its slowest and most memory-intensive mode. If you pass it -0 it only needs 3 MB to compress and 1 MB to decompress. I usually use -0 with xz because it is extremely fast and memory-efficient yet still compresses better than gzip or bzip2. You can also use -0e for a slower, better compression that still requires only 1 MB to decompress. This way the decompresso…
http://mattmahoney.net/dc/text.html#2118
http://mattmahoney.net/dc/text.html#2300
Proper analysis would need benchmarking with different data and different flags for all compressors.