From owner-freebsd-current@FreeBSD.ORG Thu Apr 3 04:40:47 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6C0E637B401 for ; Thu, 3 Apr 2003 04:40:47 -0800 (PST) Received: from MX3.estpak.ee (ld3.estpak.ee [194.126.101.102]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2DE6543F85 for ; Thu, 3 Apr 2003 04:40:46 -0800 (PST) (envelope-from kalts@estpak.ee) Received: from kevad.internal (80-235-38-172-dsl.mus.estpak.ee [80.235.38.172]) by MX3.estpak.ee (Postfix) with ESMTP id 4495288059; Thu, 3 Apr 2003 15:40:40 +0300 (EEST) Received: (from vallo@localhost) by kevad.internal (8.12.9/8.12.9/Submit) id h33CecTA002911; Thu, 3 Apr 2003 15:40:38 +0300 (EEST) (envelope-from vallo) Date: Thu, 3 Apr 2003 15:40:38 +0300 From: Vallo Kallaste To: Jeff Roberson Message-ID: <20030403124038.GA2852@kevad.internal> References: <20030403072409.GA1429@kevad.internal> <20030403022937.J64602-100000@mail.chesapeake.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030403022937.J64602-100000@mail.chesapeake.net> User-Agent: Mutt/1.5.3i-ja.1 cc: current@freebsd.org Subject: Re: ULE nice behavior fixed. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: kalts@estpak.ee List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Apr 2003 12:40:47 -0000 On Thu, Apr 03, 2003 at 02:31:01AM -0500, Jeff Roberson 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