Re: Core temperature
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig76A6B1655573CFB4E88D1F16
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Dag-Erling Sm=C3=B8rgrav wrote:
> I've written a quick-and-dirty driver for the built-in digital
> temperature sensor in Intel's Core and Core 2 CPUs (and Xeons built on
> the Core architecture). The driver exports four sysctl nodes under
> hw.coretemp:
>=20
> hw.coretemp.tjmax Maximum core temperature (currently hardcoded
> To 100=C2=B0C, may actually be 85=C2=B0C on som=
e systems)
>=20
> hw.coretemp.delta current temperature in =C2=B0C below Tj(max)
>=20
> hw.coretemp.interrupt Lower 32 bits of the IA32_THERMAL_INTERRUPT MSR=
>=20
> hw.coretemp.status Lower 32 bits of the IA32_THERMAL_STATUS MSR
>=20
> I intend to move these into dev.cpu.N in a later version.
>=20
> Note that the driver currently makes no attempt to handle multi-CPU
> systems; it will simply report the temperature of the CPU that contains=
> whichever core the requesting process happens to be running on.
>=20
> http://people.freebsd.org/~des/software/coretemp-20070810.diff
>=20
Hi Des,
thanks a lot!
Could you please try to explain these results?
> sysctl hw.coretemp.tjmax hw.coretemp.delta hw.acpi.thermal.tz0.temperat=
ure
hw.coretemp.tjmax: 100
hw.coretemp.delta: -38
hw.acpi.thermal.tz0.temperature: 66.8C
Shouldn't hw.coretemp.delta be (hw.coretemp.tjmax -
hw.acpi.thermal.tz0.temperature)?
Thanks!
> DES
--=20
Pietro Cerutti
PGP Public Key:
http://gahr.ch/pgp
--------------enig76A6B1655573CFB4E88D1F16
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (FreeBSD)
iD8DBQFGvEMNwMJqmJVx944RChMVAJ45KHQjZExoUMZ+gYR9VS/5w2GdLgCgoEYV
fBjHXQCU2BFttleAg909Pm0=
=89Ap
-----END PGP SIGNATURE-----
--------------enig76A6B1655573CFB4E88D1F16--
討論串 (同標題文章)
完整討論串 (本文為第 3 之 6 篇):