LWKT scheduler

DragonFlyBSD: Scheduler Revision Plans

Submitted by njc
on December 8, 2004 - 7:28am
DragonFlyBSD

In response to a question raised on the dragonfly-kernel mailing-list, Matt Dillon [interview] gives an overview of plans to revise the DragonFly userland scheduler, the second of two schedulers that Dragonfly currently utilizes in a layered fashion. Matt explains:"There are actually two schedulers.. there's the LWKT scheduler, which is as close to perfect as its possible to be, and there is the userland scheduler, which is the one that needs work.".

Matt goes on to describe the benefits of the intended re-design:" The biggest advantage of this methodology is that we can in fact implement multiple userland schedulers and switch between them on the fly because the userland schedule is only a relatively simple layer operating on top of LWKT. So it is theoretically easy to switch the userland portion of the scheduler on a live system."

In addition to on-fly switching of schedulers, there are also plans to allow multiple schedulers to run in parallel. Full thread with relevant links follows.