Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

iTechGuides is reader-supported. When you buy through links on our site, we may earn an affiliate commission. As an Amazon Associate I earn from qualifying purchases. Learn more

Hardware virtual memory is the processor-supported system that translates the virtual addresses programs use into physical addresses in memory. The memory management unit (MMU) performs the translation using mappings configured by the operating system, helping keep each program’s address space separate from the machine’s physical memory layout.

What is hardware virtual memory?

Programs work with virtual addresses: addresses in their own logical address spaces. A physical address identifies a location in the computer’s memory system. Hardware virtual memory connects the two, so application code does not need to know where its data sits in physical memory. The Linux kernel describes the MMU as the hardware component that handles virtual-to-physical address translation (Linux Kernel Documentation: Page Tables).

This mechanism is not the same as saying that every virtual address is backed by a location in RAM at all times. A mapping may be absent, invalid, or refer to a page that is not currently resident in physical memory. The operating system determines how to handle those cases.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

How does virtual-to-physical address translation work?

  1. A program issues a virtual address. In a paged system, the address identifies a virtual page and an offset within that page.
  2. The MMU checks for a cached translation. The translation lookaside buffer (TLB) stores recently used translations. On a TLB hit, the processor can reuse the mapping without another page-table walk.
  3. On a TLB miss, the translation mechanism looks up the mapping. It consults the page tables, often through a multi-level page walk. Some architectures also cache information used during page walks.
  4. The physical address is formed. A valid mapping identifies a physical page frame; the original offset selects the location within that frame.

Page-table formats, lookup levels, page sizes, and translation stages vary by processor architecture. Arm’s AArch64 guide, for example, explains translation tables and translation stages for that architecture (Arm: Learn the architecture — AArch64 memory management Guide).

#1 Best Overall
Sale
MSI MAG B850 Tomahawk MAX WiFi Motherboard, ATX - Supports AMD Ryzen 9000/8000 / 7000 Processors, AM5-80A SPS VRM, DDR5 Memory Boost 8400+ MT/s (OC), PCIe 5.0 x16, M.2 Gen5, Wi-Fi 7, 5G LAN
  • ULTRA POWER - SUPPORTS THE LATEST RYZEN 9000 PROCESSORS IN HIGH PERFORMANCE - The MAG B850 TOMAHAWK MAX WIFI employs a 14 Duet Rail Power System (80A, SPS) VRM for the AMD B850 chipset (AM5, Ryzen 9000 / 8000 / 7000) with Core Boost architecture
  • FROZR GUARD - Premium cooling features such as 7W/mK MOSFET thermal pads, extra choke thermal pads and an Extended Heatsink; Includes chipset heatsink, EZ M.2 Shield Frozr II, and a Combo-fan (for pump & system) header (3A)
  • DDR5 MEMORY, PCIe 5.0 x16 SLOT - 4 x DDR5 DIMM SMT slots enable extreme memory overclocking speeds (1DPC 1R, 8400+ MT/s); 1 x PCIe 5.0 x16 SMT slot (128GB/s) with Steel Armor II supports cutting-edge graphics cards
  • QUADRUPLE M.2 CONNECTORS - Storage options include 2 x M.2 Gen5 x4 128Gbps slots, 1 x M.2 Gen4 x4 64Gbps slot and 1 x M.2 Gen4 x2 32Gbps slot; Features EZ M.2 Shield Frozr II to prevent thermal throttling and EZ M.2 Clip II for EZ DIY experience
  • CONNECTIVITY - Network hardware includes a full-speed Wi-Fi 7 module with Bluetooth 5.4 & 5Gbps LAN; Rear ports include USB 20G Type-C and 7.1 USB High Performance Audio with Audio Boost 5 (supports S/PDIF output)

What does the MMU do, and what does the operating system do?

The MMU is hardware that performs translation and can enforce access permissions and memory attributes. Page tables are data structures that describe address mappings; the operating system creates and changes them and handles faults when an access cannot proceed. The exact responsibilities and required operations depend on the architecture. Arm’s guide also covers software management of translation tables and TLB maintenance.

For a concrete, product-specific example, AMD’s Zynq-7000 technical reference manual describes an MMU with translation tables, a table walker, and a TLB. Its details apply to that system, not to every processor (AMD: MMU Functional Description).

Rank #2
Sale
GIGABYTE B550 Eagle WIFI6 AMD AM4 ATX Motherboard, Supports Ryzen 5000/4000/3000 Processors, DDR4, 10+3 Power Phase, 2X M.2, PCIe 4.0, USB-C, WIFI6, GbE LAN, PCIe EZ-Latch, EZ-Latch, RGB Fusion
  • AMD Socket AM4: Ready to support AMD Ryzen 5000 / Ryzen 4000 / Ryzen 3000 Series processors
  • Enhanced Power Solution: Digital twin 10 plus3 phases VRM solution with premium chokes and capacitors for steady power delivery.
  • Advanced Thermal Armor: Enlarged VRM heatsinks layered with 5 W/mk thermal pads for better heat dissipation. Pre-Installed I/O Armor for quicker PC DIY assembly.
  • Boost Your Memory Performance: Compatible with DDR4 memory and supports 4 x DIMMs with AMD EXPO Memory Module Support.
  • Comprehensive Connectivity: WIFI 6, PCIe 4.0, 2x M.2 Slots, 1GbE LAN, USB 3.2 Gen 2, USB 3.2 Gen 1 Type-C

