Linux kernel cgroup v2 CFS - CPU throttled_usec accounting?

Alexandru Lazarev alexandru.lazarev at gmail.com
Sat Jan 11 06:28:24 EST 2025


Hi community,

My question:
In Linux kernel cgroup v2’s CFS scheduler, how is cpu.max
throttled_usec accounted
when a cgroup with multiple threads gets throttled during a single quota
period? Specifically, is throttled_usec tracked as the total wall-clock
time that the cgroup was throttled as a whole, or is it a sum of the
throttled times of all individual threads?

Kernel Version: "5.14.0-284.11.1.el9_2.x86_64 #1 SMP PREEMPT_DYNAMIC Tue
May 9 11:41:53 PDT 2023 x86_64 x86_64 x86_64 GNU/Linux" Distro: Oracle
Linux 9.x

Regards,

AlexL
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20250111/ec65bccb/attachment.html>


More information about the Kernelnewbies mailing list