Re: ULE nice behavior fixed.

From: Vallo Kallaste <kalts_at_estpak.ee>
Date: Thu, 3 Apr 2003 15:40:38 +0300
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
Received on Thu Apr 03 2003 - 02:40:47 UTC

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