From owner-freebsd-current@FreeBSD.ORG Thu Mar 11 00:48:16 2004 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 2A70416A4CE for ; Thu, 11 Mar 2004 00:48:16 -0800 (PST) Received: from sccrmhc12.comcast.net (sccrmhc12.comcast.net [204.127.202.56]) by mx1.FreeBSD.org (Postfix) with ESMTP id D83E743D41 for ; Thu, 11 Mar 2004 00:48:15 -0800 (PST) (envelope-from julian@elischer.org) Received: from interjet.elischer.org ([24.7.73.28]) by comcast.net (sccrmhc12) with ESMTP id <2004031108481401200qgtcee>; Thu, 11 Mar 2004 08:48:15 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id AAA86190; Thu, 11 Mar 2004 00:48:13 -0800 (PST) Date: Thu, 11 Mar 2004 00:48:12 -0800 (PST) From: Julian Elischer To: Ian FREISLICH In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-current@freebsd.org cc: Kris Kennaway Subject: 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: Thu, 11 Mar 2004 08:48:16 -0000 On Thu, 11 Mar 2004, Ian FREISLICH wrote: > > > o Better interactivity -- No mouse jerkiness, no sluggish screen updates = > > when > > > switching between virtual desktops, etc. > > >=20 > > > 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.=20 > > > 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. > > That point is taken, however, on my old SMP box _ULE adds an extra > ~5000 seconds of wall clock time to a 'make buildworld -j8' compared > to _BSD 'make world -j8'. > > I did some tests about 3 weeks ago using bind-dlz and postgresql-7.4.1 > on this same machine trying libc_r and libkse using both schedulers. > ULE results with either thread library were dismal ~.33 that of > BSD: ULE gave about 17 authoritive lookups a second with BSD giving > about 50. The KSE library only dropped the rate by about 2 lookups > per second on both schedulers which is essentially noise, but I had > expected an improvement. Re: KSE.... We have not yet begun to fight^H^H^H^H^Hoptimise see what happens if you disable the halt on idle sysctl machdep.cpu_idle_hlt=0 The machine will get hotter but it may affect the outcome.. Just curious.