Re: [PATCH 3/4] sched: Add bandwidth ratio to /proc/sched_debug

Juri Lelli
2016-02-23T09:54:47Z

Hi Steve,

On 22/02/16 16:26, Steven Rostedt wrote:
> From: "Steven Rostedt (Red Hat)" <rostedt@goodmis.org>
>
> Playing with SCHED_DEADLINE and cpusets, I found that I was unable to create
> new SCHED_DEADLINE tasks, with the error of EBUSY as if the bandwidth was
> already used up. I then realized there wa no way to see what bandwidth is
> used by the runqueues to debug the issue.
>
> By adding the dl_bw->bw and dl_bw->total_bw to the output of the deadline
> info in /proc/sched_debug, this allows us to see what bandwidth has been
> reserved and where a problem may exist.
>

[...]

>
> Signed-off-by: Steven Rostedt <rostedt@goodmis.org>

This is pretty useful yes.

FWIW,
Acked-by: Juri Lelli <juri.lelli@arm.com>

Best,

- Juri