exactly I wrote a new scheduler for of Linux about 4 years ago based on
a heap strcuture for processes. It ended up being significantly slowwer
then a simple list method. Though it was faster then the ancient way
when all processes had only one queue, not a processes and a run queue
like today. You used to have to go throught he 20 or 30 or 100
processes sitting around, but that is history.
As a note the current list based method works great on current UP and
N-way SMP with small N. Because the CPU bound loads we work with on
these machines is so low. But I imagine with large N-way SMP machines
this would change. If you got a 64 processor SMP machine, you most
likely would have at least 64 cpu bound tasks. That makes a list not so
good. But, when those types of machines start to become popular we can
worry about that. :) Right now the current method is very good.
Matt
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/