From owner-freebsd-arch Fri Jan 24 20:47:50 2003 Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3D7F737B401 for ; Fri, 24 Jan 2003 20:47:49 -0800 (PST) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.208.78.105]) by mx1.FreeBSD.org (Postfix) with ESMTP id BF56943F43 for ; Fri, 24 Jan 2003 20:47:48 -0800 (PST) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (localhost [127.0.0.1]) by troutmask.apl.washington.edu (8.12.6/8.12.6) with ESMTP id h0P4lfXv015074; Fri, 24 Jan 2003 20:47:42 -0800 (PST) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.12.6/8.12.6/Submit) id h0P4lfcJ015073; Fri, 24 Jan 2003 20:47:41 -0800 (PST) Date: Fri, 24 Jan 2003 20:47:41 -0800 From: Steve Kargl To: Jeff Roberson Cc: Gary Jennejohn , arch@FreeBSD.ORG Subject: Re: New scheduler Message-ID: <20030125044741.GA15046@troutmask.apl.washington.edu> References: <20030125010810.GA14191@troutmask.apl.washington.edu> <20030124211133.E2966-100000@mail.chesapeake.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030124211133.E2966-100000@mail.chesapeake.net> User-Agent: Mutt/1.4i Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, Jan 24, 2003 at 09:13:53PM -0500, Jeff Roberson wrote: > > Ah, the interactivity has regressed. Can you try something like this: > > /* > * This macro determines whether or not the kse belongs on the current or > * next run queue. > */ > #define SCHED_CURR(kg) ((kg)->kg_slptime > (hz / 4) || \ > (kg)->kg_pri_class != PRI_TIMESHARE) > > change the (hz / 4) to (hz / 10) > > Let me know how that goes? I'm not going to be able to work on this for a > bit. I just had some minor surgery and the painkillers are making it hard > to think clearly. > It did not help. The load averages reported be top(1) with the above change in palce are 7.86, 9.01, 8.72. I left the machine running for 45 minute and lost about 6 minutes on the system clock. Time is sync'd with ntp. When I came back to the machine there was no keyboard or mouse response. The reset button was the only recourse. -- Steve To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message