From owner-freebsd-current@FreeBSD.ORG Mon Mar 15 09:17:50 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from green.homeunix.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 4827016A4CE for ; Mon, 15 Mar 2004 09:17:50 -0800 (PST) Received: from green.homeunix.org (green@localhost [127.0.0.1]) by green.homeunix.org (8.12.11/8.12.11) with ESMTP id i2FHHmWh009319; Mon, 15 Mar 2004 12:17:48 -0500 (EST) (envelope-from green@green.homeunix.org) Received: from localhost (green@localhost)i2FHHk8R009316; Mon, 15 Mar 2004 12:17:47 -0500 (EST) (envelope-from green@green.homeunix.org) Message-Id: <200403151717.i2FHHk8R009316@green.homeunix.org> X-Mailer: exmh version 2.6.3 04/04/2003 with nmh-1.0.4 To: Peter Schultz In-Reply-To: Message from Peter Schultz of "Fri, 12 Mar 2004 13:12:41 CST." <40520BA9.4080502@bis.midco.net> From: "Brian F. Feldman" Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 15 Mar 2004 12:17:46 -0500 Sender: green@green.homeunix.org cc: freebsd-current@freebsd.org Subject: Re: [PATCH] for SCHED_ULE & libpthread issue (was Re: I like SCHED_4BSD) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Mar 2004 17:17:50 -0000 Peter Schultz wrote: > Taku YAMAMOTO wrote: > > Unfortunately, due to over-optimization in sched_switch(), SCHED_ULE doesn't > > give reasonable CPU time to the threads which are using scheduler activation. > > > > Detailed analisis is described in my previous message posted to current@: > > "SCHED_ULE sometimes puts P_SA processes into ksq_next unnecessarily" > > <20040213063139.71298ea9.taku@cent.saitama-u.ac.jp> > > or > > http://docs.freebsd.org/cgi/mid.cgi?20040213063139.71298ea9.taku > > , which didn't get broader audience :( > > > > Until the problem is fully addressed, I will propose following patch > > to be applied. (the least intrusive one attached in the former message) > > > > This patch improves interactivity under heavy load very much. My system is VERY well-behaved using this change. (It's 2xSMP). -- Brian Fundakowski Feldman \'[ FreeBSD ]''''''''''\ <> green@FreeBSD.org \ The Power to Serve! \ Opinions expressed are my own. \,,,,,,,,,,,,,,,,,,,,,,\