Tagged articles
6 articles
Page 1 of 1
Deepin Linux
Deepin Linux
Jun 10, 2025 · Fundamentals

How Linux Memory Reclamation Works: Zones, Swap, and Compression Explained

This article explains Linux's memory reclamation mechanisms, covering the role of memory as the system's bloodstream, the three reclamation paths (fast, direct, kswapd), zone watermarks, page cache structures, reverse mapping, and how swap and compression are used to keep the system stable under memory pressure.

Memory ManagementSwapmemory reclamation
0 likes · 52 min read
How Linux Memory Reclamation Works: Zones, Swap, and Compression Explained
Deepin Linux
Deepin Linux
Apr 11, 2025 · Fundamentals

Understanding ZRAM: Linux Memory Compression and Swap Optimization

This article explains the ZRAM technology in Linux, covering its principles, configuration steps, kernel integration, performance optimizations, and practical use cases for improving memory utilization on embedded devices, Android, and legacy PCs.

KernelSwapmemory compression
0 likes · 24 min read
Understanding ZRAM: Linux Memory Compression and Swap Optimization
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Apr 19, 2024 · Fundamentals

Large Folios in the Linux Kernel: Benefits, Implementations, and Future Directions

Large folios in the Linux kernel combine multiple pages to reduce TLB misses, page faults, and reclamation cost while enabling more efficient compression; they are supported by filesystems like XFS and bcachefs, and recent patches add multi‑size THP, swap‑in/out handling, TAO allocation, NUMA balancing, and debug tools, with OPPO’s production deployment showing performance gains and motivating broader adoption and fragmentation mitigation.

NUMASwapTLB
0 likes · 17 min read
Large Folios in the Linux Kernel: Benefits, Implementations, and Future Directions
Open Source Linux
Open Source Linux
May 26, 2023 · Operations

Boost Linux Performance with zSwap, zRAM, and Zstandard Compression

This article explains how Linux memory compression techniques such as zSwap, zRAM, and the Zstandard algorithm reduce I/O pressure, extend flash lifespan, and improve overall system performance, while also covering their drawbacks and step‑by‑step activation procedures.

LinuxPerformance Optimizationmemory compression
0 likes · 6 min read
Boost Linux Performance with zSwap, zRAM, and Zstandard Compression
MaGe Linux Operations
MaGe Linux Operations
May 18, 2023 · Operations

Boost Linux Performance with zSwap, zRAM, and zstd Compression

Memory compression techniques like Linux's zSwap, zRAM, and the zstd algorithm reduce I/O latency and extend RAM capacity by compressing swap pages, offering performance gains while introducing trade‑offs such as CPU overhead and configuration complexity, and this guide explains their principles, advantages, drawbacks, and activation steps.

Linuxmemory compressionsystem performance
0 likes · 6 min read
Boost Linux Performance with zSwap, zRAM, and zstd Compression
OPPO Kernel Craftsman
OPPO Kernel Craftsman
Feb 21, 2020 · Fundamentals

Overview of Linux Memory Compression Technologies: zSwap, zRAM, and zCache

Linux reduces RAM pressure through three main compression mechanisms—zSwap, which caches compressed pages before writing to swap; zRAM, a RAM‑backed compressed block device; and zCache, a file‑page compressor—each paired with specialized allocators (zsmalloc, zbud, z3fold) and configurable algorithms, offering trade‑offs in speed, ratio, CPU load, and fragmentation.

Linuxmemory compressionperformance
0 likes · 12 min read
Overview of Linux Memory Compression Technologies: zSwap, zRAM, and zCache