Tag

tmpfs

0 views collected around this technical thread.

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
Efficient Ops
Efficient Ops
May 18, 2020 · Operations

Why Do Files Disappear After a Cloud VM Restart? Common Pitfalls and Fixes

This article outlines five typical cloud‑host file‑loss scenarios—including tmpfs data loss after reboot, accidental rm commands, and disk damage from fio or dd—explains their causes, and provides practical prevention and recovery recommendations for operations engineers.

cloudddfile loss
0 likes · 10 min read
Why Do Files Disappear After a Cloud VM Restart? Common Pitfalls and Fixes
Efficient Ops
Efficient Ops
Feb 27, 2020 · Operations

Boost PHP Site Performance with tmpfs and Anything‑Sync‑Daemon on Ubuntu

This guide shows how to accelerate a PHP website on Ubuntu by mounting a tmpfs RAM disk, using Anything‑Sync‑Daemon to keep the nginx root synchronized, and configuring systemd timers so that changes are safely written back to persistent storage.

DevOpsLinuxNginx
0 likes · 6 min read
Boost PHP Site Performance with tmpfs and Anything‑Sync‑Daemon on Ubuntu
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 MountContainer StorageData Persistence
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 OpsDocker
0 likes · 13 min read
Mastering Docker Persistent Storage: Volumes, Bind Mounts, and Tmpfs Explained
Qunar Tech Salon
Qunar Tech Salon
Aug 31, 2018 · Fundamentals

Understanding Linux Kernel Memory Management: Process Allocation, OOM, and Memory Reclamation

This article explains Linux kernel memory management from a global perspective, covering process address space layout, memory allocation mechanisms, OOM handling, the location of allocated memory, cache behavior, tmpfs usage, and the kernel's automatic memory reclamation strategies.

CacheLinuxMemory Management
0 likes · 19 min read
Understanding Linux Kernel Memory Management: Process Allocation, OOM, and Memory Reclamation
Efficient Ops
Efficient Ops
Sep 7, 2017 · Operations

Unlocking Lightning-Fast Web Performance: Mastering Cache Layers and Optimization

This article explains the complete web request lifecycle, breaks down each latency component, and details how various cache layers—from browser DNS caches to server‑side memory and disk caches—can be leveraged and tuned to dramatically speed up page loads.

DNSHTTPcaching
0 likes · 22 min read
Unlocking Lightning-Fast Web Performance: Mastering Cache Layers and Optimization
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.

CacheLinuxMMAP
0 likes · 18 min read
Understanding Linux Memory Management: Allocation, OOM, and Cache
Qunar Tech Salon
Qunar Tech Salon
May 11, 2016 · Operations

Understanding the Linux free Command, Buffers/Cache and Their Reclamation

This article explains how the Linux free command reports memory usage, clarifies the roles of buffer cache and page cache, demonstrates which cache memory can be reclaimed, and shows practical tests using tmpfs, shared memory, and mmap with code examples.

Buffer CacheLinuxMMAP
0 likes · 17 min read
Understanding the Linux free Command, Buffers/Cache and Their Reclamation
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.

CacheLinuxMMAP
0 likes · 15 min read
Do You Really Understand Linux’s free Command and Cache Behavior?
Qunar Tech Salon
Qunar Tech Salon
May 25, 2015 · Operations

Improving Image Conversion Performance with /dev/shm tmpfs in Qunar's Group Buying Backend

The article describes how Qunar's group‑buying backend faced IO bottlenecks during large‑scale image conversion and solved the issue by moving intermediate files to a memory‑based tmpfs filesystem (/dev/shm), achieving a dramatic load reduction without code changes or server restarts.

Linuxbackendimage processing
0 likes · 5 min read
Improving Image Conversion Performance with /dev/shm tmpfs in Qunar's Group Buying Backend