Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Nov 2005 17:04:05 +0000 (GMT)
From:      wpaul@FreeBSD.ORG (Bill Paul)
To:        dsh@vlink.ru (Denis Shaposhnikov)
Cc:        freebsd-current@freebsd.org
Subject:   Re: short time freeze on CURRENT
Message-ID:  <20051113170405.1E17516A420@hub.freebsd.org>
In-Reply-To: <87zmo87ltu.fsf@neva.vlink.ru> from Denis Shaposhnikov at "Nov 13, 2005 03:51:09 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
> Hi!
> 
> I've already posted about it a week ago. About every 10 seconds the
> system freeze for about 0.5 second. I feel it on mplayer, for example,
> and on a keyboard. The system lost my keypresses. I see it on friday's
> CURRENT running on dell d505 notebook. I've tried SCHED_ULE and
> SCHED_4BSD, with and without PREEMTION, and different
> hw.acpi.cpu.cx_lowest. No difference.
> 
> -- 
> DSS5-RIPE DSS-RIPN 2:550/5068@fidonet 2:550/5069@fidonet
> mailto:dsh@vlink.ru http://neva.vlink.ru/~dsh/
> 

For the umpity-umpth time, the problem is the ACPI thermal monitoring
thread. You don't have to turn off all of ACPI, you just need to
put this in /boot/loader.conf:

debug.acpi.disabled="thermal"

Reading the system temperature via ACPI seems to take an amazingly long
time, during which I'm guessing interrupts are disabled. Someone with
more ACPI fu than me needs to investigate this, but I guess nobody
cares enough to do it. (The code is, sadly, very convoluted.)

This is also not just a problem with -current: 6.0-RELEASE does
it too. It's also not confined to laptops: in my case, I get it
on my dual Opteron system (in either i386 or amd64 mode).

-Bill

--
=============================================================================
-Bill Paul            (510) 749-2329 | Senior Engineer, Master of Unix-Fu
                 wpaul@windriver.com | Wind River Systems
=============================================================================
              <adamw> you're just BEGGING to face the moose
=============================================================================



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051113170405.1E17516A420>