Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1325741
| From | Juri Lelli <juri.lelli@arm.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [RFC][PATCH 3/3 v2] sched: Add bandwidth ratio to /proc/sched_debug |
| Date | 2016-02-03 19:00 +0100 |
| Message-ID | <qY9SF-58b-3@gated-at.bofh.it> (permalink) |
| References | <qY96j-4P4-17@gated-at.bofh.it> <qY96j-4P4-33@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Hi, On 03/02/16 11:57, 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. > > For example, before the issue we see the ratio of the bandwidth: > > # cat /proc/sys/kernel/sched_rt_runtime_us > 950000 > # cat /proc/sys/kernel/sched_rt_period_us > 1000000 > > # grep dl /proc/sched_debug > dl_rq[0]: > .dl_nr_running : 0 > .dl_bw->bw : 996147 > .dl_bw->total_bw : 0 > dl_rq[1]: > .dl_nr_running : 0 > .dl_bw->bw : 996147 > .dl_bw->total_bw : 0 > dl_rq[2]: > .dl_nr_running : 0 > .dl_bw->bw : 996147 > .dl_bw->total_bw : 0 > dl_rq[3]: > .dl_nr_running : 0 > .dl_bw->bw : 996147 > .dl_bw->total_bw : 0 > dl_rq[4]: > .dl_nr_running : 0 > .dl_bw->bw : 996147 > .dl_bw->total_bw : 0 > dl_rq[5]: > .dl_nr_running : 0 > .dl_bw->bw : 996147 > .dl_bw->total_bw : 0 > dl_rq[6]: > .dl_nr_running : 0 > .dl_bw->bw : 996147 > .dl_bw->total_bw : 0 > dl_rq[7]: > .dl_nr_running : 0 > .dl_bw->bw : 996147 > .dl_bw->total_bw : 0 > I think this is already quite useful. But, do you think we can also display information about the root_domain (like the span for example)? Or do we have that some place else already? Thanks, - Juri
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[RFC][PATCH 0/3 v2] sched: Display deadline bandwidth and other SCHED_DEBUG clean up Steven Rostedt <rostedt@goodmis.org> - 2016-02-03 18:10 +0100
[RFC][PATCH 1/3 v2] sched: Move sched_feature file setup into debug.c Steven Rostedt <rostedt@goodmis.org> - 2016-02-03 18:10 +0100
[RFC][PATCH 2/3 v2] sched: Move sched_domain_sysctl to debug.c Steven Rostedt <rostedt@goodmis.org> - 2016-02-03 18:10 +0100
[RFC][PATCH 3/3 v2] sched: Add bandwidth ratio to /proc/sched_debug Steven Rostedt <rostedt@goodmis.org> - 2016-02-03 18:10 +0100
Re: [RFC][PATCH 3/3 v2] sched: Add bandwidth ratio to /proc/sched_debug Juri Lelli <juri.lelli@arm.com> - 2016-02-03 19:00 +0100
Re: [RFC][PATCH 3/3 v2] sched: Add bandwidth ratio to /proc/sched_debug Steven Rostedt <rostedt@goodmis.org> - 2016-02-03 19:20 +0100
csiph-web