From owner-freebsd-arch Fri Jan 24 17: 8:14 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 955EE37B401 for ; Fri, 24 Jan 2003 17:08:12 -0800 (PST) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.208.78.105]) by mx1.FreeBSD.org (Postfix) with ESMTP id 26B1943E4A for ; Fri, 24 Jan 2003 17:08:12 -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 h0P18BXv014225; Fri, 24 Jan 2003 17:08:11 -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 h0P18ABq014224; Fri, 24 Jan 2003 17:08:10 -0800 (PST) Date: Fri, 24 Jan 2003 17:08:10 -0800 From: Steve Kargl To: Gary Jennejohn Cc: arch@FreeBSD.ORG Subject: Re: New scheduler Message-ID: <20030125010810.GA14191@troutmask.apl.washington.edu> References: <200301242051.h0OKpcOv029151@peedub.jennejohn.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200301242051.h0OKpcOv029151@peedub.jennejohn.org> 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:51:38PM +0100, Gary Jennejohn wrote: > I assume that this new scheduler is only for SMP? > > I tried it out on my UP machine - BTW on line 312 there's a missing > ``);'' - and the results were, not to pull any blows, catastrophic. > > Running X I started a ``make buildworld'' in an aterm and immediately > observerd: > o the cursor lagged way behind mouse movements > o switching desktops allowed me to observe in detail how various > applications repaint themselves - it was that slow > o mozilla was totally unusable > > With the current scheduler interactive applications are still quite > snappy. I never observe any of the above mentioned problems with it. > I know this is a WIP, but I thought I'd report my observations. > > This on an XP 1800+ with 768MB of memory and (fairly) fast SCSI disks. > I can (unfortunately) confirm Gary's observation. Building LAPACK, "make -j 2 buldworld" and running KDE brought my 1GHz athlon to its knees. Moving the mouse between windows/desktops was painfully slow/lagging. top(1) for a similar load on the current scheduler shows last pid: 4220; load averages: 2.51, 1.06, 0.43 up 0+00:22:02 17:06:20 81 processes: 4 running, 77 sleeping CPU states: 70.4% user, 0.0% nice, 29.6% system, 0.0% interrupt, 0.0% idle Mem: 84M Active, 93M Inact, 38M Wired, 1176K Cache, 48M Buf, 157M Free Swap: 356M Total, 356M Free With your new scheduler the load averages were (approximately) 7.5, 5.5, 5. -- Steve To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message