Date: Wed, 09 Sep 2009 08:27:08 -0500 From: Robert Noland <rnoland@FreeBSD.org> To: Alexander Motin <mav@FreeBSD.org> Cc: FreeBSD Stable <freebsd-stable@freebsd.org> Subject: Re: Detecting CPU throttling on over temperature Message-ID: <1252502828.85394.3503.camel@balrog.2hip.net> In-Reply-To: <4AA7AA9B.9010709@FreeBSD.org> References: <1252426982.00160755.1252414203@10.7.7.3> <200909091018.10509.doconnor@gsoft.com.au> <4AA72D4D.9080505@FreeBSD.org> <200909091747.19696.doconnor@gsoft.com.au> <1252501703.85394.3473.camel@balrog.2hip.net> <4AA7AA9B.9010709@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 2009-09-09 at 16:16 +0300, Alexander Motin wrote: > Robert Noland wrote: > > On Wed, 2009-09-09 at 17:47 +0930, Daniel O'Connor wrote: > >> On Wed, 9 Sep 2009, Alexander Motin wrote: > >>> Daniel O'Connor wrote: > >>>> On Wed, 9 Sep 2009, Alexander Motin wrote: > >>>>> Daniel O'Connor wrote: > >>>>>> I recently discovered a system where the floppy drive cable was > >>>>>> intermittently fouling the CPU fan - I believe this caused the > >>>>>> CPU to overheat and then get throttled by the BIOS. > >>>>>> > >>>>>> Does anyone know if it is possible to determine if this is the > >>>>>> case? ie is there a way to be informed if throttling has > >>>>>> occurred? > >>>>> Theoretically it is possible. I know off-topic tool reporting > >>>>> this. Also you can just monitor CPU temperature, depending on CPU > >>>>> type. > >>>> Monitoring CPU temperature is a bit difficult, there are a lack of > >>>> tools (although I have some code it's not complete). > >>> There indeed problems with MB monitoring, as it is non-standard. But > >>> modern CPUs also include on-chip thermal sensors. For Core2Duo family > >>> coretemp module works fine and precisely. > >> Ahh coretemp, I had forgotten about that. > >> > >> I did a test on the bench (on a 7.2 system) here and realised that I > >> can't actually detect throttling. coretemp reported 72 & 78C but the > >> frequency was still 2933MHz. > >> > >> I am pretty sure it would be throttling but I think that works by > >> maintaining the frequency but stalling the CPU some percentage of the > >> time. I have p4tcc loaded (in GENERIC) but it doesn't show up, I only > >> get.. > > > > Is this a core2duo? IIRC, they generally don't go into TCC until around > > 100C. I did pull the c2d cpu docs at one point trying to look at > > cpufreq. If you are bored, you can grab the docs from intel and double > > check. > > AFAIR C2D supports three protection technologies. When CPU is hot, it > starts reducing frequency (multiplier) and voltage, alike to IEST. If it > is insufficient, it starts to skip core cycles, alike to TCC. If it is > still insufficient and temperature rises above about 100C, emergency > shutdown happens. Your recollection is probably more accurate than mine. My brain is full, so every new doc that I read pushes something else out. robert. -- Robert Noland <rnoland@FreeBSD.org> FreeBSD
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1252502828.85394.3503.camel>