Skip to content
Calcrivo

Update Time Estimator

Estimate total time to download and install a batch of system package updates.

Inputs

MB
Mbps
seconds

Time to unpack, run scripts and configure each package

Total Update Time

4.45minutes

Download Time

54.4seconds

Install Time

212.5seconds

Total Download Size

680.0MB

Step by step

  1. Values used

    Number of Packages to Update = 85; Average Download Size per Package = 8 MB; Download Bandwidth = 100 Mbps; Average Install Time per Package = 2.50 seconds

  2. Download time

    download_time = (packages × avg_size_MB) / (bandwidth_Mbps / 8)

  3. Total update time

    total = download_time + (packages × avg_install_time)

  4. Total Update Time

    = 4.45 minutes

  5. Download Time

    = 54.4 seconds

  6. Install Time

    = 212.5 seconds

  7. Total Download Size

    = 680.0 MB

How it works

Total package update duration splits into two largely sequential phases: downloading all package archives, bounded by available bandwidth, and installing each package, which involves unpacking files, running pre/post-install scripts, and updating package manager metadata — a fixed per-package cost regardless of network speed. Summing download time (total download size divided by effective bandwidth) and install time (packages multiplied by average install time each) gives a realistic estimate for planning maintenance windows or automated patching schedules.

Formulas

Download time

download_time = (packages × avg_size_MB) / (bandwidth_Mbps / 8)

n
package count
s
average download size in MB
b
bandwidth in Mbps

Total update time

total = download_time + (packages × avg_install_time)

t_i
average install time per package

Frequently Asked Questions

Why is install time often the larger component for many small packages?

Each package incurs fixed overhead — extracting archive contents, running maintainer scripts, updating the package database — independent of the package's download size, so a system with hundreds of small packages to update can spend more total time in installation than in downloading, even on a modest connection.

Does this account for dependency resolution time?

No — this estimates only download and install time for the packages themselves. Dependency resolution (calculating which packages need updating and in what order) typically adds a smaller, roughly fixed overhead at the start of the update process that varies by package manager and repository metadata size.

How can I speed up package updates on a fleet of servers?

Run a local package mirror or caching proxy (apt-cacher-ng, a local yum/dnf repo) so downloads happen at LAN speed instead of over the internet for every host, and consider parallelizing installs across independent packages where the package manager supports it.

You might also need