Re: smpnice loadbalancing with high priority tasks

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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                                   [email protected]

"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 [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]
  Powered by Linux