I like SCHED_4BSD

Kris Kennaway kris at obsecurity.org
Wed Mar 10 20:42:31 PST 2004


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.

Kris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040310/8293d460/attachment.bin


More information about the freebsd-current mailing list