r/linuxadmin • • Oct 26 '26

cgroup v2 cpuset & Memory Limits: Pin CPUs, memory.high vs memory.max (part 3)

https://youtu.be/8eLQgzYW39I?si=VPjQ7nAoPCAy9p7a

New video: cgroup v2 cpuset and memory limits 🐧

Why does one container get OOM killed while the rest of the machine is fine?

In this part of my cgroup v2 series I cover:

🔹 cpuset: pinning workloads to CPUs and NUMA nodes

🔹 memory.high vs memory.max: a soft ceiling that throttles and reclaims, against a hard ceiling that ends in an OOM kill

🔹 The kernel's allocation flow, step by step

🔹 A hands-on "memory hog" lab with stress-ng

The one-line summary is easy. The details (who does the reclaim, what you see in the counters) are where performance engineering gets interesting.

#Linux #cgroups #PerformanceEngineering #SRE #DevOps #Kubernetes

1 Upvotes

0 comments sorted by