Glossary

SRAM (Static Random Access Memory)

SRAM stores each bit in a small circuit of transistors that holds its state as long as power is on. It is very fast and needs no refresh, which makes it the memory of CPU caches.

How does SRAM hold a bit?

A standard SRAM cell uses six transistors: four form two cross-coupled inverters that lock into one of two stable states, and two connect the cell to the bit lines for reading and writing. As long as power is applied, the latch keeps its value. There is no capacitor to leak, so no refresh is needed, and reads do not destroy the stored value. The result is memory that responds in a cycle or a few, right next to the logic that uses it.

How does SRAM compare with DRAM?

SRAMDRAM
Cell6 transistors (some designs 4 or 8)1 transistor + 1 capacitor
RefreshNot neededEvery few milliseconds
Access timeAbout 1 to 20 ns on chipAbout 80 to 120 ns from the CPU
Density and costLow density, high cost per bitHigh density, low cost per bit
Main useCPU caches, registers files, network chip buffersMain memory

Because of its size, SRAM is measured in kilobytes and megabytes, not gigabytes. DRAM covers the other side of the comparison.

Where is SRAM in a server?

  • CPU caches: L1, L2 and L3 caches are SRAM built into the processor die. This is by far the largest use.
  • Register files and buffers inside each core.
  • Network and storage controllers: switch chips, NICs and NVMe controllers use SRAM for packet buffers and lookup tables.
  • Firmware settings memory on older boards, kept alive by a small battery.

Why does cache size matter on server CPUs?

Every time a core needs data that is not in its caches, it waits for DRAM, wasting hundreds of cycles. A larger L3 keeps more of a program's hot data on chip. Databases with busy indexes, game servers with large worlds, virtualization hosts juggling several guests and compilers all benefit. Cache sizes vary widely across the CPUs in our range. You can read them directly:

lscpu -C
getconf -a | grep -i CACHE_SIZE

lscpu -C lists each cache level, its size, associativity and how many cores share it. On dual-socket machines such as D16, each CPU has its own L3, so the total doubles, but data in the other socket's cache is slower to reach.

What does SRAM have to do with CPU generations?

Manufacturing advances have shrunk logic faster than SRAM cells in recent process nodes, which makes big caches expensive in silicon area. Chip designers respond with stacked cache dies, larger shared L3 slices or chiplet layouts. For buyers, the effect is that cache size is now a real point of difference between CPU models, not just a footnote, and it is worth checking alongside cores and clock speed. The EPYC chips in S13 and S14, the Xeon 6 line such as X3, and the Ampere processors such as A3 each take a different approach.

How can software make better use of SRAM caches?

Keep hot data compact and access it in order. Arrays beat linked lists for cache use; smaller structs mean more of them fit per cache line; processing data in blocks that fit in L2 avoids thrashing. Pinning a latency-sensitive process to specific cores with taskset or systemd's CPUAffinity= keeps its data warm in those cores' caches instead of moving between them. Profilers such as perf stat -e cache-misses,cache-references show how well a program uses the cache.

Is SRAM ever used as main memory?

Only in tiny systems such as microcontrollers, where a few hundred kilobytes is enough and simplicity matters. For anything with gigabytes of data, DRAM is the only practical choice, and SRAM caches make it feel fast. Together with SSDs for storage, they form the The memory hierarchy every server relies on.

CPUs With Different Cache Designs

ServerProcessorCores / threadsMemoryStorageNetworkPer monthSmallest order
S13AMD EPYC 4345P8 / 16128 GB DDR52x 2 TB NVMe2x 25 Gbps$237.92$237.92 (1 month)
S14AMD EPYC 4565P16 / 32192 GB DDR52x 4 TB NVMe2x 25 Gbps$317.89$317.89 (1 month)
X3Intel Xeon 6770P64 / 128128 GB DDR52x 2 TB NVMe2x 25 Gbps$874.23$874.23 (1 month)
D162x Intel Xeon Gold 654040 / 80256 GB DDR52x 2 TB NVMe2x 25 Gbps$542.33$542.33 (1 month)
A3AmpereOne A96-36X96 / 96256 GB DDR51x 4 TB NVMe + 1x 1 TB NVMe (boot)2x 25 Gbps$369.75$4,437.00 (12 months)

Keep Reading

DRAM

How dynamic RAM stores bits in capacitors that must be refreshed, why it is the main memory of every server, and how DDR generations differ.

Open

Cache

Caching at every layer of a server, from CPU L1 to the page cache to application caches, and how each one makes the box faster.

Open

The memory hierarchy

From registers through L1, L2 and L3 caches to RAM, NVMe and the network: how each level trades speed for size, and why it shapes performance.

Open

CPU

What a CPU is, the parts inside it, and how cores, clocks, cache and sockets translate into real server performance.

Open

FAQ

Quick Answers

It holds bits in transistor latches right next to the logic, with no capacitor to charge, sense and refresh.

Each bit needs about six transistors, so it is far too large and costly per gigabyte.

Run lscpu -C. It lists each cache level with its size and how many cores share it.

No. Like DRAM it is volatile, but it needs no refresh while power is on.

For workloads with large hot data sets, such as databases and VMs, often noticeably. Simple workloads see less difference.