Alibaba Cloud Native
Alibaba Cloud Native
Apr 5, 2022 · Cloud Native

How Memory QoS Boosts Container Performance in Cloud‑Native Kubernetes

This article explains the memory challenges of containers in cloud‑native Kubernetes environments, describes how Kubernetes maps Request/Limit to cgroups, outlines the limitations of overcommit and mixed workloads, and details Alibaba Cloud Linux 2's Memory QoS features—including memory.min, memory.high, async reclaim, and global water‑mark adjustments—that improve fairness and latency, supported by Redis benchmark results.

Alibaba CloudContainer MemoryKubernetes
0 likes · 17 min read
How Memory QoS Boosts Container Performance in Cloud‑Native Kubernetes
G7 EasyFlow Tech Circle
G7 EasyFlow Tech Circle
Dec 30, 2021 · Cloud Native

Why Kubernetes OOM Kills Use WSS, Not RSS – Diagnose & Fix Container Memory

After moving IoT services to Kubernetes, containers were OOM‑killed despite RSS staying below limits because Kubernetes bases OOM decisions on the Working Set Size (WSS) metric, which includes file cache, and the article explains its calculation, reproduces the issue, and offers practical mitigation strategies.

Cache ManagementContainer MemoryKernel Parameters
0 likes · 12 min read
Why Kubernetes OOM Kills Use WSS, Not RSS – Diagnose & Fix Container Memory