cgroups icon indicating copy to clipboard operation
cgroups copied to clipboard

cgroup v2 does not set CPUQuotaPeriodUSec

Open henry118 opened this issue 10 months ago • 1 comments

Currently cgroup2 systemd implementation does not set CPUQuotaPeriodUSec property.

Similar support was added into runc's cgroup implementation:

  • https://github.com/opencontainers/runc/issues/2465
  • https://github.com/opencontainers/runc/pull/2466

Shall we replicate the same logic in this package?

henry118 avatar May 02 '25 18:05 henry118

Amazon ECS observes impact from this issue via the amazon-ecs-agent repository when creating cgroup using cgroups v2 and passing in CPU period as part of cgroup specs here: https://github.com/aws/amazon-ecs-agent/blob/64a89e1343939398ef49ccd7101939a32a84c52e/agent/taskresource/cgroup/control/cgroupv2_controller_linux.go#L52.

danehlim avatar May 02 '25 18:05 danehlim