Re: [PATCH v3 05/22] sched: remove domain iterations in fork/exec/wake

From: Alex Shi
Date: Mon Jan 14 2013 - 21:33:01 EST


On 01/14/2013 05:03 PM, li guang wrote:
>>> > > This corner case may occur after "[PATCH v3 03/22] sched: fix
>>> > > find_idlest_group mess logical" brought in the local sched_group bias,
>>> > > and assume balancing runs on cpux2.
>>> > > ideally, find_idlest_group should find the real idlest(this case: sgy),
>>> > > then, this patch is reasonable.
>>> > >
>> >
>> > Sure. but seems it is a bit hard to go down the idlest group.
>> >
>> > and the old logical is real cost too much, on my 2 socket NHM/SNB
>> > server, hackbench can increase 2~5% performance. and no clean
>> > performance on kbuild/aim7 etc.
> what about remove local group bias?


Any theory profit for non local group? Usually, bias toward local group
will has cache locality profit.

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