What happens when there is no usable mapping?

If an access lacks a usable mapping, violates permissions, or refers to a page not resident in physical memory, the processor raises a fault for the operating system to handle. Depending on the cause, the OS may make a page available and update mappings, or reject the access.

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

A page fault is therefore not automatically a program error. It can be part of ordinary demand paging, where the operating system brings a needed page into memory. A fault caused by an invalid address or prohibited access may instead result in an error. The behavior depends on the operating system and the reason for the fault. Linux documents page tables and fault-related handling in its Page Tables documentation; Apple’s archived documentation explains the role of page faults in its virtual memory system (Apple: About the Virtual Memory System).

Rank #3
Sale
GIGABYTE B550M K AMD AM4 Micro-ATX Motherboard, Supports Ryzen 5000/4000/3000 Series Processors, DDR4, 3+3 Power Phase, 2X M.2, PCIe 4.0, USB 3.2 Gen 1, GbE LAN, Q-Flash
  • AMD Socket AM4: Ready to support AMD Ryzen 5000/4000/3000 Series Processors
  • Enhanced Power Solution: Digital 3+3 VRM Design and premium chokes and capacitors for steady power delivery.
  • Advanced Thermal Armor: Chipset heatsinks for better heat dissipation.
  • Boost Your Memory: Compatible with DDR4 and supports 4 DIMMS with Extreme Memory Profile support.
  • Comprehensive Connectivity: 1x Ultra Durable PCIe 4.0 x16 slot, 1x PCIe 4.0 M.2 slot, 1x PCIe 3.0 M.2 slot, 4x USB 3.2 Gen 1 ports for hassle-free setup.

Why use hardware virtual memory?

  • Isolation: Processes can use separate logical address spaces, with access permissions helping prevent unauthorized access across mappings.
  • Controlled sharing: The operating system can map selected memory for use by more than one process.
  • Demand paging: A system can keep only needed pages in physical memory and arrange for software to handle accesses to pages that are not resident.
  • Abstraction: Programs can use a logical address space without managing the physical memory layout themselves.

These capabilities describe the virtual-memory system as a whole: hardware performs address translation and permission checks, while the operating system manages mappings and policy. Linux’s overview discusses the abstraction, protection, sharing, and demand paging (Linux Kernel Documentation: Concepts overview).

Virtual address, physical address, MMU, and TLB at a glance

Term Meaning
Virtual address An address used within a program’s logical address space.
Physical address An address identifying a location in the machine’s memory system.
MMU Processor hardware that translates addresses and can apply access permissions and memory attributes.
Page table Operating-system-managed data describing mappings between virtual pages and physical page frames.
TLB A cache of recent address translations that can avoid repeated page-table walks.
Page fault A processor-raised event for an access the operating system must handle, such as a nonresident page or an invalid or prohibited access.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

What varies between systems?

The core idea is consistent—hardware translates addresses using mappings managed by software—but implementation details are architecture- and operating-system-dependent. Translation-table organization, supported page sizes, translation stages, TLB behavior and maintenance, permission checks, and fault handling can differ. Consult the official manual for the specific processor architecture when those implementation details matter.

Best Value
Sale
MSI PRO B760-P WiFi DDR4 ProSeries Motherboard - Supports 12th/13th/14th Gen Intel Processors, LGA 1700, DDR4, PCIe 4.0, M.2, 2.5Gbps LAN, USB 3.2 Gen2, HDMI/DP, Wi-Fi 6E, Bluetooth 5.3, ATX
  • Supports 12th/13th Gen Intel Core, Pentium Gold and Celeron processors for LGA 1700 socket
  • Supports DDR4 Memory, Dual Channel DDR4 5333+MHz (OC)
  • Enhanced Power Design: 12+1 Duet Rail Power System with P-PAK, 8-pin + 4-pin CPU power connectors, Core Boost, Memory Boost
  • Premium Thermal Solution: Extended Heatsink, MOSFET thermal pads rated for 7W/mK, additional choke thermal pads and M.2 Shield Frozr are built for high performance system and non-stop gaming experience
  • High Quality PCB: 6-layer PCB made by 2oz thickened copper and server grade level material
Rank #4
Sale
GIGABYTE B850 AORUS Elite WIFI7 AMD AM5 ATX Motherboard, Support AMD Ryzen 9000/8000/7000 Series, DDR5, 14+2+2 Power Phase, 3X M.2, PCIe 5.0, USB-C, WIFI7, 2.5GbE LAN, EZ-Latch, 5-Year Warranty
  • AMD Socket AM5: Supports AMD Ryzen 9000 / Ryzen 8000 / Ryzen 7000 Series Processors
  • DDR5 Compatible: 4*DIMMs
  • Power Design: 14+2+2
  • Thermals: VRM and M.2 Thermal Guard
  • Connectivity: PCIe 5.0, 3x M.2 Slots, USB-C, Sensor Panel Link

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.