Tagged articles
27 articles
Page 1 of 1
Deepin Linux
Deepin Linux
May 20, 2026 · Fundamentals

Mastering ramfs and tmpfs: Deep Dive into Linux’s High‑Speed In‑Memory Filesystems

This article explains the inner workings of Linux’s ramfs and tmpfs memory file systems, covering kernel page‑cache and shmem mechanisms, allocation and reclamation processes, size and inode limits, swap interaction, practical mounting commands, and suitable use‑cases compared with traditional disk‑based file systems.

IO performanceLinux kernelmemory file system
0 likes · 32 min read
Mastering ramfs and tmpfs: Deep Dive into Linux’s High‑Speed In‑Memory Filesystems
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Feb 2, 2024 · Fundamentals

Linux Shared Memory (shmem) Deep Dive: Architecture, Implementation, and Practice

Linux’s shmem subsystem provides hybrid anonymous/file‑backed pages that enable diverse shared‑memory scenarios—parent‑child communication, IPC, tmpfs, Android ashmem, and memfd—by using APIs such as shmem_file_setup, handling page faults through cache and swap mechanisms, and employing a specialized reclamation process to manage memory efficiently.

Linux kernelMemory ManagementVirtual Memory
0 likes · 10 min read
Linux Shared Memory (shmem) Deep Dive: Architecture, Implementation, and Practice
Liangxu Linux
Liangxu Linux
Jun 22, 2022 · Fundamentals

Understanding Linux Memory Management: From Process Allocation to OOM and Cache

This article provides a comprehensive walkthrough of Linux kernel memory management, covering process address space layout, memory allocation mechanisms, OOM selection criteria, where allocated memory resides, and both manual and automatic memory reclamation techniques, complete with code examples and diagrams.

CacheKernelLinux
0 likes · 20 min read
Understanding Linux Memory Management: From Process Allocation to OOM and Cache
Efficient Ops
Efficient Ops
Sep 4, 2019 · Operations

Master Docker Data Persistence: Volumes, Bind Mounts, and Tmpfs Explained

This article explains why storing data in a container layer is problematic and details Docker's three persistent storage options—volumes, bind mounts, and tmpfs—along with their usage commands, scenarios, and advanced features such as bind propagation, SELinux labels, and volume drivers.

Bind MountData PersistenceVolume Drivers
0 likes · 13 min read
Master Docker Data Persistence: Volumes, Bind Mounts, and Tmpfs Explained
Efficient Ops
Efficient Ops
Jul 17, 2019 · Cloud Native

Mastering Docker Persistent Storage: Volumes, Bind Mounts, and Tmpfs Explained

This article explains why storing data in a container’s layer is problematic and details Docker’s three persistent storage options—volumes, bind mounts, and tmpfs—along with their commands, configurations, use‑cases, and advanced features such as volume drivers and bind propagation.

Bind MountContainer OpsVolume Drivers
0 likes · 13 min read
Mastering Docker Persistent Storage: Volumes, Bind Mounts, and Tmpfs Explained
Efficient Ops
Efficient Ops
May 14, 2017 · Fundamentals

Understanding Linux Memory Management: Allocation, OOM, and Cache

This article explains Linux kernel memory management, covering process address space layout, memory allocation methods, OOM killer behavior, where different types of memory reside, and both manual and automatic memory reclamation techniques, illustrated with diagrams and command examples.

CacheMemory ManagementOOM
0 likes · 18 min read
Understanding Linux Memory Management: Allocation, OOM, and Cache
ITPUB
ITPUB
Aug 24, 2016 · Operations

Boost Compilation Speed with Parallel Make, Tmpfs, ccache, and distcc

This guide explains how to accelerate software builds on Linux by using make -j for parallel compilation, mounting a tmpfs for faster I/O, leveraging ccache to reuse previous compile results, and employing distcc to distribute compilation across multiple machines.

Build OptimizationMakeccache
0 likes · 6 min read
Boost Compilation Speed with Parallel Make, Tmpfs, ccache, and distcc
MaGe Linux Operations
MaGe Linux Operations
Jun 4, 2016 · Fundamentals

Why Linux’s Buffer/Cache Isn’t Always Free Memory – A Deep Dive

This article explains how the Linux free command reports memory usage, clarifies the roles of buffer and page cache, shows how to manually drop caches, and reveals scenarios—such as tmpfs, shared memory, and mmap—where cached memory cannot be reclaimed, helping readers achieve a deeper understanding of system memory behavior.

Buffer CacheCachepage cache
0 likes · 14 min read
Why Linux’s Buffer/Cache Isn’t Always Free Memory – A Deep Dive
Efficient Ops
Efficient Ops
May 3, 2016 · Operations

Do You Really Understand Linux’s free Command and Cache Behavior?

This article demystifies the Linux free command, explains the distinction between buffer and page caches, shows how various caches are reclaimed—or not—through practical tests with tmpfs, shared memory, and mmap, and provides actionable tips for accurately interpreting memory usage on RHEL 6 systems.

LinuxMemory Managementfree command
0 likes · 15 min read
Do You Really Understand Linux’s free Command and Cache Behavior?