GIT: unionfs2-2.6.27.y: sched: fine-tune SD_SIBLING_INIT

Erez Zadok ezk at fsl.cs.sunysb.edu
Thu Aug 12 23:15:09 EDT 2010


commit aa7659a10684907bec7c0c6887f8755767fb8dea
Author: Ingo Molnar <mingo at elte.hu>
Date:   Fri Nov 7 16:09:23 2008 +0100

    sched: fine-tune SD_SIBLING_INIT
    
    commit 52c642f33b14bfa1b00ef2b68296effb34a573f3 upstream.
    
    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 at elte.hu>
    Signed-off-by: Greg Kroah-Hartman <gregkh at suse.de>

diff --git a/include/linux/topology.h b/include/linux/topology.h
index 91835a7..2565f4a 100644
--- a/include/linux/topology.h
+++ b/include/linux/topology.h
@@ -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,			\


More information about the unionfs-cvs mailing list