From owner-freebsd-current@FreeBSD.ORG Wed Mar 19 19:38:13 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 721A4106566C; Wed, 19 Mar 2008 19:38:13 +0000 (UTC) (envelope-from SRS0=82bd9a9dc5ee18472562a69703b501f1b629bf1d=645=es.net=oberman@es.net) Received: from postal1.es.net (postal1.es.net [IPv6:2001:400:14:3::6]) by mx1.freebsd.org (Postfix) with ESMTP id 9E0158FC1E; Wed, 19 Mar 2008 19:38:12 +0000 (UTC) (envelope-from SRS0=82bd9a9dc5ee18472562a69703b501f1b629bf1d=645=es.net=oberman@es.net) Received: from ptavv.es.net (ptavv.es.net [198.128.4.29]) by postal1.es.net (Postal Node 1) with ESMTP (SSL) id ZWF67110; Wed, 19 Mar 2008 12:38:10 -0700 Received: from ptavv.es.net (ptavv.es.net [127.0.0.1]) by ptavv.es.net (Tachyon Server) with ESMTP id BE81145019; Wed, 19 Mar 2008 12:38:10 -0700 (PDT) To: John Baldwin In-Reply-To: Your message of "Wed, 19 Mar 2008 09:19:59 EDT." <200803190919.59783.jhb@freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==_Exmh_1205955490_93241P"; micalg=pgp-sha1; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit Date: Wed, 19 Mar 2008 12:38:10 -0700 From: "Kevin Oberman" Message-Id: <20080319193810.BE81145019@ptavv.es.net> X-Sender-IP: 198.128.4.29 X-Sender-Domain: es.net X-Recipent: ; ; ; ; X-Sender: X-To_Name: John Baldwin X-To_Domain: freebsd.org X-To: John Baldwin X-To_Email: jhb@freebsd.org X-To_Alias: jhb Cc: Sam Leffler , Igor Mozolevsky , freebsd-current@freebsd.org Subject: Re: Compiling 6.3->7: lapic frequency madness 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: Wed, 19 Mar 2008 19:38:13 -0000 --==_Exmh_1205955490_93241P Content-Type: text/plain; charset=us-ascii Content-Disposition: inline > From: John Baldwin > Date: Wed, 19 Mar 2008 09:19:59 -0400 > Sender: owner-freebsd-current@freebsd.org > > On Tuesday 18 March 2008 04:24:33 pm Sam Leffler wrote: > > Igor Mozolevsky wrote: > > > On 18/03/2008, John Baldwin wrote: > > >> On Tuesday 18 March 2008 11:49:29 am Igor Mozolevsky wrote: > > >> > On 18/03/2008, John Baldwin wrote: > > >> > > First, which one is broken? Have you tried a RELENG_7_0 kernel and > > >> > > does > > >> > > >> it do > > >> > > >> > > the same as a release CD kernel? > > >> > > > >> > Tried both ISO image and RELENG_7_0, they both work ok, but RELENG_7 > > >> > > >> doesn't... > > >> > > >> > > >> Ok, and it is cpufreq related? Which cpufreq drivers are attaching to > > >> your CPU? > > > > > > Well, I wouldn't say I'm sure it's 100% cpufreq related, but removing > > > it from the kernel fixes the problem... It's also possible that > > > cpufreq is interfering with something else... Anyhow, I've got both > > > est and p4tcc attaching. > > > > I'm having lots of problems with cpu freq throttling on t4x laptops. > > The system gets very sluggish and when I check the frequency it's been > > throttled down. This happens even on ac (haven't checked what powerd is > > doing then). > > My laptop actually wigs out if it throttles the CPU down too slow. What > happens to me is that an ACPI GPE triggers and it takes a long time to > execute at 100Mhz and I actually end up with a sort of GPE storm where the > CPU spends all its time handling the GPE interrupts. :-/ I worked around it > by using the 'debug.cpufreq.lowest' (or whatever it's called, it's something > like that) tunable to prevent the CPU from going slower than about 400 Mhz > and since then CPU throttling has worked fine on my laptop w/o issues. I can run the CPU all the way down to 100 MHz without problems. I disable P4TCC in loader.conf. EST seems to handle low speeds just fine. I really don't see the advantage of manual setting of the TCC when EST is available. My loader.conf contains these items I consider T43 specific: hint.apic.0.disabled=1 hint.psm.0.flags="0x2000" hint.p4tcc.0.disabled="1" hw.ata.atapi.dma="1" hw.pci.do_power_nodriver="2" hw.psm.synaptics_support="1" acpi_ibm_load="YES" snd_ich_load="YES" -- R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634 Key fingerprint:059B 2DDF 031C 9BA3 14A4 EADA 927D EBB3 987B 3751 --==_Exmh_1205955490_93241P Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (FreeBSD) Comment: Exmh version 2.5 06/03/2002 iD8DBQFH4Wuikn3rs5h7N1ERAmRPAJ0VuRz9ofXVv2eC2RWYNK7xAU2tjQCdFi0/ LAJ3+wBC5pEpnspaUmG8NB0= =1oFO -----END PGP SIGNATURE----- --==_Exmh_1205955490_93241P--