Date: Tue, 12 Oct 2010 13:34:02 -0700 From: Garrett Cooper <gcooper@FreeBSD.org> To: Eknath Venkataramani <eknath.iyer@gmail.com> Cc: freebsd-hackers@freebsd.org Subject: Re: Scheduler Question Message-ID: <AANLkTim6ExpkWm-tqb2OJgTcSs7m6Q9xVOuzKZT6hdyz@mail.gmail.com> In-Reply-To: <AANLkTi=emW=TZ9-6PQZJQuqU33ErVvvjYX0DfFxCMO-x@mail.gmail.com> References: <AANLkTi=emW=TZ9-6PQZJQuqU33ErVvvjYX0DfFxCMO-x@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Oct 9, 2010 at 4:46 PM, Eknath Venkataramani <eknath.iyer@gmail.com> wrote: > D&I of the FreeBSD Operating System says it's gonna refer to the BSD default > scheduler, the 'time share scheduler' does this mean sched_4BSD.c(In the > introduction section of Chapter 4) handles only time-share process? > If so, then how (or where) are the kernel processes/real time process > scheduled? The Design and Implementation of the FreeBSD Operating System is unfortunately extremely out of date (my edition which I think is the latest one refers to FreeBSD 5.2). The FreeBSD scheduler was switched over to sched_ule.c as the default scheduler in 7.1. So I'd invest more time in determining how SCHED_ULE works rather than SCHED_4BSD going forward (even though learning about SCHED_4BSD is a good lesson in history of design of FreeBSD). FWIW the algorithm of prioritization, quantization of time slices, etc for SCHED_4BSD are discussed more in depth in the chapter. Cheers, -Garrett
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTim6ExpkWm-tqb2OJgTcSs7m6Q9xVOuzKZT6hdyz>