lkml.org 
[lkml]   [2004]   [Feb]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] Load balancing problem in 2.6.2-mm1

    Hi,

    > Can you try this patch instead pretty please ;)

    Still had the active rebalance problem. Martin suggested I try just the
    first junk of his patch:

    @@ -1442,8 +1442,8 @@ nextgroup:
    if ((long)*imbalance < 0)
    *imbalance = 0;

    - /* Get rid of the scaling factor now, rounding *up* as we divide */
    - *imbalance = (*imbalance + SCHED_LOAD_SCALE - 1) >> SCHED_LOAD_SHIFT;
    + /* Get rid of the scaling factor now */
    + *imbalance = *imbalance >> SCHED_LOAD_SHIFT;

    This fixed the active rebalance issue, however now it doesnt want to
    rebalance out of the node. Ive got one completely empty node and one full
    one (all primary and secondary threads are busy).

    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: 2005-03-22 14:00    [W:2.674 / U:0.020 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site