Cult I Mean Group
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
Nemeski@mander.xyz to Kubernetes@programming.dev · 3 months ago

New Conversion from cgroup v1 CPU Shares to v2 CPU Weight

kubernetes.io

external-link
message-square
0
fedilink
2
external-link

New Conversion from cgroup v1 CPU Shares to v2 CPU Weight

kubernetes.io

Nemeski@mander.xyz to Kubernetes@programming.dev · 3 months ago
message-square
0
fedilink
I'm excited to announce the implementation of an improved conversion formula from cgroup v1 CPU shares to cgroup v2 CPU weight. This enhancement addresses critical issues with CPU priority allocation for Kubernetes workloads when running on systems with cgroup v2. Background Kubernetes was originally designed with cgroup v1 in mind, where CPU shares were derived from a container's CPU requests using the following formula: $$cpu.shares = milliCPU \times \frac{1024}{1000}$$Note that the value 1024 in this formula is the default cpu.
alert-triangle
You must log in or register to comment.

Kubernetes@programming.dev

kubernetes@programming.dev

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !kubernetes@programming.dev
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 3 users / day
  • 27 users / week
  • 31 users / month
  • 125 users / 6 months
  • 1 local subscriber
  • 1.33K subscribers
  • 118 Posts
  • 80 Comments
  • Modlog
  • mods:
  • Erlingur@programming.dev
  • Daemon@programming.dev
  • BE: 0.19.8
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org