cPanel & WHM Version 98 has been released, and brings a slew of great updates. Take a look at what is included, and then upgrade today!

cpanel installation: Use parallel compression by default pbzip2 and pigz etc

eva2000 shared this idea 6 years ago
Completed

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

Best Answer
photo

While the specificity of this request doesn't get directly answered in cPanel & WHM Version 80, I'm going to go ahead and mark this as complete because the spirit of the request is answered. Install times on most hardware, with typical network speeds, are down under 5 minutes. You can read more about the updates in the Version 80 release notes, and more about 80 overall on the Release Site.


Replies (2)

photo
1

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).

photo
1

While the specificity of this request doesn't get directly answered in cPanel & WHM Version 80, I'm going to go ahead and mark this as complete because the spirit of the request is answered. Install times on most hardware, with typical network speeds, are down under 5 minutes. You can read more about the updates in the Version 80 release notes, and more about 80 overall on the Release Site.


Replies have been locked on this page!