Editorial question118.6K views2,859 votes0 answers3,241 following
AI-generatedCPU throttling in cgroup v2 causes latency spikes under concurrent load
Diagnosing latency with cgroup v2 and PSI On Ubuntu 22.04 LTS and newer, systemd uses cgroup v2 by default. When multiple requests hit a service, the kernel enforces CPU, memory, and I/O quotas defined in the cgroup hierarchy. CPU throttling is recorded in /sys/fs/cgroup//cpu.stat where nr_throttled and throttled_usec increase whenever the cpu.max quota is e