Tagged articles

direct reclaim

2 articles · Page 1 of 1
Ops Development & AI Practice
Ops Development & AI Practice
Sep 29, 2026 · Backend Development

Linux CPU & Memory Tuning: Prevent Freezes, Direct Reclaim Storms & CFS Throttling

This article details Linux kernel memory and CPU tuning techniques for high-concurrency systems, covering watermark scaling to avoid direct reclaim storms, dirty page writeback thresholds, swap and overcommit settings, transparent huge page pitfalls, NUMA zone reclaim, CPU governor and IRQ affinity, and Kubernetes CFS quota throttling solutions.

CPU schedulingKubernetes CFS quotaLinux kernel tuning
0 likes · 35 min read
Linux CPU & Memory Tuning: Prevent Freezes, Direct Reclaim Storms & CFS Throttling
Linux Kernel Journey
Linux Kernel Journey
Sep 14, 2024 · Fundamentals

Understanding Linux Page Reclaim: LRU, Second‑Chance, and Direct Reclaim Walkthrough

This article explains Linux's page reclamation mechanisms, covering the LRU list algorithm, the second‑chance method with PG_active and PG_referenced flags, and the direct reclaim path triggered by alloc_page, including the role of kswapd, waiting queues, and key kernel functions such as lru_cache_add, mark_page_accessed, try_to_free_pages, and throttle_direct_reclaim.

LRULinuxdirect reclaim
0 likes · 12 min read
Understanding Linux Page Reclaim: LRU, Second‑Chance, and Direct Reclaim Walkthrough