diff options
author | Anton Blanchard <anton@samba.org> | 2007-10-14 15:15:36 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-10-17 08:30:08 -0400 |
commit | 309a109255cce65a99ced7a2bcabce24f4752db4 (patch) | |
tree | 7d2170a47eabfda0ebbff935ee2a289604a0ef21 /arch/powerpc/configs/pmac32_defconfig | |
parent | f5534004e5296496aa559d65c91befd02bf91d05 (diff) |
[POWERPC] Enable SLUB in *_defconfig
When checking out the new NO_HZ support in powerpc, I noticed we never
slept for more than 2 seconds. It turns out SLAB has a 2 second per cpu
timer that causes this.
After switching to SLUB I see some nice 4 second sleeps which is the
limit on this POWER6 box (the decrementer ticks at 512MHz):
slept 4.19 sec
slept 4.19 sec
slept 4.19 sec
slept 4.19 sec
slept 3.96 sec
slept 3.80 sec
slept 2.99 sec
Since SLUB is now the default and some powerpc defconfigs already enable
it, lets enable SLUB across the board for consistency. While doing this
I also noticed that the maple defconfig has SLAB debugging enabled which
is sure to make your box nice and slow. Fix that too.
Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/configs/pmac32_defconfig')
-rw-r--r-- | arch/powerpc/configs/pmac32_defconfig | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/arch/powerpc/configs/pmac32_defconfig b/arch/powerpc/configs/pmac32_defconfig index cfc9c6573a3c..95b823b60c97 100644 --- a/arch/powerpc/configs/pmac32_defconfig +++ b/arch/powerpc/configs/pmac32_defconfig | |||
@@ -91,8 +91,9 @@ CONFIG_TIMERFD=y | |||
91 | CONFIG_EVENTFD=y | 91 | CONFIG_EVENTFD=y |
92 | CONFIG_SHMEM=y | 92 | CONFIG_SHMEM=y |
93 | CONFIG_VM_EVENT_COUNTERS=y | 93 | CONFIG_VM_EVENT_COUNTERS=y |
94 | CONFIG_SLAB=y | 94 | CONFIG_SLUB_DEBUG=y |
95 | # CONFIG_SLUB is not set | 95 | # CONFIG_SLAB is not set |
96 | CONFIG_SLUB=y | ||
96 | # CONFIG_SLOB is not set | 97 | # CONFIG_SLOB is not set |
97 | CONFIG_RT_MUTEXES=y | 98 | CONFIG_RT_MUTEXES=y |
98 | # CONFIG_TINY_SHMEM is not set | 99 | # CONFIG_TINY_SHMEM is not set |
@@ -1829,7 +1830,7 @@ CONFIG_DETECT_SOFTLOCKUP=y | |||
1829 | CONFIG_SCHED_DEBUG=y | 1830 | CONFIG_SCHED_DEBUG=y |
1830 | # CONFIG_SCHEDSTATS is not set | 1831 | # CONFIG_SCHEDSTATS is not set |
1831 | # CONFIG_TIMER_STATS is not set | 1832 | # CONFIG_TIMER_STATS is not set |
1832 | # CONFIG_DEBUG_SLAB is not set | 1833 | # CONFIG_SLUB_DEBUG_ON is not set |
1833 | # CONFIG_DEBUG_RT_MUTEXES is not set | 1834 | # CONFIG_DEBUG_RT_MUTEXES is not set |
1834 | # CONFIG_RT_MUTEX_TESTER is not set | 1835 | # CONFIG_RT_MUTEX_TESTER is not set |
1835 | # CONFIG_DEBUG_SPINLOCK is not set | 1836 | # CONFIG_DEBUG_SPINLOCK is not set |