diff options
author | Anton Blanchard <anton@samba.org> | 2009-12-06 12:48:33 -0500 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2009-12-17 22:54:26 -0500 |
commit | 030bdc3fd0807b6097a937468859f4b4baf1b950 (patch) | |
tree | 0d95e6f6ed8fd9fc1e1b7f0ba29ee9e1ebeaae25 /arch/powerpc/configs/pseries_defconfig | |
parent | 55f2fa147392ffd23cec56cbb3d85ab5b3ebc125 (diff) |
powerpc/defconfigs: Set HZ=100 on pseries and ppc64 defconfigs
Now we have high res timers there is less of a reason for a high HZ value.
Furthermore I think there a few reasons we should reduce HZ to 100:
- Timer interrupt overhead. While this overhead is small, there are
applications that are very sensitive to jitter (eg some HPC apps).
- Issues with the timer wheel code. When coming out of NO_HZ idle we work our
way through the timer code one tick at a time. If we have been idle a long
time, this adds up - I sometimes see milliseconds of time spent in that
loop.
Long term we should fix the timer wheel algorithm, but for now if we reduce
HZ then we reduce the amount of work the timer code has to do when coming
out of idle.
Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/configs/pseries_defconfig')
-rw-r--r-- | arch/powerpc/configs/pseries_defconfig | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/powerpc/configs/pseries_defconfig b/arch/powerpc/configs/pseries_defconfig index e89fccbb4a61..ca9ff9aad74a 100644 --- a/arch/powerpc/configs/pseries_defconfig +++ b/arch/powerpc/configs/pseries_defconfig | |||
@@ -230,11 +230,11 @@ CONFIG_TICK_ONESHOT=y | |||
230 | CONFIG_NO_HZ=y | 230 | CONFIG_NO_HZ=y |
231 | CONFIG_HIGH_RES_TIMERS=y | 231 | CONFIG_HIGH_RES_TIMERS=y |
232 | CONFIG_GENERIC_CLOCKEVENTS_BUILD=y | 232 | CONFIG_GENERIC_CLOCKEVENTS_BUILD=y |
233 | # CONFIG_HZ_100 is not set | 233 | CONFIG_HZ_100=y |
234 | CONFIG_HZ_250=y | 234 | # CONFIG_HZ_250 is not set |
235 | # CONFIG_HZ_300 is not set | 235 | # CONFIG_HZ_300 is not set |
236 | # CONFIG_HZ_1000 is not set | 236 | # CONFIG_HZ_1000 is not set |
237 | CONFIG_HZ=250 | 237 | CONFIG_HZ=100 |
238 | CONFIG_SCHED_HRTICK=y | 238 | CONFIG_SCHED_HRTICK=y |
239 | CONFIG_PREEMPT_NONE=y | 239 | CONFIG_PREEMPT_NONE=y |
240 | # CONFIG_PREEMPT_VOLUNTARY is not set | 240 | # CONFIG_PREEMPT_VOLUNTARY is not set |