Tagged articles
31 articles
Page 1 of 1
Deepin Linux
Deepin Linux
May 5, 2026 · Fundamentals

Master Linux Memory Performance with HugePages

Linux’s default 4 KB pages cause massive page tables and TLB misses in high‑memory workloads; this article explains the HugePage mechanism, its types, how it reduces page‑table entries, improves TLB hit rates, lowers fragmentation, and provides step‑by‑step configuration for static and transparent huge pages in production.

Memory OptimizationTLBhugepages
0 likes · 39 min read
Master Linux Memory Performance with HugePages
Deepin Linux
Deepin Linux
Mar 13, 2026 · Fundamentals

How Does the MMU Translate Virtual to Physical Memory? A Deep Dive

This article explains the role of the Memory Management Unit (MMU) and paging in modern operating systems, covering hardware structure, address translation, permission checks, page tables, TLB behavior, virtual memory mechanisms, and practical Linux kernel code examples for memory protection, sharing, and performance optimization.

MMUMemory ManagementOperating Systems
0 likes · 58 min read
How Does the MMU Translate Virtual to Physical Memory? A Deep Dive
Deepin Linux
Deepin Linux
Dec 12, 2025 · Fundamentals

Unlocking ARM64 Memory: How Virtual Addresses Map to Physical Memory

This article explains the fundamentals of Linux arm64 memory management, covering virtual and physical memory concepts, MMU operation, page table structures, address translation steps, page fault handling, and practical C++ examples for allocation, mapping, and performance optimization using huge pages and pre‑paging techniques.

ARM64Memory Managementlinux
0 likes · 38 min read
Unlocking ARM64 Memory: How Virtual Addresses Map to Physical Memory
Linux Kernel Journey
Linux Kernel Journey
Mar 26, 2025 · Fundamentals

Efficient Memory Management: Paging Mechanism in x86‑64 Architecture

This article explains how the x86‑64 paging mechanism maps virtual addresses to physical memory, detailing the required protection‑mode conditions, page‑table structures, control‑register settings, various paging modes (32‑bit, PAE, 4‑level, 5‑level), and provides concrete kernel code examples and address‑translation demonstrations.

4-level-pagingLinux kernelMemory Management
0 likes · 40 min read
Efficient Memory Management: Paging Mechanism in x86‑64 Architecture
Deepin Linux
Deepin Linux
Mar 25, 2025 · Fundamentals

Understanding x86-64 Memory Paging Mechanism and Its Implementation

This article explains the role, operation, and different modes of x86‑64 memory paging, describes how page directories and tables are set up in assembly, shows the relevant control‑register bits, and provides practical code examples for enabling and managing paging in a protected‑mode kernel.

memory pagingpage-tablesx86-64
0 likes · 43 min read
Understanding x86-64 Memory Paging Mechanism and Its Implementation
Deepin Linux
Deepin Linux
Jan 1, 2025 · Fundamentals

Understanding Linux Paging Mechanism and Virtual Memory Management

This article explains Linux's paging mechanism, covering the basics of virtual memory, page tables, multi‑level paging structures, virtual memory layout, allocation and reclamation strategies, and the performance and security benefits that paging brings to modern operating systems.

Paginglinuxpage-tables
0 likes · 27 min read
Understanding Linux Paging Mechanism and Virtual Memory Management
Open Source Linux
Open Source Linux
Oct 24, 2023 · Fundamentals

Understanding Linux Memory Management: Physical, Virtual, and Page Tables

This article explains how Linux organizes physical memory, allocates pages using the buddy system and SLUB, structures virtual address spaces for user and kernel modes, and maps virtual addresses to physical memory through page tables, TLBs, and dynamic mappings.

Memory ManagementOperating SystemVirtual Memory
0 likes · 12 min read
Understanding Linux Memory Management: Physical, Virtual, and Page Tables
Liangxu Linux
Liangxu Linux
Oct 4, 2023 · Fundamentals

Understanding Linux Memory Management: Physical, Virtual, and Page Tables

This article explains how Linux organizes physical memory into pages, zones, and nodes, allocates memory using the buddy system and SLUB, structures virtual address spaces for user and kernel, and maps virtual addresses to physical memory through page tables, dynamic mapping, and TLB caching.

