From owner-freebsd-current@FreeBSD.ORG Fri Jul 9 19:30:05 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 5782816A4CF for ; Fri, 9 Jul 2004 19:30:05 +0000 (GMT) Received: from mail6.speakeasy.net (mail6.speakeasy.net [216.254.0.206]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2C49E43D5F for ; Fri, 9 Jul 2004 19:30:05 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: (qmail 23203 invoked from network); 9 Jul 2004 19:30:04 -0000 Received: from dsl027-160-063.atl1.dsl.speakeasy.net (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) encrypted SMTP for ; 9 Jul 2004 19:30:04 -0000 Received: from 10.50.41.229 (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.12.11/8.12.11) with ESMTP id i69JU0GH089441; Fri, 9 Jul 2004 15:30:00 -0400 (EDT) (envelope-from jhb@FreeBSD.org) From: John Baldwin To: noackjr@alumni.rice.edu Date: Fri, 9 Jul 2004 15:31:14 -0400 User-Agent: KMail/1.6 References: <20040705184940.GA2651@tybalt.greiner.local> <20040709180635.GA11419@troutmask.apl.washington.edu> <40EEE01C.6090400@alumni.rice.edu> In-Reply-To: <40EEE01C.6090400@alumni.rice.edu> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200407091531.14689.jhb@FreeBSD.org> X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on server.baldwin.cx cc: Taku YAMAMOTO cc: freebsd-current@FreeBSD.org cc: Steve Kargl Subject: Re: Native preemption is the culprit [was Re: today's CURRENT lockups] 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: Fri, 09 Jul 2004 19:30:05 -0000 On Friday 09 July 2004 02:12 pm, Jon Noack wrote: > On 07/09/04 13:06, Steve Kargl wrote: > > On Fri, Jul 09, 2004 at 12:53:53PM -0500, Jon Noack wrote: > >> On 07/09/04 12:25, Steve Kargl wrote: > >>> On Fri, Jul 09, 2004 at 12:19:09PM -0500, Jon Noack wrote: > >>>> On 07/09/04 12:15, John Baldwin wrote: > >>>>> My test machine is not a true SMP machine either, just HTT. > >>>>> It has been running a -j 256 worldloop overnight with no > >>>>> problems, so I committed a slightly modified version of the > >>>>> patch yesterday. > >>>> > >>>> Did you test with a UP kernel? After your latest commit I have > >>>> been experiencing regular hard locks on my pre-HTT P4 machine. > >>>> Backing out rev. 1.114 of sched_ule.c fixes it. See my > >>>> previous message (Re: FreeBSD keeps hanging......): > >>>> http://docs.freebsd.org/cgi/mid.cgi?40EECC49.3070501 > >>> > >>> I've tested it on a UP kernel (HTT enabled, ACPI disabled, APIC > >>> enabled, ULE). Appears to work fine. > >> > >> Perhaps it's just extraneous information, but if it's really a UP > >> kernel (as in, no 'options SMP') then whether you have HTT enabled > >> doesn't matter at all -- the kernel won't use it. > > > > Yes, I know. :-) I'm just reporting what dmesg tells me about the > > CPU. > > > > CPU: Mobile Intel(R) Pentium(R) 4 - M CPU 2.00GHz (1994.12-MHz > > 686-class CPU) Origin = "GenuineIntel" Id = 0xf27 Stepping = 7 > > Features=0xbfebf9ff >MOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE> > > Mine also lists HTT, but doesn't actually support it: > CPU: Intel(R) Pentium(R) 4 CPU 2.53GHz (2539.10-MHz 686-class CPU) > Origin = "GenuineIntel" Id = 0xf24 Stepping = 4 > > Features=0x3febfbffA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM> > > I remember a discussion about this a long time ago, but don't remember > the details. Regardless, the flag doesn't actually mean the processor > supports HTT. The flag means you can ask the CPU how many cores it has, but it may reply with "I have 1 core." If there is more than 1 core, then we print out a second line saying how many cores there are on each CPU. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org