Tagged articles
10 articles
Page 1 of 1
Bin's Tech Cabin
Bin's Tech Cabin
Sep 18, 2023 · Fundamentals

Unveiling Linux mmap: From Virtual Memory to Page Tables and Huge Pages

This article provides an in‑depth exploration of the Linux mmap system call, covering its role in virtual memory management, page table structures, various mapping types (anonymous, file‑backed, shared, private), flag options, and advanced concepts such as huge pages and transparent huge pages, with kernel‑level diagrams and code examples.

KernelLinuxPage Table
0 likes · 62 min read
Unveiling Linux mmap: From Virtual Memory to Page Tables and Huge Pages
Open Source Linux
Open Source Linux
Jun 26, 2023 · Fundamentals

How Linux Organizes Memory: From Physical Pages to Virtual Address Mapping

This article explains how Linux manages memory by organizing physical pages, using zones and nodes, allocating memory with the buddy system and SLUB, structuring user and kernel virtual address spaces, and translating virtual addresses to physical ones via page tables, TLBs, and dynamic mapping.

LinuxMemory ManagementPage Table
0 likes · 13 min read
How Linux Organizes Memory: From Physical Pages to Virtual Address Mapping
Liangxu Linux
Liangxu Linux
Apr 24, 2023 · Fundamentals

How MMU Enables Virtual Memory, Protection, and Process Isolation

The article explains the role of a Memory Management Unit (MMU) in translating virtual to physical addresses, managing page tables, providing memory protection and sharing, and why modern operating systems like Linux rely on it while some embedded systems can operate without one.

MMUOperating SystemsPage Table
0 likes · 7 min read
How MMU Enables Virtual Memory, Protection, and Process Isolation
DeWu Technology
DeWu Technology
Apr 14, 2023 · Backend Development

Async-fork: Mitigating Query Latency Spikes Incurred by the Fork-based Snapshot Mechanism from the OS Level

Async‑fork shifts the costly page‑table copying from Redis’s parent process to its child, allowing the parent to resume handling queries instantly and cutting snapshot‑induced latency spikes by over 98%, thereby dramatically improving tail latency during AOF rewrites, RDB backups, and master‑slave synchronizations.

Async-forkBackend DevelopmentPage Table
0 likes · 21 min read
Async-fork: Mitigating Query Latency Spikes Incurred by the Fork-based Snapshot Mechanism from the OS Level
Open Source Linux
Open Source Linux
Jun 15, 2022 · Fundamentals

Why TLBs Matter: Unlocking Faster Memory Access in Modern CPUs

This article explains the role of the Translation Lookaside Buffer (TLB) in virtual‑to‑physical address translation, details multi‑level page‑table walks, discusses aliasing and ambiguity issues across processes, and explores techniques such as ASID and global mappings to minimize costly TLB flushes.

ASIDPage TableTLB
0 likes · 11 min read
Why TLBs Matter: Unlocking Faster Memory Access in Modern CPUs
Laravel Tech Community
Laravel Tech Community
Nov 2, 2021 · Operations

Understanding Virtual Memory: Concepts, Paging, and Management in Linux

This article explains the fundamentals of virtual memory, including paging, page tables, swap, and Linux management commands, highlighting how virtual memory abstracts physical addresses, resolves process memory conflicts, and enhances security and data sharing while providing practical tips for monitoring and tuning memory usage.

LinuxMemory ManagementPage Table
0 likes · 9 min read
Understanding Virtual Memory: Concepts, Paging, and Management in Linux
ITPUB
ITPUB
Aug 1, 2018 · Fundamentals

How Does Linux Manage Memory? A Deep Dive into Virtual Memory and Paging

This article explains the fundamentals of computer memory, covering linear addresses, virtual memory translation, paging mechanisms, page size queries, and the structure of multi‑level page tables used by Linux to efficiently map virtual to physical memory.

LinuxPage TablePaging
0 likes · 13 min read
How Does Linux Manage Memory? A Deep Dive into Virtual Memory and Paging