Latency ladder and budget
System design is mostly arithmetic with latencies. Whether a design works often comes down to how many disk reads, network round trips or cross-region calls sit on the path of one request.
From 1.3 ns to 396 ms: the slowest operation here takes 297.1M times as long as the fastest.
Request budget
Nothing in the budget yet. Pick “Add to budget” on any row of the ladder, then set how many times one request does it.
Every operation, fastest first
- L1 data cache hit1.3 ns
Where this number comes from
AMD Zen 4 core (EPYC 9004 and Ryzen 7000 class); min and max span Intel Skylake-SP.
Derived: cycles / 3.0 GHz, an assumed clock (the guide gives cycles, not time). Zen 4: 4 cycles for simple addressing, 5 for complex addressing. Intel Skylake server: 4-6 cycles. Scale linearly for other clock speeds.
- Branch misprediction penalty4.3 ns
Where this number comes from
AMD Zen 4 core (EPYC 9004).
Derived: cycles / 3.0 GHz, an assumed clock (the guide gives cycles, not time). AMD gives 11-18 cycles depending on branch type; 13 cycles is the stated common case.
AMD Software Optimization Guide for the AMD Zen4 Microarchitecture (Doc 57647, Rev 1.01, April 2023)
- L2 cache hit4.7 ns
Where this number comes from
AMD Zen 4 core (EPYC 9004): at least 14 cycles; min is Intel Skylake client (12 cycles).
Derived: cycles / 3.0 GHz, an assumed clock (the guide gives cycles, not time). AMD states a variable latency of no less than 14 cycles, so there is no upper bound in the guide. Intel Skylake server is 14 cycles, Skylake client 12 and Ice Lake client 13.
- L3 cache hit17 ns
Where this number comes from
AMD Zen 4 core (EPYC 9004): 50 cycles average; min and max span Intel Skylake client (44) and Skylake-SP (50-70).
Derived: cycles / 3.0 GHz, an assumed clock (the guide gives cycles, not time). L3 latency grows with core count and mesh or ring size, so server parts sit at the high end.
- System call mode switch (enter and return)65 ns
Where this number comes from
Intel Core i7 (Nehalem) at 2.3 GHz, 2010-era Linux, measured without Spectre or Meltdown mitigations.
Derived: 150 cycles / 2.3 GHz = 65.2 ns for a call that does nothing but read the time-stamp counter. Real calls cost more because the kernel work evicts cache and TLB state, and mitigations on current kernels add to this. Old hardware, so treat it as a floor.
- Send 1 KB over a 100 Gbps link (serialisation time)80 ns
Where this number comes from
Any 100 Gbps link at nominal line rate.
Derived: bytes x 8 bits / line rate. Uses decimal units (1 KB = 1,000 B, 1 MB = 1,000,000 B; giga = 10^9). Ignores Ethernet, IP and TCP header overhead, propagation delay and queueing, so it is the floor for serialisation time only. 1000 x 8 / 100e9 s.
SI prefix definition (NIST); arithmetic on nominal line rate
- Main memory (DRAM) access, same NUMA node82 ns
Where this number comes from
Dual-socket Intel Xeon (model not stated in the manual), local node.
Idle load-to-use latency to local DRAM. Intel Memory Latency Checker v3.3-Beta2 idle latency, Red Hat Linux 7.2, 2,000 MB buffer, hardware prefetchers disabled. The manual does not name the CPU model. Newer CPUs and DDR5 differ. Range covers sub-NUMA clustering on (77.4-81.6 ns) and off (81.9-82.0 ns).
Intel 64 and IA-32 Architectures Optimization Reference Manual, Vol. 1 (Doc 248966-051)
- Main memory (DRAM) access, other sub-NUMA node on same socket86 ns
Where this number comes from
Dual-socket Intel Xeon (model not stated), sub-NUMA clustering enabled.
Idle latency to a memory controller on the same socket but another cluster. Intel Memory Latency Checker v3.3-Beta2 idle latency, Red Hat Linux 7.2, 2,000 MB buffer, hardware prefetchers disabled. The manual does not name the CPU model. Newer CPUs and DDR5 differ.
Intel 64 and IA-32 Architectures Optimization Reference Manual, Vol. 1 (Doc 248966-051)
- Main memory (DRAM) access, NUMA disabled (interleaved)127 ns
Where this number comes from
Dual-socket Intel Xeon (model not stated), memory interleaved across both sockets.
With NUMA disabled the platform interleaves pages across sockets, so the average falls between local and remote. Intel Memory Latency Checker v3.3-Beta2 idle latency, Red Hat Linux 7.2, 2,000 MB buffer, hardware prefetchers disabled. The manual does not name the CPU model. Newer CPUs and DDR5 differ.
Intel 64 and IA-32 Architectures Optimization Reference Manual, Vol. 1 (Doc 248966-051)
- Main memory (DRAM) access, other socket153 ns
Where this number comes from
Dual-socket Intel Xeon (model not stated), remote NUMA node over the inter-socket link.
Idle latency to DRAM attached to the other socket. Intel Memory Latency Checker v3.3-Beta2 idle latency, Red Hat Linux 7.2, 2,000 MB buffer, hardware prefetchers disabled. The manual does not name the CPU model. Newer CPUs and DDR5 differ. SNC off gives 153.1 and 153.7 ns; SNC on gives 140.4-162.8 ns.
Intel 64 and IA-32 Architectures Optimization Reference Manual, Vol. 1 (Doc 248966-051)
- Send 1 KB over a 10 Gbps link (serialisation time)800 ns
Where this number comes from
Any 10 Gbps link at nominal line rate.
Derived: bytes x 8 bits / line rate. Uses decimal units (1 KB = 1,000 B, 1 MB = 1,000,000 B; giga = 10^9). Ignores Ethernet, IP and TCP header overhead, propagation delay and queueing, so it is the floor for serialisation time only. 1000 x 8 / 10e9 s.
SI prefix definition (NIST); arithmetic on nominal line rate
- Send 1 KB over a 1 Gbps link (serialisation time)8 µs
Where this number comes from
Any 1 Gbps link at nominal line rate.
Derived: bytes x 8 bits / line rate. Uses decimal units (1 KB = 1,000 B, 1 MB = 1,000,000 B; giga = 10^9). Ignores Ethernet, IP and TCP header overhead, propagation delay and queueing, so it is the floor for serialisation time only. 1000 x 8 / 1e9 s.
SI prefix definition (NIST); arithmetic on nominal line rate
- Round trip between two VMs in the same datacenter10 µs
Where this number comes from
Azure Dv2 or Dv3 VMs, Intel Xeon E5-2673 v4 (2.3 GHz), 40 Gbps Gen1 SmartNIC with Accelerated Networking, 5 switch ASICs apart (2017-18).
Linux VMs averaged a consistent 10 µs; Windows averaged 17 µs (P99 25 µs, P99.9 80 µs); a userspace TCP stack reached about 5 µs. Without Accelerated Networking Windows averaged 50 µs (P99 about 100 µs). The paper calls the Windows figure one-way latency but measures ping-pong response time over TCP, so it is treated here as a round trip. Newer hardware is faster.
Firestone et al., Azure Accelerated Networking: SmartNICs in the Public Cloud (NSDI ’18)
- Read 1 MB from memory (bandwidth bound)26 µs
Where this number comes from
One DDR5-4800 channel at peak (AMD EPYC 9004); min is all 12 channels of one socket at peak.
Derived: 1,000,000 B / 38.4 GB/s = 26,042 ns, where 38.4 GB/s = 460.8 GB/s / 12 channels (= 4,800 MT/s x 8 B). min: 1,000,000 B / 460.8 GB/s = 2,170 ns. These are theoretical peaks and a lower bound; a real single-thread sequential read is slower, and the first access also pays the DRAM latency above.
- NVMe SSD random 4 KB read, queue depth 180 µs
Where this number comes from
Micron 7450 (PCIe 4.0): 80 µs; min is Micron 9550 (PCIe 5.0): 60 µs.
Median (50th percentile) latency at queue depth 1 with 4 KB transfers, from vendor datasheets. Enterprise TLC NAND; consumer drives and other vendors differ. Writes are much lower because the drive acknowledges from its protected write buffer: 15 µs (7450) and 10 µs (9550).
Micron 7450 and Micron 9550 NVMe SSD technical product specifications
- Send 1 MB over a 100 Gbps link (serialisation time)80 µs
Where this number comes from
Any 100 Gbps link at nominal line rate.
Derived: bytes x 8 bits / line rate. Uses decimal units (1 KB = 1,000 B, 1 MB = 1,000,000 B; giga = 10^9). Ignores Ethernet, IP and TCP header overhead, propagation delay and queueing, so it is the floor for serialisation time only. 1000000 x 8 / 100e9 s.
SI prefix definition (NIST); arithmetic on nominal line rate
- Read 1 GB from GPU memory (HBM3e) on a B200125 µs
Where this number comes from
NVIDIA Blackwell B200 as in DGX B200: 64 TB/s across 8 GPUs.
Derived: 1,000,000,000 B / stated bandwidth. Peak datasheet bandwidth, so real kernels take longer. NVIDIA lists only the system total, so per GPU = 64 TB/s / 8 = 8 TB/s (assumes all eight GPUs have equal bandwidth). 1 GB / 8 TB/s = 125,000 ns.
- Read 1 MB sequentially from an NVMe SSD (transfer time)147 µs
Where this number comes from
Micron 7450 (PCIe 4.0): 6,800 MB/s; min is Micron 9550 (PCIe 5.0): 14,000 MB/s.
Derived: 1,000,000 B / 6,800 MB/s = 147,059 ns; min: 1,000,000 B / 14,000 MB/s = 71,429 ns. Uses the datasheet maximum 128 KB sequential read rate, so it is a best case. Add one random-read latency (above) for the first byte.
Micron 7450 and Micron 9550 NVMe SSD technical product specifications
- SATA SSD random 4 KB read, queue depth 1, 99.9th percentile170 µs
Where this number comes from
Micron 5400 PRO (SATA 6 Gb/s).
This is a tail figure, not a typical one. The datasheet publishes only the 99.9th percentile for the 5400 series; the median is not stated, so none is shown.
Micron 5400 Series SATA NAND Flash SSD technical product specification (Rev A, 09/2023)
- Read 1 GB from GPU memory (HBM3e) on an H200208 µs
Where this number comes from
NVIDIA H200 SXM or NVL, 141 GB HBM3e, 4.8 TB/s.
Derived: 1,000,000,000 B / stated bandwidth. Peak datasheet bandwidth, so real kernels take longer. 1 GB / 4.8 TB/s = 208,333 ns.
NVIDIA H200 Tensor Core GPU product page, specifications table
- Read 1 GB from GPU memory (HBM3) on an H100299 µs
Where this number comes from
NVIDIA H100 SXM, 80 GB HBM3, 3.35 TB/s.
Derived: 1,000,000,000 B / stated bandwidth. Peak datasheet bandwidth, so real kernels take longer. 1 GB / 3.35 TB/s = 298,507 ns.
NVIDIA H100 Tensor Core GPU product page, specifications table
- Send 1 MB over a 10 Gbps link (serialisation time)800 µs
Where this number comes from
Any 10 Gbps link at nominal line rate.
Derived: bytes x 8 bits / line rate. Uses decimal units (1 KB = 1,000 B, 1 MB = 1,000,000 B; giga = 10^9). Ignores Ethernet, IP and TCP header overhead, propagation delay and queueing, so it is the floor for serialisation time only. 1000000 x 8 / 10e9 s.
SI prefix definition (NIST); arithmetic on nominal line rate
- Move 1 GB between two GPUs over NVLink on a B2001.11 ms
Where this number comes from
NVIDIA Blackwell B200 in HGX B200, NVLink 5: 1.8 TB/s per GPU.
Derived: NVIDIA lists 1.8 TB/s GPU-to-GPU and describes NVLink bandwidth as bidirectional, so one direction is assumed to be 900 GB/s: 1 GB / 900 GB/s = 1,111,111 ns. min: 1 GB / 1.8 TB/s = 555,556 ns.
- Read 1 MB sequentially from a SATA SSD (transfer time)1.85 ms
Where this number comes from
Micron 5400 PRO (SATA 6 Gb/s).
Derived: 1,000,000 B / 540 MB/s = 1,851,852 ns. Uses the datasheet maximum 128 KB sequential read rate; the SATA 6 Gb/s link is the cap.
Micron 5400 Series SATA NAND Flash SSD technical product specification (Rev A, 09/2023)
- Round trip between availability zones in one region (Azure target)2 ms
Where this number comes from
Azure availability zones, same region.
A provider-stated upper bound, not a measurement. Real values are usually well below it. Azure publishes no typical figure.
Microsoft Azure reliability documentation, Availability zones overview
- Move 1 GB between two GPUs over NVLink on an H1002.22 ms
Where this number comes from
NVIDIA H100 SXM, NVLink 4: 900 GB/s per GPU.
Derived: NVIDIA lists 900 GB/s per GPU and describes NVLink bandwidth as bidirectional, so one direction is assumed to be 450 GB/s: 1 GB / 450 GB/s = 2,222,222 ns. min: 1 GB / 900 GB/s = 1,111,111 ns. All-to-all traffic shares the per-GPU total.
- Read 1 MB sequentially from an HDD (transfer time)3.75 ms
Where this number comes from
WD Ultrastar DC HC530 14 TB, typical sustained transfer rate 267 MB/s.
Derived: 1,000,000 B / 267 MB/s = 3,745,318 ns. The 24 TB HC580 sustains up to 298 MB/s (3,355,705 ns), shown as min. Outer tracks are faster than inner tracks.
Western Digital Ultrastar DC HC530 SATA product manual (Rev 1.4); Ultrastar DC HC580 data sheet
- HDD average rotational latency (7,200 RPM)4.16 ms
Where this number comes from
WD Ultrastar DC HC530 14 TB, 7,200 RPM, SATA.
Average latency is half a revolution; a full revolution is 8.3 ms. A 7,200 RPM drive cannot do better.
Western Digital Ultrastar DC HC530 SATA product manual (Rev 1.4, 26 Feb 2024)
- HDD average seek7.2 ms
Where this number comes from
WD Ultrastar DC HC530 14 TB, 7,200 RPM, SATA.
Typical read seek without command overhead. Writes are 8.2 ms typical (11.0 ms max). A single-track seek is 0.20 ms typical (0.25 ms max).
Western Digital Ultrastar DC HC530 SATA product manual (Rev 1.4, 26 Feb 2024)
- Send 1 MB over a 1 Gbps link (serialisation time)8 ms
Where this number comes from
Any 1 Gbps link at nominal line rate.
Derived: bytes x 8 bits / line rate. Uses decimal units (1 KB = 1,000 B, 1 MB = 1,000,000 B; giga = 10^9). Ignores Ethernet, IP and TCP header overhead, propagation delay and queueing, so it is the floor for serialisation time only. 1000000 x 8 / 1e9 s.
SI prefix definition (NIST); arithmetic on nominal line rate
- Latency between availability zones in one region (AWS bound)10 ms
Where this number comes from
AWS Availability Zones, same Region.
A provider-stated upper bound: “single-digit millisecond” means below 10 ms. It is the design limit for synchronous replication, not a typical value. AWS publishes no typical figure.
AWS Whitepaper: AWS Fault Isolation Boundaries, Availability Zones
- Random 1 MB read from an HDD (seek, rotation and transfer)15.1 ms
Where this number comes from
WD Ultrastar DC HC530 14 TB, 7,200 RPM, SATA.
Derived: 7.2 ms average seek + 4.16 ms average rotational latency + 3.745 ms transfer at 267 MB/s = 15.1 ms. Assumes a cold read of one contiguous 1 MB extent with no command queueing benefit.
Western Digital Ultrastar DC HC530 SATA product manual (Rev 1.4, 26 Feb 2024)
- Move 1 GB between host and GPU over PCIe Gen5 x1615.6 ms
Where this number comes from
NVIDIA H100 SXM or PCIe card on PCIe Gen5 x16.
Derived: NVIDIA lists PCIe Gen5 at 128 GB/s. That is both directions combined, so one direction is assumed to be 64 GB/s: 1 GB / 64 GB/s = 15,625,000 ns. min: 1 GB / 128 GB/s = 7,812,500 ns if the figure were per direction. Real pinned-memory copies reach somewhat less than the line rate.
NVIDIA H100 Tensor Core GPU product page, specifications table
- Round trip between two Indian regions20 ms
Where this number comes from
Azure Central India to South India (P50); reverse direction 19 ms.
Median of 1-minute probes over 30 days. Central India to Jio India West is 29 ms and Central India to Southeast Asia is 53 ms.
- Round trip between US East and US West regions69 ms
Where this number comes from
Azure East US to West US (P50); reverse direction 67 ms.
Median of 1-minute probes over 30 days. Direction matters slightly: East US to West US 69 ms, West US to East US 67 ms.
- Round trip between US East and Western Europe83 ms
Where this number comes from
Azure East US to West Europe (P50); reverse direction 85 ms.
Median of 1-minute probes over 30 days. East US to West Europe 83 ms, West Europe to East US 85 ms. AWS does not publish a comparable table.
- Round trip between Western Europe and Central India139 ms
Where this number comes from
Azure Central India to West Europe (P50); reverse direction 140 ms.
Median of 1-minute probes over 30 days. Central India to West Europe 139 ms, West Europe to Central India 140 ms.
- Round trip between US East and Central India198 ms
Where this number comes from
Azure East US to Central India (P50); reverse direction 201 ms.
Median of 1-minute probes over 30 days. East US to South India is 216-220 ms and West US to Central India is 218 ms. About 200 ms is the number to design around for a US origin serving India.
- TCP handshake before the client can send data (1 round trip), US East to India198 ms
Where this number comes from
Any TCP connection; RTT from Azure East US to Central India.
Derived: round trips x East US to Central India P50 round trip (198 ms; max uses the 201 ms reverse direction). 1 RTT: SYN, then SYN-ACK; the client sends its ACK together with the first data. For any other path, multiply that path’s RTT by 1.
IETF RFC 9293, Transmission Control Protocol (TCP); Azure network latency statistics
- TLS 1.3 full handshake (1 round trip), US East to India198 ms
Where this number comes from
Any TLS 1.3 connection; RTT from Azure East US to Central India.
Derived: round trips x East US to Central India P50 round trip (198 ms; max uses the 201 ms reverse direction). 1 RTT on top of TCP: ClientHello, then server flight, then the client sends Finished with its first application data. Session resumption with 0-RTT early data (section 2.3) removes this round trip at the cost of replay protection.
- TLS 1.2 full handshake (2 round trips), US East to India396 ms
Where this number comes from
Any TLS 1.2 connection without False Start; RTT from Azure East US to Central India.
Derived: round trips x East US to Central India P50 round trip (198 ms; max uses the 201 ms reverse direction). 2 RTT: ClientHello to ServerHelloDone, then ClientKeyExchange and Finished to the server Finished. The client waits for the server Finished before sending data.
- TCP plus TLS 1.3 setup before the first request is sent (2 round trips), US East to India396 ms
Where this number comes from
New HTTPS connection with TLS 1.3; RTT from Azure East US to Central India.
Derived: round trips x East US to Central India P50 round trip (198 ms; max uses the 201 ms reverse direction). TCP 1 RTT + TLS 1.3 1 RTT = 2 RTT before the client sends the request. The response then needs at least one more round trip, so the first response byte arrives no earlier than 3 RTT.
IETF RFC 9293 and RFC 8446; Azure network latency statistics
What it shows
Each number comes from a vendor datasheet, a processor manual, a cloud provider’s published measurements or a paper, and links to its source. Where a source gives cycles or bandwidth instead of time, the number is marked “Calculated” and the note shows the arithmetic.
The values span nine orders of magnitude, from about a nanosecond for a cache hit to hundreds of milliseconds across the world. Bars use a log scale so all of them fit on one page. You can add operations to a request budget and compare the total with a latency target.
How to read it
- Each row shows a typical value and, where the source gives one, a range. Open “Where this number comes from” for the hardware and the source.
- “Calculated” numbers are derived from published cycles, clock speeds or bandwidth. Treat them as estimates for the hardware named in the note.
- “Human scale” stretches an L1 cache hit to one second and scales everything else by the same factor.
- “Add to budget” puts an operation in the Request budget. Set how many times a request does it and compare the total with your latency target.
- The budget adds operations one after another. Calls made in parallel overlap, so a real request can be faster.
Questions
Why do these numbers differ from older lists?
Lists that circulate online were often measured on hardware from years ago, and many don’t say where a number came from. Each number here is tied to a named source and the hardware it describes, so you can see exactly what it measures.
Why is cross-zone latency shown as an upper bound?
AWS and Azure publish limits for latency between availability zones in a region, not typical values. A limit tells you the worst case the provider designs for, not what you will usually see. Measure your own if a design depends on it.
Why are the cache numbers calculated?
Processor manuals give cache latency in clock cycles, not nanoseconds. The numbers here assume a 3 GHz clock; scale them for your processor’s clock speed.
How should I use these in an interview or design review?
Use them to compare options, not to predict exact response times. If one design needs ten cross-region round trips and another needs one, the numbers tell you which to choose before you build anything.
Learn it properly
Explore further
- Interactive latency numbersThe classic latency numbers, with a slider that re-estimates them year by year.
Last updated
More tools
All tools- estimatorBack-of-envelope estimatorTurn daily users into requests per second, storage and bandwidth, with the working shown.Open tool
- simulatorConsistent hashing simulatorA hash ring with virtual nodes: key spread per node, and how many keys move when the cluster changes.Open tool
- estimatorQueue latency estimatorWhy latency explodes as servers get busy: utilisation, waiting time and Little’s law.Open tool