Tag

Memory Compression

0 views collected around this technical thread.

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.

KernelLinuxMemory Compression
0 likes · 24 min read
Understanding ZRAM: Linux Memory Compression and Swap Optimization
Coolpad Technology Team
Coolpad Technology Team
Nov 6, 2021 · Mobile Development

Analysis of Intermittent Unresponsive Touch Events in Feishu Caused by Process D State and Memory Compression

The article investigates why the Feishu app sometimes fails to respond to swipe gestures after a hot start, tracing the issue to the app entering a D (uninterruptible) state during memory compression, and demonstrates how adjusting CPU priority for compression threads can reduce the problem's occurrence.

AndroidInput EventsMemory Compression
0 likes · 8 min read
Analysis of Intermittent Unresponsive Touch Events in Feishu Caused by Process D State and Memory 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.

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