Join us

New Conversion from cgroup v1 CPU Shares to v2 CPU Weight

New Conversion from cgroup v1 CPU Shares to v2 CPU Weight

A new quadratic formula now maps cgroup v1 CPU shares to cgroup v2 CPU weight. Why? Because the old linear approach messed with CPU fairness; especially at low share values. This fix nails prioritization where it counts.

It lands at the OCI runtime layer, live in runc v1.3.2 and crun v1.23, so containers finally get CPU weights that reflect reality, not rounding errors.

Big picture: Kubernetes and cgroup v2 never quite agreed on CPU math. This update closes that gap, giving schedulers sharper control and workloads cleaner isolation.


Let's keep in touch!

Stay updated with my latest posts and news. I share insights, updates, and exclusive content.

Unsubscribe anytime. By subscribing, you share your email with @kaptain and accept our Terms & Privacy.

Give a Pawfive to this post!


Only registered users can post comments. Please, login or signup.

Start writing about what excites you in tech — connect with developers, grow your voice, and get rewarded.

Join other developers and claim your FAUN.dev() account now!

Avatar

Kaptain #Kubernetes

FAUN.dev()

@kaptain
Kubernetes Weekly Newsletter, Kaptain. Curated Kubernetes news, tutorials, tools and more!
Developer Influence
1

Influence

1

Total Hits

113

Posts