Re: I like SCHED_4BSD

From: Brian F. Feldman <green_at_freebsd.org>
Date: Thu, 11 Mar 2004 12:48:08 -0500
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.                       \,,,,,,,,,,,,,,,,,,,,,,\
Received on Thu Mar 11 2004 - 08:48:10 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:47 UTC