diff options
author | Con Kolivas <kernel@kolivas.org> | 2016-11-22 10:26:13 +1100 |
---|---|---|
committer | Con Kolivas <kernel@kolivas.org> | 2016-11-22 10:45:31 +1100 |
commit | 92b9aa0ceb0860f79be4c0f1ae0ac042cd33d28b (patch) | |
tree | 6e6e50f81c34d81e9362c01aea88e7d1f5d43e88 | |
parent | 42dcb35b4e4ffe633fce6463499f077d423ba720 (diff) |
Add HZ 128 as an option and default for muqss.
-rw-r--r-- | kernel/Kconfig.hz | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/kernel/Kconfig.hz b/kernel/Kconfig.hz index 2a202a846757..1532e4e14d2f 100644 --- a/kernel/Kconfig.hz +++ b/kernel/Kconfig.hz @@ -4,7 +4,8 @@ choice prompt "Timer frequency" - default HZ_250 + default HZ_128 if SCHED_MUQSS + default HZ_250 if !SCHED_MUQSS help Allows the configuration of the timer frequency. It is customary to have the timer interrupt run at 1000 Hz but 100 Hz may be more @@ -23,6 +24,16 @@ choice with lots of processors that may show reduced performance if too many timer interrupts are occurring. + config HZ_128 + bool "128 HZ" + help + 128 Hz is a suitable choice in combination with MuQSS which does + not rely on ticks for rescheduling interrupts, and is not Hz limited + for timeouts and sleeps from both the kernel and userspace. + This allows us to benefit from the lower overhead and higher + throughput of fewer timer ticks and the microoptimisation of Hz + divisions being a power of 2. + config HZ_250 bool "250 HZ" help @@ -50,6 +61,7 @@ endchoice config HZ int default 100 if HZ_100 + default 128 if HZ_128 default 250 if HZ_250 default 300 if HZ_300 default 1000 if HZ_1000 |