← Back to section · Post-Quantum Migration

Performance Baselines and Capacity Planning: Measure the Numbers Before You Migrate

Post-quantum algorithms change the consumption structure of CPU, bandwidth and latency. How to build a trustworthy performance baseline before migration, how to convert single-machine benchmarks into capacity planning, and which metrics are most often measured wrong.

Published 22 November 2026 · 6 min read · PQ Frontier

Performance Baselines and Capacity Planning: Measure the Numbers Before You Migrate
AI-generated site artwork
Video explainer · PQC Deployment: From Libraries to Systems

Why baselines come first

The first question after a migration completes is always “how much slower did it get, and whose fault is it?” Without a same-calibre baseline from before the migration, that question is unanswerable and degenerates into argument by gut feeling. A baseline serves three purposes: it provides the conversion basis for capacity planning, the control group for staged rollout, and the objective trigger line for rollback decisions. Baseline collection is therefore a prerequisite task of the migration programme, not a formality before launch.

The consumption structure changed: from compute to size

The cost of classical public-key operations concentrates in CPU: RSA private-key operations and ECDSA signatures are millisecond-scale compute. Single post-quantum operations at mainstream parameter sets are usually not slow — ML-KEM encapsulation and decapsulation can even be faster than elliptic-curve key exchange. The structural change is in size: key shares, public keys, signatures and certificate chains all grow. Translated into system metrics:

  • Bandwidth: handshake traffic grows significantly, which directly affects links billed by volume or bandwidth-constrained (cross-border, satellite, mobile networks);
  • Connection-establishment rate: more fragmentation makes handshakes more sensitive to loss and round trips, so the ceiling on new-connection rate can drop — and that is precisely the core capacity metric of gateways and load balancers;
  • CPU: total signature-verification work rises as chains grow, but it is usually not the first bottleneck, unless the device lacks hardware acceleration and connection rates are extreme.

The capacity-planning fallacy is multiplying “operations per second” from algorithm micro-benchmarks by connection counts. The correct approach treats the full handshake as the unit of measurement.

Timing and ownership of baseline collection

A baseline has a freshness trap: it must be collected before any post-quantum configuration enters that environment. Rollout moves fast; once some termination layer enables hybrid negotiation, every later “pre-migration baseline” is already contaminated. So at inventory time, schedule baseline collection into the plan, name a collection window and an owner for each system, and archive the baseline data together with its collection conditions (machine type, library version, traffic-model version). Whether those conditions can be reproduced six months later decides whether the data can still adjudicate disputes.

For legacy systems, add one more thing: read the baseline alongside the system’s expansion history. Long-running systems often already sit at the edge of capacity, and even a small migration increment can be the last straw. Such systems either get expanded before migration or get resequenced in the batch order — there is no third, lucky option.

The calibre of baseline collection

A trustworthy baseline needs four elements. First, an identical environment: measure on the same machine types, network conditions and library versions as production; numbers from a temporarily provisioned large cloud instance are worthless. Second, an identical load: replay real connection patterns (connection rate, session-resumption share, concurrency) rather than a single concurrency stress test. Third, a complete metric set: at minimum handshake success rate, percentiles of connection-establishment latency, the ceiling on new-connection rate, steady-state throughput and CPU utilisation — a single metric cannot localise problems. Fourth, dual retention: keep the pre-migration baseline and the same-calibre data after each rollout batch side by side, forming a time series rather than isolated reports.

The three things most often measured wrong

First, measuring algorithms instead of flows: no matter how pretty the ML-KEM micro-benchmark, it cannot reveal the failure rate caused by middleboxes truncating large handshakes. Second, ignoring the session-resumption share: resumed sessions often make up a high share of production traffic, so laboratory all-full-handshake measurements overstate the overhead and capacity gets over-bought. Third, hiding the tail behind averages: handshake problems almost always appear first in the tail percentiles of latency; while the average looks perfectly normal, P99 may already have degraded several-fold.

Converting baselines into plans

At planning time, convert the baseline into three ledgers: the bandwidth ledger — peak new-connection rate multiplied by the per-handshake byte increment gives the egress bandwidth increment required; the capacity ledger — the change in connection-establishment rate measured during rollout converts into the expansion ratio for gateways and load balancers; the cost ledger — expansion and bandwidth increments priced at current procurement rates become the budget line in the migration proposal. The numbers need not be precise, but they must have magnitude and basis, so the programme does not discover halfway through that the infrastructure budget was never there.

Making baselines a continuous mechanism

A baseline is not a one-off project. Business traffic structure, the hardware fleet and library versions all change; a year-old baseline has limited reference value for today’s decisions. The pragmatic approach is to wire the key handshake metrics into routine monitoring so a “rolling baseline” updates over time; the migration programme then freezes a current-baseline snapshot before each batch for comparison. This keeps same-calibre data available for every performance conversation and avoids the cost of organising a special stress test for each batch. A continuous baseline has an added value: during ordinary periods when nobody is pushing migration, it exposes changes in the connection profile early — for instance, a client class quietly growing its share — feeding input into the scope choices of later batches.

Hardware differences: the corners where acceleration is absent

The same algorithm performs differently on different hardware, and the difference cannot be ignored. Server CPUs already handle mainstream post-quantum algorithms well, but gateway appliances, older load balancers and edge devices may use far weaker processors; their classical cryptography was originally offloaded to dedicated hardware while post-quantum algorithms can only run on general-purpose cores — the absence of acceleration badly skews the overhead comparison on such devices. Measure each device class during capacity inventory; never extrapolate appliance numbers from server benchmarks. When a bottleneck device is found, the remedy is usually not changing the algorithm but changing the topology: let weak devices only forward, and concentrate termination on the scalable server layer.

Summary

The order of performance work is: baseline first, rollout comparison second, capacity conversion last. Migrating without a baseline means giving up both the authority to speak on performance problems and the objective basis for rollback decisions.

Tags: performance benchmarkingcapacity planningdeployment practice