![]() But as noted above, Cloudflare’s zlib is not available as a drop-in library for CentOS/RHEL 8, just yet.īoth Intel and Cloudflare zlib perform marginally faster than the stock library. Cloudflare vs Intel’s zlib?Ĭloudflare’s zlib performance is better than Intel’s. Similarly, restart any service which makes use of the library. The Cloudflare fork of zlib is based on zlib 1.2.8, so it’s not suitable for CentOS/RHEL 8 at this time.Īll other operating systems (CentOS/RHEL 6,7 and Amazon Linux 2) can benefit from the faster compression: sudo yum -y install How to install Cloudflare’s fork of zlib library in CentOS/RHEL or Amazon Linux If you find that currently, too many apps are using the standard lib, simply reboot to apply the faster library. To find out, which apps are still using the standard library, run: lsof /usr/lib64/libz.so.1 This step is only required for apps that make use of zlib, for them to load the high-performance version of the library. For example, restart a running instance of NGINX: sudo service nginx restart Now, if you are running any service which performs compression, restart it. How to install Intel’s fork of zlib library in CentOS/RHEL or Amazon Linux sudo yum -y install Users of the GetPageSpeed repository can quickly install either of the two as drop-in libraries to instantly speed up any compression workload on their machine, and thus improve performance in general. 2009 and newer), you absolutely want to get your hands on the high-performance zlib forks by Intel and Cloudflare. If your Linux workstation or server is relatively recent (e.g. ![]() ![]() The standard zlib library aims the highest compatibility, and supports hardware from the 90’s.īut at the same time, it’s missing on many potential hardware optimizations of the modern platforms. The library dates its first public release back in the year 1995 and has received steady updates since then. It is so prominently used in open-source software, that it has become the crucial component of any Linux-based operating system. Zlib is a software library for data compression. If you want to install NGINX, Varnish, and lots of useful performance/security software with smooth yum upgrades for production use, this is the repository for you. We have by far the largest RPM repository with NGINX module packages and VMODs for Varnish. ![]()
0 Comments
Leave a Reply. |