]> git.baikalelectronics.ru Git - kernel.git/commit
sched/fair: Add cfs bandwidth burst statistics
authorHuaixin Chang <changhuaixin@linux.alibaba.com>
Mon, 30 Aug 2021 03:22:14 +0000 (11:22 +0800)
committerPeter Zijlstra <peterz@infradead.org>
Tue, 5 Oct 2021 13:51:40 +0000 (15:51 +0200)
commit1b93b76887ad0845e65656bf9cdf438ae65dfc89
tree5b33b07af19e88ce693c70fb5bff4570ff775451
parent5f4c99fccf9605a0363e1bc6e436b2a3afea735c
sched/fair: Add cfs bandwidth burst statistics

Two new statistics are introduced to show the internal of burst feature
and explain why burst helps or not.

nr_bursts:  number of periods bandwidth burst occurs
burst_time: cumulative wall-time (in nanoseconds) that any cpus has
    used above quota in respective periods

Co-developed-by: Shanpei Chen <shanpeic@linux.alibaba.com>
Signed-off-by: Shanpei Chen <shanpeic@linux.alibaba.com>
Co-developed-by: Tianchen Ding <dtcccc@linux.alibaba.com>
Signed-off-by: Tianchen Ding <dtcccc@linux.alibaba.com>
Signed-off-by: Huaixin Chang <changhuaixin@linux.alibaba.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Daniel Jordan <daniel.m.jordan@oracle.com>
Acked-by: Tejun Heo <tj@kernel.org>
Link: https://lore.kernel.org/r/20210830032215.16302-2-changhuaixin@linux.alibaba.com
kernel/sched/core.c
kernel/sched/fair.c
kernel/sched/sched.h