Tagged articles
71 articles
Page 1 of 1
Deepin Linux
Deepin Linux
Feb 27, 2026 · Fundamentals

Unlocking Linux Memory Management: From Virtual Memory to Kernel Allocation

This article explains Linux’s comprehensive memory management system, covering physical and virtual memory concepts, paging, page tables, the MMU, the buddy allocator, slab allocator, memory reclamation strategies such as LRU and swap, monitoring tools, and practical optimization techniques for both user‑space and kernel‑space allocations.

MMUMemory ManagementOperating System
0 likes · 31 min read
Unlocking Linux Memory Management: From Virtual Memory to Kernel Allocation
Linux Tech Enthusiast
Linux Tech Enthusiast
Feb 26, 2026 · Operations

A Comprehensive Guide to Linux Performance Optimization

This article walks through Linux performance optimization by explaining core metrics such as throughput and latency, describing how to interpret average load, CPU usage, context switches, memory management, and swap, and showing step‑by‑step usage of tools like vmstat, pidstat, perf, and dstat with concrete command examples and analysis cases.

CPUMemoryMonitoring Tools
0 likes · 37 min read
A Comprehensive Guide to Linux Performance Optimization
Tech Stroll Journey
Tech Stroll Journey
Nov 11, 2025 · Operations

Why Swap Stays Full on Linux and How to Release 29 GB Quickly

