cpanel installation: Use parallel compression by default pbzip2 and pigz etc
This feature request is related to cpanel install stage and speeding up installations by using parallell bzip2 = bzip2 for unpacking cpanel related bz2 compressed files http://forums.cpanel.net/f5/retrieving-staging-cpanelsync-binaries-bz2-bzip2-vs-pbzip2-456781.html
You already have pigz for parallel gzip compression as per http://features.cpanel.net/responses/faster-backups-using-pigz in WHM 11.38+, so adding bzip2 would be nice.
So cpanel installer if it detects pigz and pbzip2, it will use them for uncompressing your compressed files. pigz doens't speed up decompression much. However, pbzip2 has full multi-threaded support for bz2 decompression so will benefit from multi cpu cores based systems and the initial cpanel installation.
pbzip2 is in epel repo which is easily installed via
yum install epel-release
you could even install epel repo by default and set it to disabled by default and only via --enablerepo=epel install pigz and pbzip2 out of the box prior to cpanel install as part of install routine :)
Guess you can time and benchmark cpanel installation times using bzip2 and gzip versus pbzip2 and pigz to see if it's worth it :)
Added advantage if installed by default, is you can have them enabled in WHM backup system by default for pigz at least.
- yum -q list installed pigz pbzip2 xz pxz lz4 --enablerepo=epelInstalled Packageslz4.x86_64 r127-1.el6 @epelpbzip2.x86_64 1.1.6-1.el6 @epelpigz.x86_64 2.3.3-1.el6 @epelpxz.x86_64 4.999.9-1.beta.20100608git.el6 @epelxz.x86_64 4.999.9-0.5.beta.20091007git.el6 @base
We've made significant changes to how cPanel & WHM is installed in version 11.52. Among the changes are the use of the xz compression format. In 11.52 you should see installation time drop by 50% or more (depending upon other factors such as network speed, disk performance, etc).
We've made significant changes to how cPanel & WHM is installed in version 11.52. Among the changes are the use of the xz compression format. In 11.52 you should see installation time drop by 50% or more (depending upon other factors such as network speed, disk performance, etc).
Replies have been locked on this page!