|
|
About ::
TODO ::
Blog ::
RSS ::
Old blog ::
Projects ::
GIT ::
Gallery ::
Notes
Sat, 20 Jan 2007
M-on-N threading scheduler is ready.
It works similar to O(1) scheduler in that regard, that it has two
queues of tasks too.
When task runs out of its timeslice, it is moved into inactive queue,
which becomes active, when active queue is empty.
It seems, that system scales good with increased number of CPUs,
at least when system created several busy-loop threads, they ate both physical CPUs
on my Core Duo system (according to 'top'), although it is possible that distribution is unfair.
Code is not yet ready, I know about at least two nasty bugs there,
and it lacks syscall substitution part, which is a major part, but
there is progress indeed.
/devel/threading :: Link / Comments ()
|