Compiling 6.3->7: lapic frequency madness
Kevin Oberman
oberman at es.net
Wed Mar 19 12:38:13 PDT 2008
> From: John Baldwin <jhb at freebsd.org>
> Date: Wed, 19 Mar 2008 09:19:59 -0400
> Sender: owner-freebsd-current at freebsd.org
>
> On Tuesday 18 March 2008 04:24:33 pm Sam Leffler wrote:
> > Igor Mozolevsky wrote:
> > > On 18/03/2008, John Baldwin <jhb at freebsd.org> wrote:
> > >> On Tuesday 18 March 2008 11:49:29 am Igor Mozolevsky wrote:
> > >> > On 18/03/2008, John Baldwin <jhb at freebsd.org> 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 at es.net Phone: +1 510 486-8634
Key fingerprint:059B 2DDF 031C 9BA3 14A4 EADA 927D EBB3 987B 3751
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 224 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20080319/ab852684/attachment.pgp
More information about the freebsd-current
mailing list