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

From: Juri Lelli
Date: Tue Feb 23 2016 - 04:54:51 EST


Hi Steve,

On 22/02/16 16:26, Steven Rostedt wrote:
> From: "Steven Rostedt (Red Hat)" <rostedt@xxxxxxxxxxx>
>
> 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@xxxxxxxxxxx>

This is pretty useful yes.

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

Best,

- Juri