Messages in this thread | | | Date | Thu, 10 Jan 2002 13:57:58 -0800 | From | Mike Kravetz <> | Subject | Re: [patch] O(1) scheduler, -G1, 2.5.2-pre10, 2.4.17 (fwd) |
| |
If I run 3 cpu-hog tasks on a 2 CPU system, then 1 task will get an entire CPU while the other 2 tasks share the other CPU (easily verified by a simple test program). On previous versions of the scheduler 'balancing' this load was achieved by the global nature of time slices. No task was given a new time slice until the time slices of all runnable tasks had expired. In the current scheduler, the decision to replenish time slices is made at a local (pre-CPU) level. I assume the load balancing code should take care of the above workload? OR is this the behavior we desire? We certainly have optimal cache use.
-- Mike - 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/
| |