RHEL의 cgroups에 있는 cpu.stat의 nr_periods

RHEL의 cgroups에 있는 cpu.stat의 nr_periods

하위 시스템 내부 nr_periods의 측정항목을 이해하려고 합니다 . 문서에서:cpu.statcpu

nr_periods — 경과된 기간 간격(cpu.cfs_기간_us에 지정된 대로) 수입니다.

cpu.cfs_period_us으로 설정됩니다 200000. 정의에 따르면 nr_periods시간이 지남에 따라 단조롭게 증가할 것으로 예상됩니다.

그래서 5초 동안 nr_periods5000000/200000 = 25

그러나 때로는 증가하지 않을 때도 있고 증가할 때도 있습니다. 이것은 버그입니까, 아니면 제가 잘못 알고 있는 것입니까?

$ cat /cgroup/GROUP1/cpu.stat && sleep 5 && cat /cgroup/GROUP1/cpu.stat
nr_periods 129890
nr_throttled 24
throttled_time 25909422

nr_periods 129892
nr_throttled 24
throttled_time 25909422

시스템 세부정보:

$ uname -r
2.6.32-504.el6.x86_64

$ cat /etc/redhat-release
Red Hat Enterprise Linux Server release 6.6 (Santiago)

미리 감사드립니다.

관련 정보