NAME
memtemp
—
device driver for memory thermal
sensor
SYNOPSIS
To compile this driver into the kernel, place the following lines in your kernel configuration file:
device dimm
device coremctl
device memtemp
Alternatively, to load the driver as a module at boot time, place the following line in loader.conf(5):
memtemp_load="YES"
DESCRIPTION
Thememtemp
driver provides support for the memory
thermal sensor. The values are exposed through the
HW_SENSORS
sysctl(3) tree. For example:
% sysctl hw.sensors hw.sensors.dimm0.temp0: 40.00 degC (node0 chan0 DIMM0 temp), OK hw.sensors.dimm1.temp0: 39.00 degC (node0 chan1 DIMM0 temp), OK
The DIMM location and configurable critical temperature thresholds are exposed through hw.dimminfo sysctl(3) tree. For example:
% sysctl hw.dimminfo hw.dimminfo.dimm0.node: 0 hw.dimminfo.dimm0.chan: 0 hw.dimminfo.dimm0.slot: 0 hw.dimminfo.dimm0.temp_hiwat: 93 hw.dimminfo.dimm0.temp_lowat: 88 hw.dimminfo.dimm1.node: 0 hw.dimminfo.dimm1.chan: 1 hw.dimminfo.dimm1.slot: 0 hw.dimminfo.dimm1.temp_hiwat: 93 hw.dimminfo.dimm1.temp_lowat: 88
If the temperature goes above the configured critical temperature threshold (temp_hiwat), a notify event will be sent using devctl(4).
HARDWARE
The memtemp
driver supports the following
memory thermal sensors:
- Intel E5 v2 memory thermal sensors
- Intel E5 v3 memory thermal sensors
- Intel E3 v3 memory thermal sensors
- Intel Core i3/i5/i7 Haswell thermal sensors
SEE ALSO
systat(1), sysctl(3), devctl(4), devd(8), sensorsd(8), sysctl(8)
HISTORY
The memtemp
driver first appeared in
DragonFly 4.1.
AUTHORS
The memtemp
driver was written by
Sepherosa Ziehau
<sepherosa@gmail.com>.