Save Bandwidth Using Delta RPM

CentOS - Community Powered Operating System

CentOS – Community Powered Operating System

Most people who ran and manage their own servers usually encounter this tiny message when installing a new package or installing an update

Less they know that they can leverage this to save bandwidth using delta RPM


This brings a question, “What are Delta RPMs anyway?”. Linux OS providers have come up of a way to save bandwidth when installing or updating your Linux packages/programs. One of the answers are Delta RPMs. A Delta RPM basically collects the difference from the old RPM (packages on your computer) from the one available on the repository and only downloads the correct RPM stripped down to the exact changes.

Comparing Delta RPM and No Delta RPM

On one of my servers, I used Delta RPM to update my CentOS 7 squid server which yields 148 RPM (packages) that needs to be updated and 4 RPM that needs to be installed. I save an instance restore point and perform the update with and without Delta.

The one with Delta have download 152 files and 31 Mb of RPM, CPU usage pushed to 80% (I was using a single core virtual CPU).
The one without Delta downloaded 152 RPMs and consumed a whooping 350 Mb  of RPM, CPU usage remains the same.

Save Bandwidth Using Delta RPM

In order to Install and enable Delta RPM, login to a root capable account on your server via SSH then run the following command.


Although Delta RPM can save you some bandwidth, it is not advisable to use it if you have a huge bandwidth allowance or you are running CPU hungry processes on your Server/Machine.

Happy Computing!!

coderinthebox

The TechnoJunkie of the group who studied engineering but got stuck with software development. Remember kids, 90% of your problems can be solved by marketing. Solving the other 10% just requires good procrastination skills.

You may also like...

Leave a Reply

%d bloggers like this: