Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Mar 2004 12:48:08 -0500
From:      "Brian F. Feldman" <green@freebsd.org>
To:        Kris Kennaway <kris@obsecurity.org>
Cc:        freebsd-current@freebsd.org
Subject:   Re: I like SCHED_4BSD 
Message-ID:  <200403111748.i2BHm9qc089773@green.homeunix.org>
In-Reply-To: Message from Kris Kennaway <kris@obsecurity.org>  <20040311044229.GA11614@xor.obsecurity.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
Kris Kennaway <kris@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@FreeBSD.org                               \  The Power to Serve! \
 Opinions expressed are my own.                       \,,,,,,,,,,,,,,,,,,,,,,\




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200403111748.i2BHm9qc089773>