Re: [PATCH RFC] smt nice introduces significant lock contention

From: Con Kolivas
Date: Fri Jun 02 2006 - 06:12:11 EST


On Friday 02 June 2006 19:53, Chen, Kenneth W wrote:
> Yeah, but that is the worst case though. Average would probably be a lot
> lower than worst case. Also, on smt it's not like the current logical cpu
> is getting blocked because of another task is running on its sibling CPU.
> The hardware still guarantees equal share of hardware resources for both
> logical CPUs.

"Equal share of hardware resources" is exactly the problem; they shouldn't
have equal share since they're sharing one physical cpu's resources. It's a
relative breakage of the imposed nice support and I disagree with your
conclusion.

--
-ck
-
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/