Skip to content
Calcrivo

Patch Window Calculator

Size a maintenance window: waves, patch and reboot time, validation, expected rollbacks and whether the work fits the outage you were given.

Inputs

hosts
hosts
minutes
minutes
minutes
minutes
%
minutes
hours

Total Window Needed

13.45hours

Patch Waves

24

Patching and Reboot Time

7.20hours

Expected Failed Hosts

12.0hosts

Headroom in the Window

-7.45hours

Windows Needed

3

Fit Against the Approved Window

Does not fit — split into 3 windows of about 80 hosts

Step by step

  1. Values used

    Hosts to patch = 240 hosts; Hosts patched in parallel = 10 hosts; Patch install time per host = 12 minutes; Reboot and service-up time per host = 6 minutes; Pre-change checks and snapshots = 30 minutes; Post-change validation and smoke tests = 45 minutes; Expected failure rate per host = 5 %; Rollback time per failed host = 25 minutes; Approved outage window = 6 hours

  2. Patch Window

    Waves = ceil(hosts ÷ parallelism); window = pre-checks + waves × (install + reboot) + validation + expected failures × rollback time, all in minutes and divided by 60.

  3. Rollback allowance

    Expected failures = hosts × failureRate ÷ 100, and rollback time is added serially because a failed host is usually recovered by hand while the next wave waits.

  4. Total Window Needed

    = 13.45 hours

  5. Patch Waves

    = 24

  6. Patching and Reboot Time

    = 7.20 hours

  7. Expected Failed Hosts

    = 12.0 hosts

  8. Headroom in the Window

    = -7.45 hours

  9. Windows Needed

    = 3

How it works

Patching time scales with the number of waves, not the number of hosts: doubling parallelism halves the elapsed time until you hit the limit of your change tooling or your tolerance for simultaneous outage. The two fixed blocks — pre-change snapshots and post-change validation — dominate small batches, which is why patching 20 hosts rarely takes a third as long as patching 60. Windows are approved in hours, and the change that overruns is the one that gets your patching programme throttled to quarterly — plan the rollback time in from the start.

Formulas

Patch Window

Waves = ceil(hosts ÷ parallelism); window = pre-checks + waves × (install + reboot) + validation + expected failures × rollback time, all in minutes and divided by 60.

waves
Sequential batches of hosts
parallelism
Hosts patched simultaneously
expected failures
hosts × failure rate
rollback
Minutes to restore one failed host

Rollback allowance

Expected failures = hosts × failureRate ÷ 100, and rollback time is added serially because a failed host is usually recovered by hand while the next wave waits.

Frequently Asked Questions

How is Patch Window calculated?

Waves = ceil(hosts ÷ parallelism); window = pre-checks + waves × (install + reboot) + validation + expected failures × rollback time, all in minutes and divided by 60. Patching time scales with the number of waves, not the number of hosts: doubling parallelism halves the elapsed time until you hit the limit of your change tooling or your tolerance for simultaneous outage. The two fixed blocks — pre-change snapshots and post-change validation — dominate small batches, which is why patching 20 hosts rarely takes a third as long as patching 60.

Why does Patch Window matter?

Windows are approved in hours, and the change that overruns is the one that gets your patching programme throttled to quarterly — plan the rollback time in from the start.

What values do I need to enter?

This calculator takes 9 inputs: Hosts to patch, Hosts patched in parallel, Patch install time per host, Reboot and service-up time per host, Pre-change checks and snapshots, Post-change validation and smoke tests, Expected failure rate per host, Rollback time per failed host, Approved outage window. The pre-filled defaults are a realistic starting point — replace them with figures from your own environment for a result you can act on.

Should I raise parallelism to fit the window?

Only up to the point where a simultaneous failure is survivable. If ten hosts patch at once and the update is bad, ten hosts are down and your rollback allowance has to cover all ten. Keep parallelism below the redundancy of the cluster.

Why is validation time as long as patching?

Because the change is not finished when the package installs; it is finished when the service is proven healthy. Skipping validation is how a patch window becomes a Monday-morning incident with no clear cause.

You might also need