lkml.org 
[lkml]   [2007]   [Mar]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: SMP performance degradation with sysbench

    Hi Nick,

    > Anyway, I'll keep experimenting. If anyone from MySQL wants to help look
    > at this, send me a mail (eg. especially with the sched_setscheduler issue,
    > you might be able to do something better).

    I took a look at this today and figured Id document it:

    http://ozlabs.org/~anton/linux/sysbench/

    Bottom line: it looks like issues in the glibc malloc library, replacing
    it with the google malloc library fixes the negative scaling:

    # apt-get install libgoogle-perftools0
    # LD_PRELOAD=/usr/lib/libtcmalloc.so /usr/sbin/mysqld

    Anton
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2007-03-12 23:03    [W:4.022 / U:0.188 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site