Virtual Memorybuddy systempage-tables
0 likes · 12 min read
Understanding Linux Memory Management: Physical, Virtual, and Page Tables
Liangxu Linux
Liangxu Linux
Sep 18, 2023 · Fundamentals

Master Linux Memory Management: From CPU Access to CMA and Page Faults

This comprehensive guide walks through Linux memory management, explaining CPU memory access, virtual‑to‑physical address translation, page‑table structures, zone organization, the buddy and slab allocators, vmalloc, page‑fault handling, and the Contiguous Memory Allocator (CMA) with detailed code examples and diagrams.

CMASlab Allocatorbuddy allocator
0 likes · 29 min read
Master Linux Memory Management: From CPU Access to CMA and Page Faults
MaGe Linux Operations
MaGe Linux Operations
Aug 30, 2023 · Fundamentals

How Linux Translates Virtual Addresses into Physical Memory

This article explains Linux's memory management, detailing how physical memory is organized into pages, zones, and nodes, how virtual addresses are structured for user and kernel space, and how page tables, the buddy system, SLUB, and TLB work together to map virtual addresses to physical memory.

Memory ManagementOS fundamentalsVirtual Memory
0 likes · 12 min read
How Linux Translates Virtual Addresses into Physical Memory
Bin's Tech Cabin
Bin's Tech Cabin
Jul 20, 2023 · Fundamentals

How Linux Maps Virtual Memory to Physical Memory: Inside Page Tables

This article walks through the Linux kernel's memory‑management subsystem, explaining how virtual memory is linked to physical memory via page tables, covering single‑level, two‑level and multi‑level paging, the structure of page‑table entries, the role of the MMU and TLB, and the complete CPU address‑translation process.

Memory ManagementVirtual Memorylinux
0 likes · 67 min read
How Linux Maps Virtual Memory to Physical Memory: Inside Page Tables
AI Cyberspace
AI Cyberspace
Jun 21, 2023 · Fundamentals

Why Virtual Memory Solves the Biggest Problems of Physical Addressing

This article explains how modern computer systems use a hierarchical memory structure and virtual memory to overcome physical memory limitations, address translation challenges, fragmentation, and security issues, detailing concepts such as page tables, TLB caching, multi‑level paging, and practical examples.

Memory HierarchyTLBVirtual Memory
0 likes · 21 min read
Why Virtual Memory Solves the Biggest Problems of Physical Addressing
Open Source Linux
Open Source Linux
May 22, 2023 · Fundamentals

How Virtual Memory Works: From CPU Addressing to Linux Implementation

Virtual memory abstracts physical memory, giving each process a private, contiguous address space, and relies on CPU virtual addressing, MMU translation, page tables, TLB caching, multi-level paging, Linux’s memory mapping, dynamic allocation, and garbage collection to efficiently manage memory and protect processes.

Memory ManagementOperating SystemVirtual Memory
0 likes · 29 min read
How Virtual Memory Works: From CPU Addressing to Linux Implementation
Liangxu Linux
Liangxu Linux
May 16, 2023 · Fundamentals

How Virtual Memory Works: From CPU Addressing to Linux Implementation

This article explains the concepts and mechanisms of virtual memory, covering CPU virtual addressing, page tables, TLB caching, page faults, multi‑level page tables, Linux's memory‑mapping structures, and dynamic allocation strategies such as fragmentation and garbage collection.

Memory ManagementPagingTLB
0 likes · 27 min read
How Virtual Memory Works: From CPU Addressing to Linux Implementation
Liangxu Linux
Liangxu Linux
Apr 17, 2023 · Fundamentals

Why Does a Process’s Address Space Include the Kernel?

This article explains why a Linux process’s address space contains the kernel, covering virtual memory concepts, user and kernel mode separation, page table mappings, and how mapping the kernel into each process avoids costly page‑table switches during system calls, interrupts, and exceptions.

Operating SystemProcess Address SpaceVirtual Memory
0 likes · 5 min read
Why Does a Process’s Address Space Include the Kernel?
Open Source Linux
Open Source Linux
Mar 7, 2023 · Fundamentals

How Virtual Memory Powers Modern Operating Systems: A Deep Dive

