ULE nice behavior fixed.

Vallo Kallaste kalts at estpak.ee
Thu Apr 3 04:40:47 PST 2003


On Thu, Apr 03, 2003 at 02:31:01AM -0500, Jeff Roberson
<jroberson at chesapeake.net> wrote:

> > Interactivity is still worse under ULE. It's quite noticeable and I
> > tested it on two SMP boxes by running two simple loops in kind of:
> > for ((;;)); do let $((4+4)); done # this is bash specific
> >
> > The loops ran under nice +20. Typing in the xterm is jerky,
> > characters will not show up immediately, but in small "bursts". I
> > mean that about three characters typed in will show up immediately,
> > then small pause happens and a burst of characters (which queued up
> > in the pause) will show up. This is annoying. Starting up xterm
> > takes more time as well, but I can live with that.
> 
> This is strange, I am not seeing any of this behavior.  What is the
> version of your sched_ule.c?  I made more changes very recently.

/usr/src/sys/kern/sched_ule.c:
     $FreeBSD: src/sys/kern/sched_ule.c,v 1.19 2003/04/02 08:22:33 jeff Exp $

I see it's up to version 1.20 now, will it matter?
ULE seems faster to me than 4BSD when the loops aren't running or
only one loop is running. Anyway, you are definitely making
progress in huge steps, it's much-much better than it was when you
first committed it. Thank you.
-- 

Vallo Kallaste


More information about the freebsd-current mailing list