{"id":52535,"date":"2019-05-23T13:59:52","date_gmt":"2019-05-23T18:59:52","guid":{"rendered":"https:\/\/blog.cpanel.com\/?p=52535"},"modified":"2019-05-23T13:59:52","modified_gmt":"2019-05-23T18:59:52","slug":"gotta-go-faster-how-installation-times-improved","status":"publish","type":"post","link":"https:\/\/devel.www.cpanel.net\/blog\/products\/gotta-go-faster-how-installation-times-improved\/","title":{"rendered":"Gotta Go Faster: How Installation Times Improved"},"content":{"rendered":"\n

If you’ve performed a fresh cPanel & WHM installation recently, you may have noticed how much faster the process is. Aside from a lot of under the hood magic (no, not really), an impressive amount of work and planning over multiple years of cPanel & WHM was required. Currently, the time to install cPanel & WHM on a brand new server is averaging between 3 and 15 minutes. That’s a pretty drastic reduction from the 60-90 minutes that it used to take!<\/p>\n\n\n\n

We want to take the opportunity to give you members of the cPanel Community a look behind the curtain at a few highlights that improve the installation times of cPanel & WHM.<\/p>\n\n\n\n

\"\"<\/figure>\n\n\n\n

First stop: Clean up the old<\/h2>\n\n\n\n

After 20+ years, one can only assume that a project will net some outdated, deprecated, or no longer needed components. In Version 70 we did an extensive, meticulous audit of every slow part of the installer and update system, rewriting anything we could, and taking stock of what other work we could do to improve the system. <\/p>\n\n\n\n

A huge contributor to the improved install time was the removal of the tons of cruft and old parts of the product. The two more remarkable removals over the last few years were the EasyApache 3<\/a> in v72 and the end of support for CentOS 5<\/a>. The removal of EasyApache 3 in v78 allowed us to fix areas of the installer that we’d had to keep to support EA3. The end of CentOS 5 support allowed us to rewrite the base install system, now that we no longer needed to support legacy Perl versions. This work also included the removal of a significant amount of Perl RPMs<\/a> in v80 that were solely there for supporting these legacy systems that were no longer needed. <\/p>\n\n\n\n

Fine tuning of the MySQL update system netted a vastly improved performance increase by no longer having to support older versions of MySQL and MariaDB<\/a>.<\/p>\n\n\n\n

A lot of reworking<\/h2>\n\n\n\n

Retooling a software property as big as cPanel is a huge undertaking. To streamline the installation process, several systems inside the product required a bit of reworking. In Version 70, we started rewriting the MySQL update system to reduce the time to install MySQL and MariaDB. For years we have been moving the software away from an older install process that synced files from an install server to an almost entirely RPM-based system. With Version 72, we started work that will continue through Version 82, where we are carefully examining and re-writing each RPM’s install script to improve the install times. Version 76 saw us reduce the amount of memory required to run the installer, and increase the download processes in the file sync system, allowing more files to be downloaded in tandem.<\/p>\n\n\n\n

In Version 78, a partial rewrite of the base install system was done to improve performance. We no longer needed to support older versions of Perl, as CentOS5 had reached End of Life and was no longer supported, which decreased the ever-improving installation time.  Piggybacking on the end of CentOS5 support, much of the installer was paralleled (made to run simultaneously), as well as allowing RPM downloads in parallel.<\/p>\n\n\n\n

In v80, we also split up the RPMs that are installed to get the base functionality installed more quickly. We improved the service management system to reduce the time to start, stop, and restart services on the server. We even put work into how we enable quotas, as enabling quotas on a new system was a huge slowdown for new installs. We worked on our sprite generation system and even dug into the nightly maintenance code, and the post-update code to improve the performance in those places as well.  <\/p>\n\n\n\n

A little help from our friends<\/h2>\n\n\n\n

We can’t take all of the credit for the vast improvements made over the last few versions of cPanel & WHM. Starting before v70, we added measurements to each part of the update process and reviewed updated logs provided to us by cPanel partners to identify areas of improvement. We want to especially thank those of you who have Send error reports to cPanel for analysis<\/em> enabled in Tweak Settings. That information was instrumental in helping us reduce the install and update times. Side note: If you are interested in helping with future decision making, enable the cPanel Analytics Plugin<\/a>!<\/p>\n\n\n\n

We worked with the Perl Community specifically to improve Perl’s performance early in our process, resulting in processing Perl instancing much sooner in the install process, reducing the number of items handled manually in the installer, and cannot thank them enough for that help. <\/p>\n\n\n\n

Another giant help came from the folks over at SpamAssassin. They were able to optimize the configure and rule building process with a massive impact. In some cases, we saw 10x or better reduction in update times for SpamAssassin alone.<\/p>\n\n\n\n

\"\"<\/figure>\n\n\n\n

The Work Continues<\/h2>\n\n\n\n

We will continue to review nightly maintenance code by using the data gathered from helpful customer-provided update logs, and any system that does not meet our update time goal will be looked at. We’re continuing to look at memory reductions, faster downloads, improving the update-sync system, and removal of anything else we can. <\/p>\n\n\n\n

In cPanel & WHM Version 82 we will be removing support for the long-deprecated LANG localization system. This system will only be used by anyone relying on shorttags in the localization, which will only be people using x3 or x3-derived cPanel themes. Since x3 was removed from the product in Version 60 (which reached End of Life in October 2017<\/a>), it’s just one more example of code that is no longer needed in the product. <\/p>\n\n\n\n

Thanks to feedback from the cPanel Community and the hard work of our Development teams, we’ve been able to cut the install times of cPanel & WHM considerably.  We want to hear more about your experiences and the installation times you’ve experienced as a user. Please join our Slack<\/a> and Discord<\/a> channels, or subscribe to our official cPanel subreddit<\/a>!<\/p>\n","protected":false},"excerpt":{"rendered":"

If you’ve performed a fresh cPanel & WHM installation recently, you may have noticed how much faster the process is. Aside from a lot of under the hood magic (no, not really), an impressive amount of work and planning over multiple years of cPanel & WHM was required. Currently, the time to install cPanel & […]<\/p>\n","protected":false},"author":77,"featured_media":65169,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[49],"tags":[1557,325],"class_list":["post-52535","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-products","tag-development-update","tag-product-development"],"acf":[],"yoast_head":"\nGotta Go Faster: How Installation Times Improved | cPanel<\/title>\n <!-- Mirrored from cpanel.net/wp-json/wp/v2/posts/52535/ by HTTrack Website Copier/3.x [XR&CO'2014], Fri, 06 Sep 2024 10:59:30 GMT --> <meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=_-2777.html \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Gotta Go Faster: How Installation Times Improved | cPanel\" \/>\n<meta property=\"og:description\" content=\"If you’ve performed a fresh cPanel & WHM installation recently, you may have noticed how much faster the process is. Aside from a lot of under the hood magic (no, not really), an impressive amount of work and planning over multiple years of cPanel & WHM was required. Currently, the time to install cPanel & […]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/devel.www.cpanel.net\/blog\/products\/gotta-go-faster-how-installation-times-improved\/\" \/>\n<meta property=\"og:site_name\" content=\"cPanel\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/cpanel\/\" \/>\n<meta property=\"article:published_time\" content=\"2019-05-23T18:59:52+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/devel.www.cpanel.net\/wp-content\/uploads\/2019\/05\/2019.05.23.installtimelove.png\" \/>\n\t<meta property=\"og:image:width\" content=\"3858\" \/>\n\t<meta property=\"og:image:height\" content=\"1527\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"cPanel Community\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@cPanel\" \/>\n<meta name=\"twitter:site\" content=\"@cPanel\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"cPanel Community\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/devel.www.cpanel.net\/blog\/products\/gotta-go-faster-how-installation-times-improved\/\",\"url\":\"https:\/\/devel.www.cpanel.net\/blog\/products\/gotta-go-faster-how-installation-times-improved\/\",\"name\":\"Gotta Go Faster: How Installation Times Improved | cPanel\",\"isPartOf\":{\"@id\":\"https:\/\/devel.www.cpanel.net\/#website\"},\"datePublished\":\"2019-05-23T18:59:52+00:00\",\"dateModified\":\"2019-05-23T18:59:52+00:00\",\"author\":{\"@id\":\"https:\/\/devel.www.cpanel.net\/#\/schema\/person\/8cf97408aad4fb70cf55d11a1d4f57f8\"},\"breadcrumb\":{\"@id\":\"https:\/\/devel.www.cpanel.net\/blog\/products\/gotta-go-faster-how-installation-times-improved\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/devel.www.cpanel.net\/blog\/products\/gotta-go-faster-how-installation-times-improved\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/devel.www.cpanel.net\/blog\/products\/gotta-go-faster-how-installation-times-improved\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/devel.www.cpanel.net\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Gotta Go Faster: How Installation Times Improved\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/devel.www.cpanel.net\/#website\",\"url\":\"https:\/\/devel.www.cpanel.net\/\",\"name\":\"cPanel\",\"description\":\"Hosting Platform of Choices\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/devel.www.cpanel.net\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/devel.www.cpanel.net\/#\/schema\/person\/8cf97408aad4fb70cf55d11a1d4f57f8\",\"name\":\"cPanel Community\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/devel.www.cpanel.net\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/e1949945083b5526bb95711bd3d616b3?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/e1949945083b5526bb95711bd3d616b3?s=96&d=mm&r=g\",\"caption\":\"cPanel Community\"},\"description\":\"The web hosting industry's most reliable management solution since 1997. With our first-class support and rich feature set, it's easy to see why our customers and partners make cPanel & WHM their hosting platform of choice. For more information, visit cPanel.net.\",\"sameAs\":[\"https:\/\/cpanel.net\"],\"url\":\"https:\/\/devel.www.cpanel.net\/blog\/author\/cpadmin\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Gotta Go Faster: How Installation Times Improved | cPanel","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/devel.www.cpanel.net\/blog\/products\/gotta-go-faster-how-installation-times-improved\/","og_locale":"en_US","og_type":"article","og_title":"Gotta Go Faster: How Installation Times Improved | cPanel","og_description":"If you’ve performed a fresh cPanel & WHM installation recently, you may have noticed how much faster the process is. Aside from a lot of under the hood magic (no, not really), an impressive amount of work and planning over multiple years of cPanel & WHM was required. Currently, the time to install cPanel & […]","og_url":"https:\/\/devel.www.cpanel.net\/blog\/products\/gotta-go-faster-how-installation-times-improved\/","og_site_name":"cPanel","article_publisher":"https:\/\/www.facebook.com\/cpanel\/","article_published_time":"2019-05-23T18:59:52+00:00","og_image":[{"width":3858,"height":1527,"url":"https:\/\/devel.www.cpanel.net\/wp-content\/uploads\/2019\/05\/2019.05.23.installtimelove.png","type":"image\/png"}],"author":"cPanel Community","twitter_card":"summary_large_image","twitter_creator":"@cPanel","twitter_site":"@cPanel","twitter_misc":{"Written by":"cPanel Community","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/devel.www.cpanel.net\/blog\/products\/gotta-go-faster-how-installation-times-improved\/","url":"https:\/\/devel.www.cpanel.net\/blog\/products\/gotta-go-faster-how-installation-times-improved\/","name":"Gotta Go Faster: How Installation Times Improved | cPanel","isPartOf":{"@id":"https:\/\/devel.www.cpanel.net\/#website"},"datePublished":"2019-05-23T18:59:52+00:00","dateModified":"2019-05-23T18:59:52+00:00","author":{"@id":"https:\/\/devel.www.cpanel.net\/#\/schema\/person\/8cf97408aad4fb70cf55d11a1d4f57f8"},"breadcrumb":{"@id":"https:\/\/devel.www.cpanel.net\/blog\/products\/gotta-go-faster-how-installation-times-improved\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/devel.www.cpanel.net\/blog\/products\/gotta-go-faster-how-installation-times-improved\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/devel.www.cpanel.net\/blog\/products\/gotta-go-faster-how-installation-times-improved\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/devel.www.cpanel.net\/"},{"@type":"ListItem","position":2,"name":"Gotta Go Faster: How Installation Times Improved"}]},{"@type":"WebSite","@id":"https:\/\/devel.www.cpanel.net\/#website","url":"https:\/\/devel.www.cpanel.net\/","name":"cPanel","description":"Hosting Platform of Choices","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/devel.www.cpanel.net\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/devel.www.cpanel.net\/#\/schema\/person\/8cf97408aad4fb70cf55d11a1d4f57f8","name":"cPanel Community","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/devel.www.cpanel.net\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/e1949945083b5526bb95711bd3d616b3?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/e1949945083b5526bb95711bd3d616b3?s=96&d=mm&r=g","caption":"cPanel Community"},"description":"The web hosting industry's most reliable management solution since 1997. With our first-class support and rich feature set, it's easy to see why our customers and partners make cPanel & WHM their hosting platform of choice. For more information, visit cPanel.net.","sameAs":["https:\/\/cpanel.net"],"url":"https:\/\/devel.www.cpanel.net\/blog\/author\/cpadmin\/"}]}},"_links":{"self":[{"href":"https:\/\/devel.www.cpanel.net\/wp-json\/wp\/v2\/posts\/52535"}],"collection":[{"href":"https:\/\/devel.www.cpanel.net\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devel.www.cpanel.net\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devel.www.cpanel.net\/wp-json\/wp\/v2\/users\/77"}],"replies":[{"embeddable":true,"href":"https:\/\/devel.www.cpanel.net\/wp-json\/wp\/v2\/comments?post=52535"}],"version-history":[{"count":0,"href":"https:\/\/devel.www.cpanel.net\/wp-json\/wp\/v2\/posts\/52535\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devel.www.cpanel.net\/wp-json\/wp\/v2\/media\/65169"}],"wp:attachment":[{"href":"https:\/\/devel.www.cpanel.net\/wp-json\/wp\/v2\/media?parent=52535"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devel.www.cpanel.net\/wp-json\/wp\/v2\/categories?post=52535"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devel.www.cpanel.net\/wp-json\/wp\/v2\/tags?post=52535"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}