From owner-freebsd-current@FreeBSD.ORG Sun Jul 22 08:39:53 2007 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8876716A418 for ; Sun, 22 Jul 2007 08:39:53 +0000 (UTC) (envelope-from jroberson@chesapeake.net) Received: from webaccess-cl.virtdom.com (webaccess-cl.virtdom.com [216.240.101.25]) by mx1.freebsd.org (Postfix) with ESMTP id 3E00C13C45D for ; Sun, 22 Jul 2007 08:39:53 +0000 (UTC) (envelope-from jroberson@chesapeake.net) Received: from [192.168.1.101] (c-71-231-138-78.hsd1.or.comcast.net [71.231.138.78]) (authenticated bits=0) by webaccess-cl.virtdom.com (8.13.6/8.13.6) with ESMTP id l6M8dof0013399 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES256-SHA bits=256 verify=NO); Sun, 22 Jul 2007 04:39:52 -0400 (EDT) (envelope-from jroberson@chesapeake.net) Date: Sun, 22 Jul 2007 01:42:56 -0700 (PDT) From: Jeff Roberson X-X-Sender: jroberson@10.0.0.1 To: Chris Dionissopoulos In-Reply-To: <1807103749.20070722111025@freemail.gr> Message-ID: <20070722014208.G561@10.0.0.1> References: <20070721174631.S561@10.0.0.1> <1807103749.20070722111025@freemail.gr> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: current@freebsd.org Subject: Re: ULE status, invalid load, buildkernel times. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Sun, 22 Jul 2007 08:39:53 -0000 On Sun, 22 Jul 2007, Chris Dionissopoulos wrote: > Hello Jeff, > > Sunday, July 22, 2007, 3:55:08 AM, you wrote: > >> I have a patch available at: > >> http://people.freebsd.org/~jeff/ulehtt.diff > >> This resolves issues in the code that handles HTT enabled processors and >> also adds some ULE information to bootverbose on SMP systems. Peter Wemm >> has a seperate patch that fixes a bug where some amd64 cpus were still >> being misidentified as HTT. Those of you with invalid loads either have >> Hyper-threading CPUs or misidentified amd cores. You should expect >> slightly poorer performance as long as your cores are misidentified but >> the bad loads should be fixed. > >> I also believe that the buildkernel/world times are now significantly >> improved. If this is not the case for you please send a mail. Any other >> performance data is appreciated. > >> Thanks, >> Jeff > > Load numbers seem correct, but, when enabling powerd(8) for power > management I get kernel panic! In detail: Hi Chris, Can you tell me is there a panic message or is it a trap? Can you run with INVARIANTS and WITNESS without WITNESS_SKIPSPIN? I appreciate the detailed problem matrix. Thanks, Jeff > > -without patch, powerd(8) and system working stable (20+ daemons), > -with patch applied and disabling powerd(8), system working stable (a > couple of hours) > -with patch applied and trying to enable powerd(8) produces kernel panic from > powerd(8) process. > > It seems something ugly using scheduling lives in powerd(8). > > > info: > ===== > Copyright (c) 1992-2007 The FreeBSD Project. > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 > The Regents of the University of California. All rights reserved. > FreeBSD is a registered trademark of The FreeBSD Foundation. > FreeBSD 7.0-CURRENT #5: Sun Jul 22 09:26:23 EEST 2007 > root@mail.debug.gr:/usr/obj/usr/src/sys/DEV7 > ACPI APIC Table: > Timecounter "i8254" frequency 1193182 Hz quality 0 > CPU: Intel(R) Core(TM)2 CPU 6300 @ 1.86GHz (1876.00-MHz 686-class CPU) > Origin = "GenuineIntel" Id = 0x6f6 Stepping = 6 > Features=0xbfebfbff > Features2=0xe3bd > AMD Features=0x20100000 > AMD Features2=0x1 > Logical CPUs per core: 2 > real memory = 2120540160 (2022 MB) > avail memory = 2069549056 (1973 MB) > FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs > cpu0 (BSP): APIC ID: 0 > cpu1 (AP): APIC ID: 1 > > > # sysctl -a | grep topo > kern.sched.topology: 1 > > > > -- > Best regards, > Chris mailto:dionch@freemail.gr >