I like SCHED_4BSD
Brian F. Feldman
green at freebsd.org
Thu Mar 11 09:48:10 PST 2004
Kris Kennaway <kris at obsecurity.org> wrote:
> On Wed, Mar 10, 2004 at 09:36:45PM -0600, Conrad Sabatier wrote:
> > I just decided to revert to SCHED_4BSD for the time being. Why?
> >
> > o Better interactivity -- No mouse jerkiness, no sluggish screen updates when
> > switching between virtual desktops, etc.
> >
> > o Better scheduling! I'm serious here. Watching top under SCHED_ULE, I'm
> > seeing 10, 15, 20 seconds go by where ALL processes are sleeping.
> > Processes seem to be spending inordinate amounts of time in the "kserel"
> > state. This, of course, doesn't happen with SCHED_4BSD.
>
> That this observation may well be bogus, because you're trying to
> measure the scheduler using a tool that is itself run by the
> scheduler, so the process stats you see may not be representative of
> what is really happening on your system.
I don't think it's bogus. SCHED_ULE on my system effectively locks up the
init/rc process and causes total deadlock if I hit ^T. It happens for
Alfred, too. SCHED_4BSD works, though.
--
Brian Fundakowski Feldman \'[ FreeBSD ]''''''''''\
<> green at FreeBSD.org \ The Power to Serve! \
Opinions expressed are my own. \,,,,,,,,,,,,,,,,,,,,,,\
More information about the freebsd-current
mailing list