lkml.org 
[lkml]   [2006]   [Apr]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: smpnice loadbalancing with high priority tasks
Peter Williams wrote:
> Siddha, Suresh B wrote:
>> do we then really need smpnice complexity?
>
> Most people who express unhappiness with SMP and nice are looking at the
> other end of the problem i.e. they nice 19 a process to make it run in
> the background but it gets a CPU to itself while a couple nice 0 tasks
> have to share the other CPU. The high priority case has to be
> considered as well (e.g. one high priority task and one normal priority
> task running on a 2 CPU machine with a CPU each when another task wakes
> -- you'd like that to end up on the CPU of the normal priority task not
> the one with the high priority task, etc.) but its effects are more
> likely to be transitory and high priority tasks would not be expected to
> have a long term effect on balancing.

Another advantage of smpnice load balancing that I failed to point out
is that it increases the chances that the tasks at the head of the
queues within a HT package are approximately the same priority. This,
in turn, reduces the probability that it will be necessary to force one
of the channels to idle and this will tend to increase the overall
system throughput.

Peter
--
Peter Williams pwil3058@bigpond.net.au

"Learning, n. The kind of ignorance distinguishing the studious."
-- Ambrose Bierce
-
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: 2006-04-06 04:17    [W:0.226 / U:0.704 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site