DragonFly BSD
DragonFly kernel List (threaded) for 2004-07
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: Scheduler patch 03 available for testing


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Sat, 24 Jul 2004 12:34:16 -0700 (PDT)

:
:This scheduler improvement has made DragonFly more fun to use. Will work 
:continue on the scheduler?

    At some point we need to make the userland scheduler 'loadable', kinda
    like FreeBSD-5 except to do it right we also need the ability to switch
    schedulers on the fly (which is actually not too hard to do) rather
    then only at boot.

    This will require formalizing API hooks between the userland scheduler
    and LWKT, and adding hooks to 'record' processes for transfer to another
    scheduler.

    Additionally, it should (theoretically) be possible to install multiple
    userland schedulers and have a p_* field in the proc structure point to
    which scheduler to use :-).  Since the userland schedulers are independant
    of LWKT, LWKT doesn't really care.  Of course, the multiple userland
    schedulers would compete for the same cpu :-)... but that's a different
    problem.

					-Matt
					Matthew Dillon 
					<dillon@xxxxxxxxxxxxx>



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