Virtual memory abstracts physical memory, providing each process with a private, contiguous address space, while the CPU, MMU, page tables, TLB, and paging mechanisms collaborate to translate virtual addresses, manage page faults, and optimize performance through locality, multi‑level tables, and memory‑mapped files.

Memory ManagementOperating SystemsPaging
0 likes · 31 min read
How Virtual Memory Powers Modern Operating Systems: A Deep Dive
Tencent Cloud Developer
Tencent Cloud Developer
Nov 1, 2022 · Fundamentals

Understanding CPU Cache, Memory Hierarchy, and Virtual Memory

The article explains how modern computers use fast SRAM caches (L1‑L3) inside the CPU with various mapping schemes and the MESI coherence protocol to keep data consistent, while DRAM serves as main memory, and virtual memory with multi‑level page tables and a TLB abstracts physical memory, provides isolation, and enables swapping.

CPU cacheMESI ProtocolMemory Hierarchy
0 likes · 16 min read
Understanding CPU Cache, Memory Hierarchy, and Virtual Memory
Liangxu Linux
Liangxu Linux
Sep 26, 2021 · Fundamentals

Inside Linux Kernel Boot on ARM: Decompression, MMU Setup & Page Tables

The article explains the Linux kernel boot process on ARM platforms, covering how the bootloader loads and decompresses the gzipped kernel image, the entry points of the compressed zImage, the early serial output, the initialization of the MMU and page tables, and the transition to the main C kernel code.

ARMMMUboot
0 likes · 9 min read
Inside Linux Kernel Boot on ARM: Decompression, MMU Setup & Page Tables
Liangxu Linux
Liangxu Linux
May 3, 2020 · Fundamentals

Why Modern Operating Systems Need Virtual Memory: A Deep Dive

This article explains the necessity of virtual memory in modern operating systems, covering its role as an abstraction layer, caching benefits, memory protection, multi‑level page tables, process isolation, and how these mechanisms improve performance, security, and resource utilization.

CacheOperating Systemspage-tables
0 likes · 13 min read
Why Modern Operating Systems Need Virtual Memory: A Deep Dive
MaGe Linux Operations
MaGe Linux Operations
Feb 3, 2019 · Fundamentals

How Virtual Memory and Paging Transform Linux Memory Management

An in‑depth guide explains how Linux memory works, covering physical memory basics, the role of virtual memory, paging mechanisms, and the multi‑level page‑table architecture that enables efficient, isolated, and secure process memory management.

Operating SystemPagingVirtual Memory
0 likes · 12 min read
How Virtual Memory and Paging Transform Linux Memory Management
21CTO
21CTO
Aug 1, 2018 · Fundamentals

Why Virtual Memory and Paging Make Your Computer Faster and Safer

This article explains how memory serves as the main storage for processes, introduces the concepts of virtual memory and paging, and describes how page tables and multi‑level paging enable efficient address translation, isolation, and sharing in modern operating systems.

Memory ManagementPagingVirtual Memory
0 likes · 12 min read
Why Virtual Memory and Paging Make Your Computer Faster and Safer
MaGe Linux Operations
MaGe Linux Operations
Jul 31, 2018 · Fundamentals

Understanding Memory, Virtual Memory, and Paging in Linux

This article explains how computer memory works, covering physical memory characteristics, address spaces, RAM's random access nature, virtual memory translation, paging mechanisms, page size queries, and multi‑level page tables that enable efficient and secure memory management in Linux.

Memory ManagementOperating SystemPaging
0 likes · 13 min read
Understanding Memory, Virtual Memory, and Paging in Linux
MaGe Linux Operations
MaGe Linux Operations
Oct 6, 2016 · Fundamentals

Understanding Linux’s Three‑Tier Physical Memory and Virtual Page Table Architecture

This article explains Linux’s hardware‑independent three‑tier physical memory model (node, zone, page) and the three‑level virtual memory page‑table hierarchy (PGD, PMD, PTE), including key macros, structure definitions, and the macros used to walk the tables from a virtual address to a physical page.

Memory ManagementVirtual Memorylinux
0 likes · 6 min read
Understanding Linux’s Three‑Tier Physical Memory and Virtual Page Table Architecture