]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
sched: fine-tune SD_SIBLING_INIT
authorIngo Molnar <mingo@elte.hu>
Fri, 7 Nov 2008 15:09:23 +0000 (16:09 +0100)
committerIngo Molnar <mingo@elte.hu>
Fri, 7 Nov 2008 15:09:23 +0000 (16:09 +0100)
fine-tune the HT sched-domains parameters as well.

On a HT capable box, this increases lat_ctx performance from 23.87
usecs to 1.49 usecs:

 # before

 $ ./lat_ctx -s 0 2

   "size=0k ovr=1.89
    2 23.87

 # after

 $ ./lat_ctx -s 0 2

   "size=0k ovr=1.84
     2 1.49

Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/linux/topology.h

index a8d840595b7e75e222f0a3fac5ba505fcb8f16b4..117f1b7405cfc92ff1c342d2d92a9f35c2e9cbb5 100644 (file)
@@ -99,7 +99,7 @@ void arch_update_cpu_topology(void);
                                | SD_BALANCE_FORK       \
                                | SD_BALANCE_EXEC       \
                                | SD_WAKE_AFFINE        \
-                               | SD_WAKE_IDLE          \
+                               | SD_WAKE_BALANCE       \
                                | SD_SHARE_CPUPOWER,    \
        .last_balance           = jiffies,              \
        .balance_interval       = 1,                    \