Tagged articles
cpu-limits
11 articles · Page 1 of 1
This article explains how Kubernetes uses both requests and limits to manage container CPU resources, detailing the underlying Linux cgroup mechanisms, the concept of over‑selling CPU cores, and practical guidance for SREs configuring optimal request and limit values.
Kubernetescgroupscloud-native
0 likes · 16 min read

This article explains how Kubernetes CPU requests and limits interact with Linux namespaces, cgroups v2, and the Completely Fair Scheduler, showing why limits can cause throttling, increase latency, and mislead monitoring, and offers guidance on when to use or avoid CPU limits.
CFSKubernetescgroups v2
0 likes · 11 min read

Go 1.25 introduces a container‑aware default for GOMAXPROCS that aligns the runtime’s parallelism with Kubernetes CPU limits, eliminating unnecessary throttling, improving tail‑latency, and making Go applications more production‑ready out of the box.
GOMAXPROCSKubernetescontainers
0 likes · 11 min read

This guide explains the core concepts of Linux namespaces and Cgroups, shows how Kubernetes pod specifications use CPU requests and limits, and provides step‑by‑step commands and parameter details for configuring Cgroup settings to restrict container CPU consumption.
KubernetesLinuxcgroups
0 likes · 6 min read

This guide demonstrates how to restrict Docker container CPU usage using the modern --cpus flag, the legacy --cpu-period/--cpu-quota pair, fixed CPU assignment with --cpuset-cpus, and CPU weighting via --cpu-shares, complete with commands, observations, and practical examples.
Dockercontainercpu-limits
0 likes · 9 min read

This tutorial explains how to restrict a Docker container's CPU consumption by using the --cpus, --cpu-period/--cpu-quota, and --cpuset-cpus options, demonstrates the commands with a stress‑test image, and shows how CPU load and weight affect container performance.
Dockercontainer resourcescpu-limits
0 likes · 9 min read

This article explains the mechanics of Kubernetes CPU resource limits, how to interpret limits as time slices, the Linux accounting system behind them, and which Prometheus metrics can be used to set proper limits and diagnose CPU throttling issues.
KubernetesPrometheuscAdvisor
0 likes · 11 min read

This article explains how Kubernetes CPU requests and limits work, why limits can throttle performance, compares language‑specific behaviors, and presents alternative strategies such as relying on requests with Horizontal Pod Autoscaling for more efficient and cost‑effective scaling.
Kubernetesautoscalingcontainer orchestration
0 likes · 12 min read

This article explains how Linux namespaces provide resource isolation while cgroups enforce resource limits, detailing the six namespace types, relevant system calls, practical commands like unshare and cgcreate, and demonstrates CPU share control with Go code and cgroup configuration examples.
GoLinuxcgroups
0 likes · 5 min read

This article explains how Linux namespaces provide resource isolation while cgroups enforce resource limits, detailing their types, system calls, configuration steps, and practical Go code examples to demonstrate CPU share control in container-like environments.
Linuxcgroupscontainers
0 likes · 5 min read

This article explains the CPU Burst feature added in Linux 5.14, how it mitigates fine‑grained CPU throttling in Kubernetes containers, presents a queue‑theoretic model and Monte‑Carlo simulations to evaluate its impact on scheduler stability, and offers practical guidance for safely enabling it in production environments.
CPU BurstKubernetesMonte Carlo simulation
0 likes · 14 min read
