Re: Broken APIC on my laptop or bug in FreeBSD?

From: Alexandre \ <gaijin.k_at_gmail.com>
Date: Sat, 19 Jul 2008 18:57:10 -0400
On Sun, 2008-07-20 at 01:51 +0300, Giorgos Keramidas wrote:
> On Sun, 20 Jul 2008 01:33:30 +0300, Giorgos Keramidas <keramida_at_ceid.upatras.gr> wrote:
> > On Sat, 19 Jul 2008 17:03:08 -0400, "Alexandre \"Sunny\" Kovalenko" <gaijin.k_at_gmail.com> wrote:
> >> Are you by any chance using cx_lowest="C3" (or "LOW") in your
> >> rc.conf? I have seen these symptoms (including mouse inducement of
> >> the typed characters) when cpu0 on my laptop went to C3. Nowadays I
> >> have C3 on cpu1 and C2 on cpu0 and life is good. Then again, I am
> >> running RELENG_7 (which AFAICR was 7-CURRENT at the time), so YMMV.
> >
> > Ah, good point.  I have indeed performance_cx_lowest="LOW" in rc.conf.
> >
> > I'll remove that and try again with the APIC enabled...
> 
> That was it.  Thanks!
> 
>   # sysctl -a | egrep -e 'cx_(usage|support)'
>   dev.cpu.0.cx_supported: C1/1 C2/1 C3/57
>   dev.cpu.0.cx_usage: 100.00% 0.00% 0.00%
>   dev.cpu.1.cx_supported: C1/1 C2/1 C3/57
>   dev.cpu.1.cx_usage: 100.00% 0.00% 0.00%
> 
> With anything except "C1" the CPU is obviously too slow to do anything
> useful :-)
> 
I guess it got worse in CURRENT:

# uname -a
FreeBSD RabbitsDen.RabbitsLawn.verizon.net 7.0-STABLE FreeBSD 7.0-STABLE
#0: Wed Jul  9 16:52:35 EDT 2008
root_at_RabbitsDen.RabbitsLawn.verizon.net:/usr/obj/usr/src/sys/TPX60  i386
RabbitsDen# sysctl -a | egrep -e 'cx_(usage|support)'
dev.cpu.0.cx_supported: C1/1 C2/1 C3/57
dev.cpu.0.cx_usage: 0.00% 100.00% 0.00%
dev.cpu.1.cx_supported: C1/1 C2/1 C3/57
dev.cpu.1.cx_usage: 0.00% 4.43% 95.56%

-- 
Alexandre "Sunny" Kovalenko (Олександр Коваленко)
Received on Sat Jul 19 2008 - 20:57:23 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:33 UTC