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/mpc85xx_cds_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/mpc85xx_cds_defconfig')
-rw-r--r-- | arch/powerpc/configs/mpc85xx_cds_defconfig | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/arch/powerpc/configs/mpc85xx_cds_defconfig b/arch/powerpc/configs/mpc85xx_cds_defconfig index e6850c619f88..a4f33d110542 100644 --- a/arch/powerpc/configs/mpc85xx_cds_defconfig +++ b/arch/powerpc/configs/mpc85xx_cds_defconfig | |||
@@ -90,8 +90,9 @@ CONFIG_TIMERFD=y | |||
90 | CONFIG_EVENTFD=y | 90 | CONFIG_EVENTFD=y |
91 | CONFIG_SHMEM=y | 91 | CONFIG_SHMEM=y |
92 | CONFIG_VM_EVENT_COUNTERS=y | 92 | CONFIG_VM_EVENT_COUNTERS=y |
93 | CONFIG_SLAB=y | 93 | CONFIG_SLUB_DEBUG=y |
94 | # CONFIG_SLUB is not set | 94 | # CONFIG_SLAB is not set |
95 | CONFIG_SLUB=y | ||
95 | # CONFIG_SLOB is not set | 96 | # CONFIG_SLOB is not set |
96 | CONFIG_RT_MUTEXES=y | 97 | CONFIG_RT_MUTEXES=y |
97 | # CONFIG_TINY_SHMEM is not set | 98 | # CONFIG_TINY_SHMEM is not set |
@@ -832,7 +833,7 @@ CONFIG_DETECT_SOFTLOCKUP=y | |||
832 | CONFIG_SCHED_DEBUG=y | 833 | CONFIG_SCHED_DEBUG=y |
833 | # CONFIG_SCHEDSTATS is not set | 834 | # CONFIG_SCHEDSTATS is not set |
834 | # CONFIG_TIMER_STATS is not set | 835 | # CONFIG_TIMER_STATS is not set |
835 | # CONFIG_DEBUG_SLAB is not set | 836 | # CONFIG_SLUB_DEBUG_ON is not set |
836 | # CONFIG_DEBUG_RT_MUTEXES is not set | 837 | # CONFIG_DEBUG_RT_MUTEXES is not set |
837 | # CONFIG_RT_MUTEX_TESTER is not set | 838 | # CONFIG_RT_MUTEX_TESTER is not set |
838 | # CONFIG_DEBUG_SPINLOCK is not set | 839 | # CONFIG_DEBUG_SPINLOCK is not set |