替代gzip的快速压缩方法

本文介绍pigz,一种并行实现的gzip工具,利用多核处理器加速数据压缩,相较于传统tar-zcvf命令,压缩速度提升数十倍。pigz与gzip兼容,对用户完全透明,已在生产环境稳定运行。

快速压缩工具pigz

近期为了优化构建产物的压缩速率,从tar -zcvf替换到了pigz。
pigz, which stands for  parallel  implementation of  gzip, is a fully functional replacement for gzip that exploits multiple processors and multiple cores to the hilt when compressing data.  pigzwas written by  Mark Adler, and uses the  zlib and  pthread libraries. To compile and use  pigz, please read the README file in the source code distribution. You can read the  pigz manual page  here
可见pigz实现了并行化的gzip,获得几十倍的速率提升。
同时兼容gzip解压,对用户完全透明。已在生产环境中直接上,没有任何问题。
 

转载于:https://www.cnblogs.com/luliAngel/p/10360645.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值