lkml.org 
[lkml]   [2009]   [Feb]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[patch/s390 34/46] topology: define SD_MC_INIT to fix performance regression
    From: Heiko Carstens <heiko.carstens@de.ibm.com>

    The default values for SD_MC_INIT cause an additional cpu usage of up
    to 40% on some network benchmarks compared to the plain SD_CPU_INIT
    values. So just define SD_MC_INIT to SD_CPU_INIT.
    More tuning needs to be done.

    Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
    Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
    ---

    arch/s390/include/asm/topology.h | 2 ++
    1 file changed, 2 insertions(+)

    Index: quilt-2.6/arch/s390/include/asm/topology.h
    ===================================================================
    --- quilt-2.6.orig/arch/s390/include/asm/topology.h
    +++ quilt-2.6/arch/s390/include/asm/topology.h
    @@ -30,6 +30,8 @@ static inline void s390_init_cpu_topolog
    };
    #endif

    +#define SD_MC_INIT SD_CPU_INIT
    +
    #include <asm-generic/topology.h>

    #endif /* _ASM_S390_TOPOLOGY_H */
    --
    blue skies,
    Martin.

    "Reality continues to ruin my life." - Calvin.



    \
     
     \ /
      Last update: 2009-02-25 16:21    [W:0.021 / U:60.232 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site