On Fri, Feb 10, 2006 at 05:27:06PM -0800, Peter Williams wrote:
>> "Siddha, Suresh B" <[email protected]> wrote:
>>>My testing showed that 178.galgel in SPECfp2000 is down by
>~10% when run with
>>>nice -20 on a 4P(8-way with HT) system compared to a nice-0 run.
>
>Is it normal to run enough -20 tasks to cause this problem to manifest?
On a 4P(8-way with HT), if you run a -20 task(a simple infinite loop)
it hops from one processor to another processor... you can observe it
using top.
find_busiest_group() thinks there is an imbalance and ultimately the
idle cpu kicks active load balance on busy cpu, resulting in the hopping.
>>>
>>>b) On a lightly loaded system, this can result in HT
>scheduler optimizations
>>>being disabled in presence of low priority tasks... in this
>case, they(low
>>>priority ones) can end up running on the same package, even
>in the presence
>>>of other idle packages.. Though this is not as serious as
>"a" above...
>>>
>
>I think that this issue comes under the heading of "Result of better
>nice enforcement" which is the purpose of the patch :-). I wouldn't
>call this HT disablement or do I misunderstand the issue.
>
>The only way that I can see load balancing subverting the HT
>scheduling
>mechanisms is if (say) there are 2 CPUs with 2 HT channels
>each and all
>of the high priority tasks end up sharing the 2 channels of one CPU
>while all of the low priority tasks share the 2 channels of the other
>one. This scenario is far more likely to happen without the smpnice
>patches than with them.
I agree with you.. But lets take a DP system with HT, now if there are
only two low priority tasks running, ideally we should be running them
on two different packages. With this patch, we may end up running on the
same logical processor.. leave alone running on the same package..
As these are low priority tasks, it might be ok.. But...
thanks,
suresh
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]