What is physical memory?
It is the hardware: DRAM modules in the motherboard's slots, addressed by the memory controller in the CPU. A server listed with 128 GB has that many bytes of real, addressable RAM. Programs never address it directly; they use virtual addresses that the MMU maps onto physical page frames. But physical memory is the resource that actually runs out, so it is the number capacity planning revolves around. Virtual memory explains the other side.
How does Linux divide physical memory?
| Use | What it holds | Can it be reclaimed? |
|---|---|---|
| Process memory (anonymous) | Heaps, stacks, database buffers | Only by swapping or ending the process |
| Page cache | Copies of file data recently read or written | Yes, clean pages instantly |
| Shared memory and tmpfs | Shared buffers, files in /dev/shm and /run | Only by swapping |
| Kernel slab | Inode and dentry caches, network buffers | Partly |
| Kernel and firmware reserved | Kernel code, page tables, device areas | No |
Because the page cache expands to fill spare RAM, a healthy server often shows little "free" memory. The figure that matters is "available", the kernel's estimate of memory that can be handed to programs without swapping.
How do I read physical memory figures?
free -h grep -E '^(MemTotal|MemAvailable|Cached|Shmem|SReclaimable|AnonPages|PageTables)' /proc/meminfo dmesg | grep -i 'Memory:' | head -2
MemTotal is slightly less than the installed RAM because firmware and the kernel reserve some at boot; the dmesg line shows the split. AnonPages is memory owned by processes, Cached is page cache and SReclaimable is the part of kernel caches that can be freed. Check memory usage goes through more tools.
Why is MemTotal lower than the RAM I paid for?
Some physical address space is reserved by firmware for its own use, and the kernel sets aside memory for its code, its page structures (about 1.5 percent of RAM for the per-page metadata alone) and crash-dump reservations if configured. On a 64 GB machine, seeing 62 to 63 GB as MemTotal is normal. dmidecode -t memory shows the installed modules, confirming the full amount is present; see RAM slot.
How does physical memory work on dual-socket machines?
Each CPU socket has its own memory controller and its own bank of RAM. Both CPUs can reach all memory, but access to the other socket's RAM crosses an interconnect and takes longer. Linux shows each socket's memory as a NUMA node:
numactl --hardware numastat -m | head -20
Large databases and VM hosts on machines like D9 or M7 run better when each process or guest stays on one node's cores and memory. NUMA and dual-socket servers covers the details.
Does dedicated hardware change the picture?
Yes, in a useful way. On a virtual server, the "physical" memory the guest sees is itself virtual, backed by a host that may overcommit or reclaim it under pressure. On a single-tenant machine, the RAM listed is the RAM you have: no balloon drivers, no neighbors, no host swapping your pages. Measurements stay honest, and a database sized to the box keeps its performance all month. Physical memory across our range runs from 16 GB DDR3 on E1 to 1 TB DDR5 on M13.
How much physical memory should I leave free?
Plan for the busiest hour, then keep a cushion. A good rule is that process memory at peak should stay below about 80 percent of MemTotal, leaving the rest for page cache and spikes. Databases are the exception that proves the rule: they deliberately claim a large share for their own buffer pool, which should be accounted for as process memory. When available memory regularly falls under 10 percent, look at Out of memory (OOM) for what comes next, and at a larger model before it happens.
Physical RAM From 16 GB to 1 TB
| Server | Processor | Cores / threads | Memory | Storage | Network | Per month | Smallest order |
|---|---|---|---|---|---|---|---|
| E1 | Intel Xeon E3-1240 v3 | 4 / 8 | 16 GB DDR3 | 2x 240 GB SSD | 2x 1 Gbps | $30.52 | $91.56 (3 months) |
| S5 | Intel Xeon E-2276G | 6 / 12 | 128 GB DDR4 | 2x 1 TB NVMe | 2x 10 Gbps | $88.72 | $88.72 (1 month) |
| D9 | 2x Intel Xeon Gold 6326 | 32 / 64 | 256 GB DDR4 | 2x 2 TB NVMe | 2x 25 Gbps | $400.25 | $400.25 (1 month) |
| M7 | 2x Intel Xeon Gold 6430 | 64 / 128 | 512 GB DDR5 | 2x 4 TB NVMe | 2x 25 Gbps | $666.74 | $666.74 (1 month) |
| M13 | 2x Intel Xeon Gold 5418Y | 48 / 96 | 1 TB DDR5 | 2x 4 TB NVMe | 2x 25 Gbps | $849.12 | $849.12 (1 month) |
Keep Reading
Virtual memory
How every process gets its own private address space, how pages map to RAM or swap, and why VSZ and RSS numbers differ so much.
OpenCheck memory usage
Read free, /proc/meminfo, vmstat and per-process numbers correctly, and tell real memory pressure apart from a healthy page cache.
OpenNUMA and dual-socket servers
Why two processors in one box share memory unevenly, and when a dual-socket machine beats a single big chip.
OpenRAM slot
The motherboard sockets that hold memory modules, why channel population matters for speed, and how to list slots from Linux.
OpenFAQ
Quick Answers
Physical memory is the real RAM. Virtual memory is the address space each program sees, which the CPU maps onto physical RAM.
Usually not. Linux fills spare RAM with page cache, so look at the available column, which counts memory that can be reclaimed.
Firmware and the kernel reserve some memory at boot for their own structures. A small gap is normal.
Run numactl --hardware. Each NUMA node lists its CPUs and its share of the RAM.
No. Every machine is single tenant, so all listed memory is yours alone.