Tag

swappiness

1 views collected around this technical thread.

Practical DevOps Architecture
Practical DevOps Architecture
Mar 20, 2025 · Operations

How to Add a Swap File on Linux and Adjust Swappiness

This guide explains how to create a swap file on a Linux server, enable it, configure it to start at boot, and adjust the swappiness parameter to control virtual memory usage, providing step‑by‑step commands and explanations for each operation.

System AdministrationVirtual Memorylinux
0 likes · 5 min read
How to Add a Swap File on Linux and Adjust Swappiness
IT Services Circle
IT Services Circle
May 24, 2022 · Fundamentals

Understanding Linux Memory Management, Page Reclamation, and OOM Killer

This article explains Linux virtual memory concepts, the process of memory allocation, page fault handling, background and direct memory reclamation methods, LRU-based page types, NUMA considerations, tuning parameters like swappiness and min_free_kbytes, and strategies to prevent OOM killer termination.

Memory ManagementNUMAOOM Killer
0 likes · 18 min read
Understanding Linux Memory Management, Page Reclamation, and OOM Killer
NetEase Game Operations Platform
NetEase Game Operations Platform
Jul 20, 2019 · Operations

Understanding Linux Swap, Swappiness, and Memory Reclamation Mechanisms

This article explains how the Linux kernel manages memory reclamation, the role of kswapd, the distinction between file and anonymous pages, the impact of swap and the swappiness parameter, and provides practical guidance for tuning swap usage in production systems.

KernelMemory Managementlinux
0 likes · 19 min read
Understanding Linux Swap, Swappiness, and Memory Reclamation Mechanisms
Efficient Ops
Efficient Ops
Jun 5, 2016 · Operations

Mastering Linux Swap: How Swappiness, kswapd, and Watermarks Control Memory

This article explains Linux swap fundamentals, the role of swappiness, kswapd behavior, memory watermarks, and related kernel parameters, providing practical guidance on configuring swap priority, zone reclaim, and other settings to optimize system performance under various workloads.

Memory ManagementSystem Administrationkswapd
0 likes · 20 min read
Mastering Linux Swap: How Swappiness, kswapd, and Watermarks Control Memory
Qunar Tech Salon
Qunar Tech Salon
Jun 18, 2015 · Fundamentals

Understanding Linux Swap, Swappiness, and How to Monitor and Clear Swap Usage

This article explains what Linux swap is, its drawbacks, how to tune the swappiness parameter, methods for monitoring swap usage per system and per process, and practical ways to clear swap, including useful shell scripts and commands.

Memory Managementlinuxoperations
0 likes · 9 min read
Understanding Linux Swap, Swappiness, and How to Monitor and Clear Swap Usage