From owner-freebsd-current@FreeBSD.ORG Wed Jul 2 14:51:32 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 8F3C237B401 for ; Wed, 2 Jul 2003 14:51:32 -0700 (PDT) Received: from bsdone.bsdwins.com (www.bsdwins.com [192.58.184.33]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9746843FEC for ; Wed, 2 Jul 2003 14:51:31 -0700 (PDT) (envelope-from jwd@bsdwins.com) Received: from bsdone.bsdwins.com (localhost [127.0.0.1]) by bsdone.bsdwins.com (8.12.9/8.12.9) with ESMTP id h62Lg9f1056467; Wed, 2 Jul 2003 17:42:09 -0400 (EDT) (envelope-from jwd@www.bsdwins.com) Received: (from jwd@localhost) by bsdone.bsdwins.com (8.12.9/8.12.9/Submit) id h62Lg9Ek056466; Wed, 2 Jul 2003 17:42:09 -0400 (EDT) Date: Wed, 2 Jul 2003 17:42:09 -0400 From: John D To: Jeff Roberson Message-ID: <20030702214209.GA56428@BSDWins.Com> References: <16128.16880.618174.525346@grasshopper.cs.duke.edu> <20030701142802.G17881-100000@mail.chesapeake.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030701142802.G17881-100000@mail.chesapeake.net> User-Agent: Mutt/1.4.1i cc: Andrew Gallatin cc: current@freebsd.org Subject: Re: ULE problems on HTT SMP 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: Wed, 02 Jul 2003 21:51:32 -0000 ----- Jeff Roberson's Original Message ----- > On Mon, 30 Jun 2003, Andrew Gallatin wrote: > > Does this mean that if, as a temporary measure, I disable > > machdep.cpu_idle_hlt, ULE should work for me? > > > Yes, but it needs to be disabled before booting so you'll have to adjust > it in the code. See i386/i386/mp_machdep.c Success :-) Making the above change in mp_machdep.c allows a SMP HTT ULE kernel to boot and run. I ran a few 'make buildworld's with the BSD & ULE schedulers: bankshot# tail bw.ule*.log | grep real 4324.49 real 1829.01 user 1460.72 sys 4324.20 real 1831.00 user 1459.55 sys 4324.50 real 1829.10 user 1462.96 sys bankshot# tail bw.bsd*.log | grep real 3317.29 real 1859.33 user 1360.96 sys 3237.46 real 1846.39 user 1367.89 sys 3243.40 real 1848.00 user 1369.43 sys Any tunable ideas to help bring sys and real times back inline? Dmesg for the machine used above is http://rtp.freebsd.org/~jwd/dmesg/dmesg.bankshot Keep up the good work! -John