After noticing 14 GB free RAM but a fully used 29 GB swap, the article explains how to diagnose hidden swap consumption using tools like smem and swap_stat_show, clarifies the difference between free’s Swap used and /proc/*/status VmSwap, and shows how adjusting transparent_hugepage defrag and toggling swap can reclaim the space.

Memory ManagementSwapTransparent Hugepages
0 likes · 10 min read
Why Swap Stays Full on Linux and How to Release 29 GB Quickly
Ops Community
Ops Community
Nov 3, 2025 · Operations

Master Linux Memory Management: Core Commands & Tuning in 10 Minutes

This comprehensive guide walks you through Linux memory management fundamentals, from prerequisite environments and a quick checklist to step‑by‑step installation of monitoring tools, memory diagnostics, kernel parameter adjustments, THP and swap optimization, NUMA affinity tuning, validation, Prometheus alerts, security hardening, troubleshooting, rollback procedures, best‑practice recommendations, and ready‑to‑use scripts and configuration snippets.

Memory ManagementNUMASwap
0 likes · 24 min read
Master Linux Memory Management: Core Commands & Tuning in 10 Minutes
Xiao Liu Lab
Xiao Liu Lab
Oct 29, 2025 · Operations

How to Diagnose and Fix High Swap Usage on Linux Servers

Learn step‑by‑step how to identify why your Linux server’s swap is consuming over 90% of space, understand the performance impact, and apply three safe optimization techniques—including process analysis, swappiness tuning, and cache clearing—to restore smooth operation without rebooting.

MemorySwaplinux
0 likes · 6 min read
How to Diagnose and Fix High Swap Usage on Linux Servers
Tech Stroll Journey
Tech Stroll Journey
Oct 22, 2025 · Fundamentals

Understanding Linux Swap: How It Works, Tuning Tips, and Common Cleanup Commands

Linux swap provides a disk‑backed memory extension, storing anonymous pages when RAM runs low; this article explains swap’s operation, the kernel’s memory reclamation thresholds, tuning parameters like min_free_kbytes and swappiness, and offers commands to locate high‑swap processes and safely clear swap.

Kernel TuningMemory ManagementSwap
0 likes · 7 min read
Understanding Linux Swap: How It Works, Tuning Tips, and Common Cleanup Commands
IT Services Circle
IT Services Circle
Aug 31, 2025 · Fundamentals

How the New Linux Swap Table Boosts Performance by Up to 20%

A recent Linux kernel patch introduces a unified Swap Table architecture that integrates swap cache, mapping, and allocation, delivering 5%‑20% overall speedups, up to 20% gains in VM scalability, faster builds, and higher Redis/Valkey throughput while reducing memory usage.

Memory ManagementSwapkernel
0 likes · 3 min read
How the New Linux Swap Table Boosts Performance by Up to 20%
Raymond Ops
Raymond Ops
Aug 14, 2025 · Operations

Master Linux Storage: Device Discovery, Mounting, Partitioning & Quotas

This guide covers essential Linux storage management techniques, including how to list devices, mount and unmount filesystems, use the find command for file searches, create and manage disk partitions, configure swap space, and set up disk quotas for user limits.

Disk QuotaMountingPartitioning
0 likes · 10 min read
Master Linux Storage: Device Discovery, Mounting, Partitioning & Quotas
Tencent Architect
Tencent Architect
Aug 14, 2025 · Operations

TencentOS Swap Table Boosts Linux Memory Performance by Up to 30%

TencentOS’s recent Swap Table patch series restructures the Linux kernel’s swap subsystem, eliminating long‑standing fragmentation and lock bottlenecks, introducing lock‑free allocation, dynamic swap space, and achieving 20‑30% performance gains and up to 400% higher concurrent throughput in heavy‑load scenarios.

Memory ManagementPerformance OptimizationSwap
0 likes · 8 min read
TencentOS Swap Table Boosts Linux Memory Performance by Up to 30%
Deepin Linux
Deepin Linux
Jul 22, 2025 · Operations

Master Linux Memory Management: Diagnose, Monitor & Optimize Performance

Learn how Linux memory management works, from virtual memory and user/kernel space to allocation, reclamation, and common bottlenecks, and discover practical tools like free, top, vmstat, valgrind, jstat, and swap configuration techniques to diagnose, monitor, and optimize server memory for stable, high‑performance operation.

Kernel TuningMemory ManagementMonitoring Tools
0 likes · 27 min read
Master Linux Memory Management: Diagnose, Monitor & Optimize Performance
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
Raymond Ops
Raymond Ops
May 2, 2025 · Operations

How to Configure Linux Swap Space for Better Performance

This guide explains what swap space is, why it’s essential for Linux systems, and provides step‑by‑step instructions for configuring swap files or partitions, viewing usage, and understanding its benefits for memory extension, performance optimization, and system stability.

Memory ManagementSwapSystem Administration
0 likes · 5 min read
How to Configure Linux Swap Space for Better Performance
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.

Swapkernelmemory compression
0 likes · 24 min read
Understanding ZRAM: Linux Memory Compression and Swap Optimization
Linux Kernel Journey
Linux Kernel Journey
Mar 23, 2025 · Fundamentals

Efficient Dynamic Memory Reclamation Techniques in Linux

The article provides an in‑depth technical analysis of Linux’s memory reclamation system, covering zones, watermarks, page flags, LRU lists, the shrink_zone workflow, kswapd, direct reclaim, OOM handling, page‑cache structures, and practical tuning tips for optimal performance.

LRUSwapkswapd
0 likes · 97 min read
Efficient Dynamic Memory Reclamation Techniques in Linux
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.

SwapSystem AdministrationVirtual Memory
0 likes · 5 min read
How to Add a Swap File on Linux and Adjust Swappiness
MaGe Linux Operations
MaGe Linux Operations
Feb 4, 2025 · Operations

Master Linux Storage Management: Devices, Mounting, Partitioning & Quotas

This guide walks through Linux storage fundamentals—including device identification, viewing, mounting (temporary and permanent), file searching, disk partitioning methods, swap setup, device removal, and disk quota configuration—providing practical commands and best‑practice tips for system administrators.

Disk QuotaMountingPartitioning
0 likes · 10 min read
Master Linux Storage Management: Devices, Mounting, Partitioning & Quotas
Linux Kernel Journey
Linux Kernel Journey
Nov 27, 2024 · Operations

How to Resolve Linux Out‑of‑Memory Issues with a Swap Partition

When a small 2 CPU / 2 GB Alibaba Cloud instance runs Java, Nginx, MySQL, and Redis, memory quickly exhausts; this guide shows how to create and configure a swap file, set appropriate permissions, enable it at boot, and tune the swappiness parameter to mitigate out‑of‑memory failures.

Memory ManagementSwapdd
0 likes · 4 min read
How to Resolve Linux Out‑of‑Memory Issues with a Swap Partition
Liangxu Linux
Liangxu Linux
Nov 7, 2024 · Operations

How to Manage Mobile Devices and Swap Space on Linux Systems

This guide explains mounting USB storage, checking device status, configuring NTFS support, and creating, enabling, and disabling swap partitions or swap files on Linux, including practical commands and configuration steps for Ubuntu and CentOS.

CentOSSwapSystem Administration
0 likes · 6 min read
How to Manage Mobile Devices and Swap Space on Linux Systems
Liangxu Linux
Liangxu Linux
Nov 2, 2024 · Operations

How to Manage USB Devices and Configure Swap Space on Linux

This guide explains how to detect and mount USB storage devices on Linux, install NTFS support, view system logs, and set up swap space—either as a dedicated partition or a swap file—while covering swappiness tuning and enabling or disabling swap.

SwapSystem Administrationdevice management
0 likes · 7 min read
How to Manage USB Devices and Configure Swap Space on Linux
Liangxu Linux
Liangxu Linux
Jul 8, 2024 · Operations

7 Practical Linux Performance Optimization Tips Every Engineer Should Know

This article compiles seven hands‑on Linux performance‑optimization practices, covering key factors such as CPU, memory, disk I/O, network, swap usage, and TCP tuning, and provides concrete commands and step‑by‑step troubleshooting methods for system administrators and DevOps engineers.

SwapTCPlinux
0 likes · 19 min read
7 Practical Linux Performance Optimization Tips Every Engineer Should Know
Liangxu Linux
Liangxu Linux
Apr 22, 2024 · Operations

How to Safely Clear Linux RAM Cache, Buffers, and Swap – Best Practices

This guide explains Linux memory management fundamentals and provides step‑by‑step commands for safely clearing RAM caches, file system buffers, and swap space, while highlighting the risks of doing so on production servers and offering advanced tuning techniques.

Swapcache-clearingmemory-management
0 likes · 10 min read
How to Safely Clear Linux RAM Cache, Buffers, and Swap – Best Practices
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
MaGe Linux Operations
MaGe Linux Operations
Apr 2, 2024 · Fundamentals

Understanding Mechanical Hard Drives: Structure, Partitioning, and Linux Management

This guide explains the physical structure of mechanical hard drives, how data is organized into sectors, tracks, and cylinders, compares old and new zoning methods, and provides detailed Linux commands for calculating capacity, creating partitions with MBR or GPT, formatting filesystems, and managing mounts and swap space.

PartitioningSwaphard drive
0 likes · 51 min read
Understanding Mechanical Hard Drives: Structure, Partitioning, and Linux Management
Cloud Native Technology Community
Cloud Native Technology Community
Mar 19, 2024 · Cloud Native

Quick Preview of Exciting Changes in Kubernetes v1.30

Kubernetes v1.30 introduces a range of exciting enhancements—including structured DRA parameters, revamped swap support, beta user‑namespace pods, structured authorization config, container‑resource‑based autoscaling, and CEL‑enabled admission control—each aimed at improving flexibility, security, and operational stability for cloud‑native workloads.

AuthorizationDynamic Resource AllocationKubernetes
0 likes · 11 min read
Quick Preview of Exciting Changes in Kubernetes v1.30
Top Architect
Top Architect
Jun 27, 2023 · Databases

Redis Performance Degradation: Root Causes and Optimization Techniques

This article explains how to benchmark Redis latency, identify common reasons for slowdowns such as high‑complexity commands, big keys, concentrated expirations, memory limits, fork overhead, swap usage, and CPU binding, and provides detailed configuration and operational steps to monitor and resolve each issue.

AOFLatencyMemory
0 likes · 34 min read
Redis Performance Degradation: Root Causes and Optimization Techniques
Open Source Linux
Open Source Linux
Jun 23, 2022 · Operations

Why Ubuntu 22.04’s systemd-oomd Randomly Kills Apps and How to Fix It

Ubuntu 22.04 LTS enables systemd‑oomd by default, but many users report that it unexpectedly kills applications like Firefox, Chrome, and VS Code even without visible memory pressure; Canonical explains the termination conditions, highlights the swap‑size issue, and outlines planned fixes for the upcoming 22.04.1 release.

SwapUbuntulinux
0 likes · 4 min read
Why Ubuntu 22.04’s systemd-oomd Randomly Kills Apps and How to Fix It
Ziru Technology
Ziru Technology
May 13, 2022 · Fundamentals

Understanding VSZ, RSS, PSS, PageCache and Swap: A Linux Memory Primer

This article explains Linux memory metrics VSZ, RSS, and PSS, illustrates them with a roommate analogy, details PageCache and its role in I/O, describes swap behavior and the swappiness setting, and introduces zero‑copy techniques to reduce data copying and context switches.

Memory ManagementOperating SystemPageCache
0 likes · 9 min read
Understanding VSZ, RSS, PSS, PageCache and Swap: A Linux Memory Primer
Su San Talks Tech
Su San Talks Tech
Feb 28, 2022 · Databases

How to Detect and Fix Redis Performance Issues: A Complete Guide

This article explains why Redis latency spikes can cause system-wide outages, shows how to measure baseline performance, monitor slow commands, and address network, RDB, swap, AOF, expiration, and big‑key problems with practical solutions and a diagnostic checklist.

SlowlogSwapredis
0 likes · 18 min read
How to Detect and Fix Redis Performance Issues: A Complete Guide
Laravel Tech Community
Laravel Tech Community
Nov 2, 2021 · Operations

Understanding Virtual Memory: Concepts, Paging, and Management in Linux

This article explains the fundamentals of virtual memory, including paging, page tables, swap, and Linux management commands, highlighting how virtual memory abstracts physical addresses, resolves process memory conflicts, and enhances security and data sharing while providing practical tips for monitoring and tuning memory usage.

Memory ManagementPage TablePaging
0 likes · 9 min read
Understanding Virtual Memory: Concepts, Paging, and Management in Linux
Efficient Ops
Efficient Ops
Sep 27, 2021 · Fundamentals

How Linux Kernel Manages Memory: Allocation, OOM, and Recovery

This article explains Linux kernel memory management by covering process address space layout, allocation mechanisms, OOM killer behavior, overcommit settings, various types of file and anonymous mappings, tmpfs usage, and both manual and automatic memory reclamation techniques.

Memory ManagementOOMSwap
0 likes · 20 min read
How Linux Kernel Manages Memory: Allocation, OOM, and Recovery
Liangxu Linux
Liangxu Linux
Sep 26, 2021 · Operations

Master Linux Swap: When, How Much, and How to Optimize Performance

This guide explains what Linux swap is, its advantages and drawbacks, how to size it for different memory configurations, and provides step‑by‑step commands for creating, managing, and tuning swap partitions or files, including swappiness and ZFS considerations.

Memory ManagementSwapSystem Administration
0 likes · 15 min read
Master Linux Swap: When, How Much, and How to Optimize Performance
Open Source Linux
Open Source Linux
Aug 3, 2021 · Fundamentals

Master Linux Swap: When, How Much, and How to Optimize It

Linux swap extends virtual memory by moving infrequently used pages to disk, and this guide explains what swap is, its pros and cons, sizing recommendations for various RAM amounts, how to create and manage swap partitions or files, and performance tuning tips including swappiness and I/O optimization.

Memory ManagementSwaplinux
0 likes · 16 min read
Master Linux Swap: When, How Much, and How to Optimize It
Programmer DD
Programmer DD
Jul 28, 2021 · Fundamentals

Understanding Linux Virtual Memory: From Pages to Swap

This article explains the fundamentals of Linux virtual memory, covering its origin, paging and page tables, memory addressing, the role of swap, common questions about 32‑bit vs 64‑bit systems, and practical commands for monitoring and configuring virtual memory on Linux.

Memory ManagementOperating SystemPaging
0 likes · 13 min read
Understanding Linux Virtual Memory: From Pages to Swap
ITPUB
ITPUB
Jun 18, 2021 · Fundamentals

Understanding Linux Virtual Memory: Paging, Swapping, and Management Commands

This article explains the core concepts of Linux virtual memory, including why it exists, how paging and page tables work, the role of the MMU, swap usage, common pitfalls, and practical commands for inspecting and tuning memory behavior on a Linux system.

OS fundamentalsPagingSwap
0 likes · 11 min read
Understanding Linux Virtual Memory: Paging, Swapping, and Management Commands
Liangxu Linux
Liangxu Linux
May 31, 2021 · Fundamentals

Demystifying Linux Virtual Memory: Concepts, Paging, and Practical Commands

This article explains Linux virtual memory fundamentals, covering its purpose, paging and page tables, address translation, swap usage, common issues like 32‑bit vs 64‑bit limits, and practical commands such as free, vmstat, pmap, and sysctl for monitoring and configuring memory management.

Memory ManagementOperating SystemPaging
0 likes · 12 min read
Demystifying Linux Virtual Memory: Concepts, Paging, and Practical Commands
php Courses
php Courses
Feb 18, 2021 · Operations

How to Create and Manage Swap Partitions on Linux

This article explains the purpose of swap partitions, shows how to check current swap usage, and provides step‑by‑step instructions for creating swap space both via a dedicated disk partition and by using a swap file on a Linux server.

OperationsPartitionSwap
0 likes · 3 min read
How to Create and Manage Swap Partitions on Linux
Liangxu Linux
Liangxu Linux
Dec 22, 2020 · Operations

Master Linux Memory: Decode free Output, Buffers, Cache, and Swap Cleanup

This guide explains how to interpret the Linux free command, distinguishes between used, free, buffers, and cache memory, describes common symptoms of memory pressure, and provides step‑by‑step commands to manually clear swap and drop caches for better system performance.

BuffersSwapfree command
0 likes · 7 min read
Master Linux Memory: Decode free Output, Buffers, Cache, and Swap Cleanup
Laravel Tech Community
Laravel Tech Community
Oct 20, 2020 · Databases

Analyzing and Troubleshooting Redis Latency Issues

This article explains common causes of Redis latency spikes, such as high‑complexity commands, large keys, concentrated expirations, memory limits, fork overhead, CPU binding, AOF settings, swap usage, and network saturation, and provides step‑by‑step troubleshooting commands and best‑practice recommendations.

AOFLarge KeysLatency
0 likes · 18 min read
Analyzing and Troubleshooting Redis Latency Issues
Liangxu Linux
Liangxu Linux
Aug 13, 2020 · Fundamentals

Unlock Linux Performance: Master Memory, Swap, and Cache Management

This guide explains Linux's memory architecture, how virtual memory (swap) works, and provides step‑by‑step commands to adjust swappiness, release page caches, and safely free swap space, helping you optimize system performance and avoid memory‑related issues.

BuffersCacheSwap
0 likes · 9 min read
Unlock Linux Performance: Master Memory, Swap, and Cache Management
FunTester
FunTester
Aug 24, 2019 · Fundamentals

Why Java Can't Swap Primitive Values Inside a Method – The Correct Way

This article explains that Java passes primitive arguments by value, so attempts to swap two ints inside a method have no effect on the caller, and demonstrates both the faulty implementation and the proper solutions using a temporary variable or a return value.

JavaSwapfundamentals
0 likes · 4 min read
Why Java Can't Swap Primitive Values Inside a Method – The Correct Way
ITPUB
ITPUB
Jul 26, 2017 · Fundamentals

Why Linux Uses Virtual Memory and How It Works

This article explains the need for virtual memory in Linux, describes its implementation mechanisms such as swap space and lazy allocation, and details the typical layout of the kernel and user address spaces, including high‑memory handling and zone mapping.

Memory ManagementSwapVirtual Memory
0 likes · 14 min read
Why Linux Uses Virtual Memory and How It Works
MaGe Linux Operations
MaGe Linux Operations
Jul 14, 2017 · Operations

Master Linux Memory Monitoring: The Complete Guide to the free Command

Learn how to use the Linux free command to display detailed memory and swap statistics, understand each field—including total, used, free, buffers, cached, and available—interpret the output correctly, and apply common options for human‑readable, periodic, and comprehensive reporting.

Memory MonitoringSwapfree command
0 likes · 5 min read
Master Linux Memory Monitoring: The Complete Guide to the free Command
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 ManagementSwapSystem Administration
0 likes · 20 min read
Mastering Linux Swap: How Swappiness, kswapd, and Watermarks Control Memory