Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1339940
| From | Steven Rostedt <rostedt@goodmis.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 0/4] sched: Display deadline bandwidth and other SCHED_DEBUG clean up |
| Date | 2016-02-22 22:30 +0100 |
| Message-ID | <r56dk-3nr-21@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
[ Nothing different since my v2 I posted, except hopefully people
will look at it this time :-) I also removed the RFC ]
I'm starting to play with SCHED_DEADLINE a bit and I'm able to cause
a bandwidth "leak". Then I realized there's no way to examine what bandwidths
are enabled on which CPUs. I added the bandwith ratios to the
/proc/sched_debug file.
I will be posting the SCHED_DEADLINE issue in a separate thread.
# 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 : 104857
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
Before adding this code, I also realized there was a bit of
SCHED_DEBUG code in the kernel/sched/core.c file, and decided to move that
to kernel/sched/debug.c to clean the core.c file up a bit. Those patches
are mostly orthognal to the deadline_bw file, but decided to group them
together here.
Steven Rostedt (Red Hat) (4):
sched: Move sched_feature file setup into debug.c
sched: Move sched_domain_sysctl to debug.c
sched: Add bandwidth ratio to /proc/sched_debug
tracing: Add __print_ns_to_secs() and __print_ns_without_secs() helpers
----
include/trace/trace_events.h | 25 ++++
kernel/sched/core.c | 311 ------------------------------------------
kernel/sched/debug.c | 313 +++++++++++++++++++++++++++++++++++++++++++
kernel/sched/sched.h | 13 ++
4 files changed, 351 insertions(+), 311 deletions(-)
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH 0/4] sched: Display deadline bandwidth and other SCHED_DEBUG clean up Steven Rostedt <rostedt@goodmis.org> - 2016-02-22 22:30 +0100
[PATCH 1/4] sched: Move sched_feature file setup into debug.c Steven Rostedt <rostedt@goodmis.org> - 2016-02-22 22:30 +0100
[tip:sched/core] sched/debug: Move the /sys/kernel/debug/sched_features file setup into debug.c "tip-bot for Steven Rostedt (Red Hat)" <tipbot@zytor.com> - 2016-02-29 12:20 +0100
[PATCH 2/4] sched: Move sched_domain_sysctl to debug.c Steven Rostedt <rostedt@goodmis.org> - 2016-02-22 22:30 +0100
[tip:sched/core] sched/debug: Move sched_domain_sysctl to debug.c "tip-bot for Steven Rostedt (Red Hat)" <tipbot@zytor.com> - 2016-02-29 12:20 +0100
[PATCH 4/4] tracing: Add __print_ns_to_secs() and __print_ns_without_secs() helpers Steven Rostedt <rostedt@goodmis.org> - 2016-02-22 22:30 +0100
Re: [PATCH 4/4] tracing: Add __print_ns_to_secs() and __print_ns_without_secs() helpers Peter Zijlstra <peterz@infradead.org> - 2016-02-23 13:50 +0100
Re: [PATCH 4/4] tracing: Add __print_ns_to_secs() and __print_ns_without_secs() helpers Steven Rostedt <rostedt@goodmis.org> - 2016-02-23 14:20 +0100
Re: [PATCH 4/4] tracing: Add __print_ns_to_secs() and __print_ns_without_secs() helpers Peter Zijlstra <peterz@infradead.org> - 2016-02-23 15:10 +0100
Re: [PATCH 4/4] tracing: Add __print_ns_to_secs() and __print_ns_without_secs() helpers Steven Rostedt <rostedt@goodmis.org> - 2016-02-23 15:40 +0100
csiph-web