Latency numbers every programmer should know
How long does it take to read a cache line, a row from a database in the same zone, or a file from object storage? A designer who knows these costs to within a factor of ten can rule designs in or out before writing any code. This page updates the famous table, built from Peter Norvig’s and Jeff Dean’s figures and made popular by a 2012 gist, with measurements from current CPUs, NVMe drives and public clouds.
How to read the numbers
Section titled “How to read the numbers”Every value below is a typical figure for 2026 hardware, rounded to an order of magnitude. Real systems vary. A laptop, a 192-core server and a small cloud VM can differ by two to three times on the same row, and a busy system adds queueing on top of everything. Each row has a typical value and a lighter band showing the range you are likely to meet. Expand a row to see the range, the note and the sources.
Some conventions:
- Latency here means the time for one operation with nothing else in the queue: one memory load, one 4 KB read at queue depth 1, one network round trip. Throughput is a separate question; see latency vs throughput.
- Round trip means there and back. A one-way trip is about half of it.
- Units: 1 µs = 1,000 ns, 1 ms = 1,000 µs. The chart uses a logarithmic scale: each gridline is ten times the previous one.
- The human scale toggle stretches time so that 1 ns lasts 1 second. Then a memory access takes almost two minutes, a round trip inside a zone takes two days, and a request across the Atlantic takes two and a half years.
Typical latencies, log scale. Order of magnitude only: real hardware varies — the lighter band shows the usual range.
L1 cache reference1 ns1 secondclassic, ~2012: 0.5 ns
4–5 cycles on current x86 and Arm cores. Clock speeds plateaued at 3–6 GHz, so this has not shrunk in nanoseconds since 2012; the classic 0.5 ns is optimistic for today’s cores.
- Typical range
- 0.7 ns – 2 ns700 milliseconds – 2 seconds
- Classic table
- 0.5 ns — 2× slower than in 2012
- Sources
- Chips and Cheese — AMD’s Strix Point: Zen 5 Hits Mobile; Chips and Cheese — Arm’s Neoverse V2, in AWS’s Graviton 4; Chips and Cheese — A Look into Intel Xeon 6’s Memory Subsystem
CPU & memory
Branch mispredict3 ns3 secondsclassic, ~2012: 5 ns
About 13–14 cycles in the common case (11–18 on Zen 4): the pipeline is flushed and refilled. Cheap alone, expensive in a hot loop over unpredictable data.
- Typical range
- 2 ns – 6 ns2 seconds – 6 seconds
- Classic table
- 5 ns — 1.7× faster than in 2012
- Sources
- LLVM — X86ScheduleZnver4.td (Zen 4 scheduling model); LLVM — X86SchedAlderlakeP.td (Golden Cove scheduling model)
CPU & memory
L2 cache reference3.5 ns3.5 secondsclassic, ~2012: 7 ns
11–16 cycles (14 on Zen 5, 11 on Neoverse V2, 16 on Xeon 6). L2 grew to 1–3 MB per core while staying this fast.
- Typical range
- 2.5 ns – 5.5 ns2.5 seconds – 5.5 seconds
- Classic table
- 7 ns — 2× faster than in 2012
- Sources
- Chips and Cheese — AMD’s Strix Point: Zen 5 Hits Mobile; Chips and Cheese — Arm’s Neoverse V2, in AWS’s Graviton 4; Chips and Cheese — A Look into Intel Xeon 6’s Memory Subsystem
CPU & memory
Mutex lock/unlock (uncontended)15 ns15 secondsclassic, ~2012: 25 ns
One atomic instruction on the fast path. Under contention the loser sleeps in the kernel and pays a thread wake-up (microseconds) instead.
- Typical range
- 6 ns – 25 ns6 seconds – 25 seconds
- Classic table
- 25 ns ·
Mutex lock/unlock
— 1.7× faster than in 2012 - Sources
- Naz Quadri — The Lock You Didn’t Know You Were Taking; Measured for this page (2-vCPU cloud VM, Xeon @ 2.8 GHz, Linux, glibc, OpenSSL 3.0)
CPU & memory
L3 cache reference15 ns15 seconds
Not in the classic table. ~46 cycles on a Zen 5 laptop, 80+ cycles on Arrow Lake, 25–33 ns on big server meshes (Graviton 4, Xeon 6).
- Typical range
- 9 ns – 35 ns9 seconds – 35 seconds
- Classic table
- Not in the classic table.
- Sources
- HWCooling — Zen 5 tested: mobile core differs considerably from desktop one; Chips and Cheese — Examining Intel’s Arrow Lake, at the System Level; Chips and Cheese — Arm’s Neoverse V2, in AWS’s Graviton 4; Chips and Cheese — A Look into Intel Xeon 6’s Memory Subsystem
CPU & memory
Main memory reference (DRAM)100 ns1.7 minutesclassic, ~2012: 100 ns
Barely changed in 15 years. ~70 ns on a DDR5 desktop, 110–130 ns on many-core servers. Bandwidth grew a lot; latency did not.
- Typical range
- 70 ns – 130 ns1.2 minutes – 2.2 minutes
- Classic table
- 100 ns ·
Main memory reference
— about the same as in 2012 - Sources
- Chips and Cheese — AMD’s Ryzen 9950X: Zen 5 on Desktop; Chips and Cheese — Arm’s Neoverse V2, in AWS’s Graviton 4; Chips and Cheese — A Look into Intel Xeon 6’s Memory Subsystem; Chips and Cheese — Examining Intel’s Arrow Lake, at the System Level
CPU & memory
Decompress 1 KB (LZ4 / zstd)300 ns5 minutes
LZ4 decompresses at ~3.9 GB/s per core, zstd at ~1.5 GB/s. Decompression is several times cheaper than compression.
- Typical range
- 250 ns – 700 ns4.2 minutes – 12 minutes
- Classic table
- Not in the classic table.
- Sources
- Zstandard README — benchmark table
CPU & memory
Send 1 KB over a 25 Gbit/s link (wire time)330 ns5.5 minutesclassic, ~2012: 10 µs
Pure serialisation: 8,192 bits ÷ line rate (82 ns at 100 GbE, 820 ns at 10 GbE). Classic row assumed 1 Gbps. NICs, kernels and switches add tens of µs on top.
- Typical range
- 82 ns – 820 ns1.4 minutes – 14 minutes
- Classic table
- 10 µs ·
Send 1K bytes over 1 Gbps network
— 30× faster than in 2012 - Sources
- Arithmetic: bits ÷ line rate
Network
Compress 1 KB (zstd -1 / LZ4 / Snappy)2 µs33 minutesclassic, ~2012: 3 µs
Fast codecs compress ~500–700 MB/s per core. Zippy is today’s Snappy. Single cores got only modestly faster since 2012.
- Typical range
- 1.5 µs – 3 µs25 minutes – 50 minutes
- Classic table
- 3 µs ·
Compress 1K bytes with Zippy
— 1.5× faster than in 2012 - Sources
- Zstandard README — benchmark table
CPU & memory
Wake up a blocked thread (context switch)5 µs1.4 hours
What a contended lock or a blocking queue really costs: futex syscall, scheduler, cold caches. 3–10 µs on a Zen 4 machine; 6–17 µs measured on a small cloud VM.
- Typical range
- 2 µs – 20 µs33 minutes – 5.6 hours
- Classic table
- Not in the classic table.
- Sources
- Naz Quadri — The Lock You Didn’t Know You Were Taking; Measured for this page (2-vCPU cloud VM, Xeon @ 2.8 GHz, Linux, glibc, OpenSSL 3.0)
CPU & memory
Read 1 MB sequentially from memory (one core)30 µs8.3 hoursclassic, ~2012: 250 µs
One core streams anywhere from ~10 GB/s (a small cloud VM, measured) to ~52 GB/s (a Zen 5 server core). The whole socket reaches hundreds of GB/s.
- Typical range
- 19 µs – 100 µs5.3 hours – 1.2 days
- Classic table
- 250 µs ·
Read 1 MB sequentially from memory
— 8.3× faster than in 2012 - Sources
- Chips and Cheese — AMD’s Turin: 5th Gen EPYC Launched; Measured for this page (2-vCPU cloud VM, Xeon @ 2.8 GHz, Linux, glibc, OpenSSL 3.0)
CPU & memory
Read 4 KB randomly from NVMe SSD (QD1)50 µs14 hoursclassic, ~2012: 150 µs
One outstanding I/O at a time. Rated 22K IOPS at QD1 for a Samsung 990 PRO (≈45 µs). The flash read itself sets the floor; queue depth buys throughput, not latency.
- Typical range
- 20 µs – 100 µs5.6 hours – 1.2 days
- Classic table
- 150 µs ·
Read 4K randomly from SSD
— 3× faster than in 2012 - Sources
- Samsung NVMe SSD 990 PRO data sheet; StorageReview — KIOXIA CM7-R E3.S SSD review
Storage
Read 1 MB sequentially from NVMe SSD100 µs1.2 daysclassic, ~2012: 1 ms
~7 GB/s on PCIe 4, ~14 GB/s on PCIe 5 drives — 7–14 times the ~1 GB/s of the classic row (SATA SSDs of 2012 were capped near 0.55 GB/s).
- Typical range
- 70 µs – 300 µs19 hours – 3.5 days
- Classic table
- 1 ms ·
Read 1 MB sequentially from SSD
— 10× faster than in 2012 - Sources
- Samsung NVMe SSD 990 PRO data sheet; PC Perspective — Samsung 9100 PRO PCIe 5.0 NVMe SSD review
Storage
Round trip within an availability zone200 µs2.3 daysclassic, ~2012: 500 µs
AWS: “typically sub-millisecond” between instances in one AZ; 300 µs p50 in its own example; 50–260 µs measured with netperf. Kernel-bypass stacks reach ~10 µs.
- Typical range
- 50 µs – 500 µs14 hours – 5.8 days
- Classic table
- 500 µs ·
Round trip within same datacenter
— 2.5× faster than in 2012 - Sources
- AWS Architecture Blog — Improving performance and reducing cost using Availability Zone affinity; Measuring latency among AWS Availability Zones (netperf, 2023)
Network
Redis / Valkey GET over the network (same AZ)250 µs2.9 days
The server needs well under 1 µs; you pay the network round trip. A Unix socket gets ~30 µs. Pipelining amortises the trip over many keys.
- Typical range
- 100 µs – 500 µs1.2 days – 5.8 days
- Classic table
- Not in the classic table.
- Sources
- Redis docs — Diagnosing latency issues; AWS Architecture Blog — Improving performance and reducing cost using Availability Zone affinity
Distributed systems & everyday ops
Send 1 MB over a 25 Gbit/s link (wire time)340 µs3.9 daysclassic, ~2012: 10 ms
~3 GB/s of payload per 25 GbE port (84 µs at 100 GbE). The 10 ms classic row is from the primer’s 1 Gbps version of the table.
- Typical range
- 84 µs – 840 µs23 hours – 9.7 days
- Classic table
- 10 ms ·
Read 1 MB sequentially from 1 Gbps
— 29× faster than in 2012 - Sources
- Arithmetic: bits ÷ line rate; The System Design Primer — Appendix
Network
Indexed PostgreSQL query over the network500 µs5.8 days
Primary-key lookup: 19 µs over a Unix socket, 34 µs over localhost TCP, 0.42 ms over a LAN. The database work is tiny; the round trip dominates.
- Typical range
- 200 µs – 1.5 ms2.3 days – 17 days
- Classic table
- Not in the classic table.
- Sources
- Cybertec — PostgreSQL performance: latency in the cloud and on premise
Distributed systems & everyday ops
Cloud block volume I/O (network-attached SSD)1 ms12 days
EBS io2 Block Express averages under 500 µs for 16 KiB I/O; gp3 is “single-digit millisecond”. Ten times a local NVMe drive — every I/O crosses the network.
- Typical range
- 300 µs – 5 ms3.5 days – 1.9 months
- Classic table
- Not in the classic table.
- Sources
- Amazon EBS volume types
Storage
Round trip between availability zones (same region)1 ms12 days
AZs are up to ~100 km apart; AWS quotes “single-digit millisecond” and uses ~1–1.5 ms per crossing in its examples; netperf measured 0.2–1.8 ms depending on the pair. Fine for synchronous replication.
- Typical range
- 200 µs – 2 ms2.3 days – 23 days
- Classic table
- Not in the classic table.
- Sources
- AWS Architecture Blog — Improving performance and reducing cost using Availability Zone affinity; AWS Fault Isolation Boundaries — Availability Zones; Measuring latency among AWS Availability Zones (netperf, 2023)
Network
TLS 1.3 handshake (same region)1 ms12 days
One extra round trip (TLS 1.2 needed two) plus ~0.3 ms of crypto on both ends with an ECDSA certificate, ~1 ms with RSA-2048. Across an ocean the round trip dominates: add ~80–150 ms. Resumption with 0-RTT removes it.
- Typical range
- 500 µs – 2 ms5.8 days – 23 days
- Classic table
- Not in the classic table.
- Sources
- Cloudflare — A Detailed Look at RFC 8446 (a.k.a. TLS 1.3); Measured for this page (2-vCPU cloud VM, Xeon @ 2.8 GHz, Linux, glibc, OpenSSL 3.0)
Network
Read 1 MB sequentially from HDD5 ms1.9 monthsclassic, ~2012: 20 ms
Modern 7,200 rpm drives stream ~285 MB/s on outer tracks and about half that on inner ones. The primer’s copy of the classic table said 30 ms.
- Typical range
- 3.5 ms – 8 ms1.3 months – 3 months
- Classic table
- 20 ms ·
Read 1 MB sequentially from disk
— 4× faster than in 2012 - Sources
- StorageReview — Seagate Exos X24 (spec table); Wikipedia — Hard disk drive performance characteristics
Storage
HDD random read (seek + rotation)10 ms3.8 monthsclassic, ~2012: 10 ms
Mechanics did not change: 4.16 ms average rotational latency at 7,200 rpm plus a ~5–9 ms seek. That is only ~75–110 random reads per second per drive at queue depth 1.
- Typical range
- 8 ms – 15 ms3 months – 5.7 months
- Classic table
- 10 ms ·
Disk seek
— about the same as in 2012 - Sources
- StorageReview — Seagate Exos X24 (spec table); Wikipedia — Hard disk drive performance characteristics
Storage
DNS lookup, resolver cache hit10 ms3.8 months
Roughly one round trip to the recursive resolver: inside a cloud VPC that is a same-zone hop (under 1 ms), from home or mobile networks 5–30 ms. OS and browser caches answer in microseconds.
- Typical range
- 500 µs – 30 ms5.8 days – 11 months
- Classic table
- Not in the classic table.
- Sources
- Steve Souders — High Performance Web Sites, ch. 11: Reduce DNS Lookups; Google Public DNS — Performance benefits
Distributed systems & everyday ops
Object storage GET, time to first byte30 ms11 months
S3 Standard: ~30 ms median measured in-region, with a tail to 200 ms (AWS says plan for 100–200 ms). S3 Express One Zone: single-digit ms.
- Typical range
- 5 ms – 200 ms1.9 months – 6.3 years
- Classic table
- Not in the classic table.
- Sources
- Durner, Leis, Neumann — Exploiting Cloud Object Storage for High-Performance Analytics (VLDB 2023); Amazon S3 — Best practices design patterns: optimizing performance; Amazon S3 — Optimizing S3 Express One Zone performance
Distributed systems & everyday ops
Round trip US East ↔ Western Europe80 ms2.5 years
Median 83–85 ms between Azure East US and West Europe, 71–73 ms to North Europe. Light in fibre covers ~200 km per ms; distance sets the floor.
- Typical range
- 70 ms – 90 ms2.2 years – 2.9 years
- Classic table
- Not in the classic table.
- Sources
- Microsoft Learn — Azure network round-trip latency statistics
Network
DNS lookup, cache miss (full recursion)100 ms3.2 years
The resolver talks to one or more authoritative servers: ~130 ms average when they answer, 300–400 ms once timeouts and retries are included.
- Typical range
- 30 ms – 400 ms11 months – 13 years
- Classic table
- Not in the classic table.
- Sources
- Google Public DNS — Performance benefits; Steve Souders — High Performance Web Sites, ch. 11: Reduce DNS Lookups
Distributed systems & everyday ops
Round trip California ↔ Netherlands145 ms4.6 yearsclassic, ~2012: 150 ms
Median 145–146 ms between Azure West US and West Europe — the classic 150 ms still holds, because the speed of light did not change.
- Typical range
- 130 ms – 150 ms4.1 years – 4.8 years
- Classic table
- 150 ms ·
Send packet CA->Netherlands->CA
— about the same as in 2012 - Sources
- Microsoft Learn — Azure network round-trip latency statistics
Network
Round trip to the other side of the world280 ms8.9 years
West Europe ↔ Australia East 265 ms, Brazil South ↔ Australia East 295 ms (Azure medians). About 3–4 sequential round trips per second.
- Typical range
- 250 ms – 300 ms7.9 years – 9.5 years
- Classic table
- Not in the classic table.
- Sources
- Microsoft Learn — Azure network round-trip latency statistics
Network
No categories selected.
Compare two operations
Use compare to put two operations side by side. For example, set A to “Round trip within an availability zone” and B to “Main memory reference”: one network hop costs as much as about two thousand memory reads.
The ladder to memorise
Section titled “The ladder to memorise”Most design questions only need you to place an operation on the right rung of this ladder. Each rung is roughly ten to a hundred times slower than the previous one.
| Rung | Typical operations |
|---|---|
| ~1 ns | L1 cache hit, branch mispredict, simple arithmetic |
| ~10 ns | L2/L3 cache hit, uncontended mutex |
| ~100 ns | Main memory (DRAM) access |
| ~1–10 µs | Compressing 1 KB, waking a blocked thread, a system call with real work |
| ~30–100 µs | Random 4 KB read from NVMe, reading 1 MB from memory (~30 µs) or NVMe (~100 µs) |
| ~200–500 µs | Round trip inside an availability zone; a cache or primary-key lookup over the network |
| ~1 ms | Round trip between zones; TLS handshake inside a region; cloud block-volume I/O |
| ~10 ms | Disk seek; DNS answered by a resolver cache; object storage first byte with a fast tier |
| ~100 ms | Cross-continent round trip; uncached DNS; object storage first byte at the tail |
What changed since 2012 and why
Section titled “What changed since 2012 and why”CPUs stopped getting faster per operation
Section titled “CPUs stopped getting faster per operation”Clock speeds have been stuck at 3–6 GHz for about twenty years. Cache latency is a fixed number of cycles (4–5 for L1, 11–16 for L2), so in nanoseconds it has not moved. The classic 0.5 ns for L1 is optimistic for today’s cores; about 1 ns is a better rule. The real progress went elsewhere: more cores, larger caches (1–3 MB of L2 per core, hundreds of MB of L3 on server chips) and wider execution units.
DRAM latency is flat at about 100 ns. A desktop with DDR5 measures around 70 ns; big server chips with many memory channels and a mesh between cores sit at 110–130 ns. Memory bandwidth grew a lot, so streaming 1 MB now takes tens of microseconds instead of 250.
Storage changed the most
Section titled “Storage changed the most”In 2012, a typical SSD was a SATA device capped at about 0.5 GB/s (the classic table rounds it to 1 GB/s), and many servers still used spinning disks. Today local storage is NVMe on PCIe 4 or 5:
- A random 4 KB read takes about 50 µs at queue depth 1 (20–100 µs depending on the drive). With deep queues a single drive serves a million or more IOPS.
- Sequential reads run at 7 GB/s (PCIe 4) to 14 GB/s (PCIe 5), 7–14 times the classic SSD row.
- Hard disks kept the same mechanics: about 10 ms per random read, so only about 100 random IOPS per drive. Denser platters raised sequential speed to about 250 MB/s, so they remain good for large sequential data and bad for anything random.
In the cloud, many volumes are network-attached (EBS, Persistent Disk). Each I/O crosses the network, which puts them between about 0.5 ms (EBS io2 Block Express) and a few milliseconds (gp3), ten times slower than a local NVMe drive or more. Instance-store NVMe is fast but disappears with the instance.
Networks got wider, not much closer
Section titled “Networks got wider, not much closer”Server ports moved from 1 Gbit/s to 25–100 Gbit/s, so putting bytes on the wire is 25–100 times faster: 1 KB takes about 330 ns at 25 GbE. A round trip inside a data centre improved less, because most of it is spent in the kernel, the virtual network and the NIC rather than in the cable. Typical cloud figures are 50–500 µs within a zone and about 1 ms between zones. Kernel-bypass stacks and HPC fabrics get to 10 µs or less, but ordinary services rarely use them.
Wide-area latency is bound by physics. Light in fibre covers about 200 km per millisecond, and cables do not follow great circles. California to the Netherlands and back is still about 145 ms, just as the classic table says.
New rows for cloud building blocks
Section titled “New rows for cloud building blocks”The classic table predates managed services, so this version adds the costs you meet in a typical design today: a GET from Redis or Valkey, an indexed PostgreSQL query, a TLS 1.3 handshake, DNS with and without a cache hit, and the first byte from object storage. Almost all of them are dominated by the network round trip, not by the work the server does.
Rules of thumb you can derive
Section titled “Rules of thumb you can derive”Round trips per second, one after another (one connection, no parallelism):
| Path | Round trip | Sequential trips per second |
|---|---|---|
| Inside an availability zone | ~200 µs | ~5,000 |
| Between zones in one region | ~1 ms | ~1,000 |
| US East ↔ Western Europe | ~80 ms | ~12 |
| California ↔ Netherlands | ~145 ms | ~7 |
| Opposite side of the world | ~280 ms | ~3–4 |
Reading 1 GB, roughly:
| Source | Throughput | Time for 1 GB |
|---|---|---|
| Memory, one core | 10–50 GB/s | 20–100 ms |
| NVMe SSD | 7–14 GB/s | ~0.1 s |
| 25 Gbit/s network | ~3 GB/s | ~0.35 s |
| Hard disk, sequential | ~250 MB/s | ~4 s |
| One object-storage stream | ~60 MB/s | ~17 s, so use many parallel range reads |
What these mean for design:
- Chains of calls are expensive across regions. Three sequential calls to a service 80 ms away cost 240 ms before any work is done. Collocate chatty services, batch, or call in parallel.
- A remote cache is not automatically faster than a local disk. In 2012 a network round trip (500 µs) beat a disk seek (10 ms) by twenty times, which made “memory over the network” the obvious answer. Today a local NVMe read (50 µs) is cheaper than a same-zone round trip (200 µs). A cache such as Redis earns its place when it saves a database query, computation or a cross-region trip.
- Within a zone, the database query is mostly network. A primary-key lookup costs about 20 µs over a local Unix socket and about 0.4 ms over the network. Fewer round trips (batching, pipelining, a join instead of N+1 queries) usually beats faster queries.
- Synchronous replication across zones is cheap; across regions it is not. Adding 1 ms per write is fine for most systems. Adding 80–150 ms is a product decision; see replication.
- Tail latency multiplies. A request that fans out to 100 servers waits for the slowest one: 63% of such requests hit at least one server’s p99.
The classic table for reference
Section titled “The classic table for reference”The values below are the “~2012” version from Jonas Bonér’s gist, which compiled Jeff Dean’s and Peter Norvig’s numbers. The original System Design Primer used a variant with 10 µs for compression, 30 ms for reading 1 MB from disk and an extra row for reading 1 MB over 1 Gbps (10 ms).
L1 cache reference 0.5 nsBranch mispredict 5 nsL2 cache reference 7 nsMutex lock/unlock 25 nsMain memory reference 100 nsCompress 1K bytes with Zippy 3,000 ns = 3 µsSend 1K bytes over 1 Gbps network 10,000 ns = 10 µsRead 4K randomly from SSD 150,000 ns = 150 µsRead 1 MB sequentially from memory 250,000 ns = 250 µsRound trip within same datacenter 500,000 ns = 500 µsRead 1 MB sequentially from SSD 1,000,000 ns = 1 msDisk seek 10,000,000 ns = 10 msRead 1 MB sequentially from disk 20,000,000 ns = 20 msSend packet CA->Netherlands->CA 150,000,000 ns = 150 msTurn on Compare with the classic table in the explorer to see each 2026 value next to its classic counterpart.
Sources
Section titled “Sources”Values were collected on 8 October 2026 and re-checked against the sources below on 18 October 2026. Where only cycle counts were published, nanoseconds assume 3–5 GHz. A few rows were cross-checked with microbenchmarks on a small cloud VM.
- Latency Numbers Every Programmer Should Know (gist, 2012)Classic values (Jeff Dean, Peter Norvig)
- Jeff Dean — Designs, Lessons and Advice from Building Large Distributed Systems (LADIS 2009)“Numbers everyone should know” slide (2009 version, which the gist follows)
- The System Design Primer — AppendixThe primer’s copy of the table (1 Gbps row)
- Chips and Cheese — AMD’s Strix Point: Zen 5 Hits MobileZen 5: L1D 4 cycles, L2 14 cycles
- HWCooling — Zen 5 tested: mobile core differs considerably from desktop oneZen 5 (mobile, Ryzen AI 9 365): L3 ≈ 46 cycles
- Chips and Cheese — AMD’s Ryzen 9950X: Zen 5 on DesktopDDR5-6000 memory latency just over 70 ns
- Chips and Cheese — Examining Intel’s Arrow Lake, at the System LevelL3 80+ cycles; DRAM over 100 ns
- Chips and Cheese — Arm’s Neoverse V2, in AWS’s Graviton 4L1D 4 cycles, L2 11 cycles, L3 25 ns, DRAM 114 ns
- Chips and Cheese — A Look into Intel Xeon 6’s Memory SubsystemL1D 5 cycles, L2 16 cycles, L3 ~33 ns; Turin DRAM 125.6 ns
- Chips and Cheese — AMD’s Turin: 5th Gen EPYC LaunchedSingle-thread read bandwidth ≈ 52 GB/s
- LLVM — X86ScheduleZnver4.td (Zen 4 scheduling model)Mispredict penalty 13 cycles (range 11–18)
- LLVM — X86SchedAlderlakeP.td (Golden Cove scheduling model)Mispredict penalty 14 cycles
- Naz Quadri — The Lock You Didn’t Know You Were TakingUncontended pthread lock ~18 ns; sleep/wake 3–10 µs (Zen 4)
- Zstandard README — benchmark tablezstd -1, LZ4 and Snappy compression and decompression speeds (one lzbench run, i7-9700K)
- Samsung NVMe SSD 990 PRO data sheet22K IOPS random 4 KB read at QD1; 7,450 MB/s sequential
- PC Perspective — Samsung 9100 PRO PCIe 5.0 NVMe SSD review14.7 GB/s sequential read measured (PCIe 5)
- StorageReview — KIOXIA CM7-R E3.S SSD review4K random read under load (128 threads): 78 µs for the CM7-R and 123 µs for a Samsung PM1743 at ~0.7M IOPS, 183 µs for a Memblaze 7940 at 1.09M IOPS
- Amazon EBS volume typesio2 Block Express < 500 µs; gp3 single-digit ms
- StorageReview — Seagate Exos X24 (spec table)4.16 ms average latency; 285 MB/s max sustained
- Wikipedia — Hard disk drive performance characteristicsSeek time and rotational latency
- AWS Architecture Blog — Improving performance and reducing cost using Availability Zone affinitySub-ms within an AZ (300 µs p50); ~1–1.5 ms per AZ crossing
- AWS Fault Isolation Boundaries — Availability ZonesAZs up to ~100 km apart, single-digit ms
- Measuring latency among AWS Availability Zones (netperf, 2023)Same-AZ 49–259 µs; cross-AZ 0.2–1.8 ms
- Microsoft Learn — Azure network round-trip latency statisticsMedian inter-region RTTs (30 days to 2026-07-30)
- Cloudflare — A Detailed Look at RFC 8446 (a.k.a. TLS 1.3)1-RTT handshake, 0-RTT resumption
- Redis docs — Diagnosing latency issuesSub-µs command processing; network ~200 µs, Unix socket ~30 µs
- Cybertec — PostgreSQL performance: latency in the cloud and on premisepgbench -S: 0.019 ms socket, 0.034 ms localhost, 0.42 ms LAN
- Google Public DNS — Performance benefitsCache misses dominate; ~130 ms average resolution
- Steve Souders — High Performance Web Sites, ch. 11: Reduce DNS LookupsBrowser DNS lookups typically 20–120 ms
- Amazon S3 — Best practices design patterns: optimizing performanceSmall-object latency roughly 100–200 ms
- Amazon S3 — Optimizing S3 Express One Zone performanceSingle-digit ms first byte, up to 10× faster than Standard
- Durner, Leis, Neumann — Exploiting Cloud Object Storage for High-Performance Analytics (VLDB 2023)S3 median base latency ~30 ms; < 5% above 200 ms
- Arithmetic: bits ÷ line rate1 KB = 8,192 bits; 25 Gbit/s → 328 ns
- Measured for this page (2-vCPU cloud VM, Xeon @ 2.8 GHz, Linux, glibc, OpenSSL 3.0)Mutex lock+unlock 6–9 ns; thread hand-off 6–17 µs; DRAM pointer chase 150–250 ns and one-core sequential read ~11 GB/s (VM); X25519 ~38–42 µs, ECDSA P-256 sign ~25–29 µs / verify ~74 µs, RSA-2048 sign ~0.75 ms
Links checked on 18 October 2026.
Further reading
Section titled “Further reading”- Software Engineering Advice from Building Large-Scale Distributed Systems — Jeff Dean’s 2007 Stanford talk with an early version of the table (the source of the primer’s 10 µs and 30 ms rows) and a thumbnail-page estimate.
- Latency numbers every programmer should know — the gist that made the table famous.
- Napkin Math — a maintained set of performance figures and benchmarks for estimates.
- Chips and Cheese — detailed cache and memory measurements of current CPUs.
- Azure network round-trip latency statistics — monthly median round-trip times between cloud regions.
Related topics
Section titled “Related topics”- Latency vs throughput — why the two numbers answer different questions.
- Back-of-the-envelope estimation — how to use these numbers to size a system.
- Powers of two — the other table every estimate needs.
- Caching layers — where each cache sits on the latency ladder.
- TCP and UDP — why round trips dominate connection setup.
Based on The System Design Primer by Donne Martin (CC BY 4.0). Restructured, rewritten and updated; site content is licensed under CC BY 4.0.