A good compression utility is 7-zip (p7zip on linux) using the lzma-algorithm (slow compression, good decompression speed, very good compression ratio). Can decompress most popular archive-formats.
XZ compression is a relative newcomer, but is a good balance between compression and speed. Supposedly almost as good compression as bzip2, but only slightly slower than gzip.
Pick the best per your needs. The graphs in the first link comprehensively cover every Unix compression utility I've heard of. The second one offers some hard numbers from the more common untilities.
I tend towards lzma -2 when doing large backups, which offers smaller AND faster compression than bzip -9.
bzip is pretty efficient, spacewise, but not as fast as some of the others.
From "man bzip2":
bzip2 compresses files using the Burrows-Wheeler block sorting text compression algo‐ rithm, and Huffman coding. Compression is generally considerably better than that achieved by more conventional LZ77/LZ78-based compressors, and approaches the performance of the PPM family of statistical compressors.
发布评论
评论(5)
取决于您的速度/大小权衡。 Gzip 速度很快并且结果良好。 Bzip2 速度慢,但通常会产生更好的结果。
depends on your speed/size tradeoff. Gzip is fast and yields good results. Bzip2 is slow and often yields better results.
一个好的压缩实用程序是 7-zip (Linux 上的 p7zip),使用 lzma 算法(压缩速度慢,解压效果好)速度,非常好的压缩比)。 可以解压缩最流行的存档格式。
您还可以查看压缩基准网站:
Maximumcompression
压缩等级
A good compression utility is 7-zip (p7zip on linux) using the lzma-algorithm (slow compression, good decompression speed, very good compression ratio). Can decompress most popular archive-formats.
You can also look at compression benchmark sites:
Maximumcompression
Compressionratings
XZ 压缩相对较新,但在压缩和速度之间取得了很好的平衡。 据称几乎与 bzip2 一样好,但仅比 gzip 慢一点。
XZ compression is a relative newcomer, but is a good balance between compression and speed. Supposedly almost as good compression as bzip2, but only slightly slower than gzip.
http://www.linuxjournal.com/article/8051
http://tukaani.org/lzma/benchmarks.html
根据您的需要选择最好的。 第一个链接中的图表全面涵盖了我听说过的每个 Unix 压缩实用程序。 第二个提供了来自更常见的问题的一些硬性数字。
在进行大型备份时,我倾向于使用 lzma -2,它提供比 bzip -9 更小且更快的压缩。
http://www.linuxjournal.com/article/8051
http://tukaani.org/lzma/benchmarks.html
Pick the best per your needs. The graphs in the first link comprehensively cover every Unix compression utility I've heard of. The second one offers some hard numbers from the more common untilities.
I tend towards lzma -2 when doing large backups, which offers smaller AND faster compression than bzip -9.
bzip 在空间上非常高效,但速度不如其他一些。
来自“man bzip2”:
bzip is pretty efficient, spacewise, but not as fast as some of the others.
From "man bzip2":