[lkml]   [2012]   [Feb]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subject[PATCH 00/10] scheduler-ticker > 1000Hz, nitromethane for linux ;-)
Hi all,

this is a not fully serious (this is why I only post it here without sendig it
directly via mail) patchset for:

* tune the scheduler at configuration point
* increase the ticker-frequency way above 1000Hz
* tune the ticker-freq. from userspace during runtime

Of course this increases your systems overhead, but it enables you to have
more timer-triggered contexswitches per second and so (?)higher(?) interactivity.
(Of course after tuning some scheduler-parameters, min_gran, wakeup_gran ...)

An interesting feature might be the userspace controlling of the tickerfreq, too.
(Without disturbing HZ-dependend kernelcode, of course.)

I don't have very high hopes for an mainline integration ;-) but perhaps
there are people, who want to play with such stuff.
The Code is more or less an excerise and perhaps some reviewing would
be nice - so please contact me.
If (in the very unlikely case) there is enough interest in it, I can cleanup
the code and start maintaining it...

* The patch is diffed against 3.2.7
* The whole patchset is also downloadable as an bzipped archive at:

So now, please blame me "we don't need such s*it, it causes only overhead"... ;-)

regards Stephan

pub 4096R/FB9B12DB 2011-10-14 Stephan Bärwolf <>
Primary key fingerprint: 2252 B41E 12DF 41AD 476F 7F36 084A 0911 FB9B 12DB

Stephan Baerwolf (10):
menuconfig: implement new submenu for extended scheduler-options
sched: implement the new menuconfig controlling of sched_tunables
menuconfig: extend nitro-menu by responsiveness nitro options
sched: implement the controlling of responsiveness-nitro-options
menuconfig: extend nitro-menu by HZ-frequency Nitro
hrtimer: implement the controlling of nitro-hzboost
menuconfig: extend nitro-menu by priority-nitro
sched: implement the controlling of priority-nitro
menuconfig: extend nitro-menu by userspace-multiplier
hrtimer/sysctl: implement the controlling of userspace multiplier

arch/x86/Kconfig | 4 +-
include/linux/sched.h | 8 ++
kernel/Kconfig.hz | 3 -
kernel/Kconfig.sched | 202 +++++++++++++++++++++++++++++++++++++++++++
kernel/sched.c | 9 ++
kernel/sched_fair.c | 58 +++++++++++--
kernel/sysctl.c | 16 ++++
kernel/time/tick-common.c | 33 +++++++
kernel/time/tick-internal.h | 20 ++++
kernel/time/tick-sched.c | 51 +++++++++++
10 files changed, 390 insertions(+), 14 deletions(-)
create mode 100644 kernel/Kconfig.sched

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2012-02-27 13:57    [W:0.028 / U:7.684 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site