TMON: A Linux Kernel Thermal Monitor/Tuner

Written by Michael Larabel in Hardware on 14 October 2013 at 09:16 PM EDT. Add A Comment
HARDWARE
The latest open-source work being done for improving Linux thermal monitoring and tuning is the TMON project that hopes to be mainlined within the Linux kernel.

TMON is a kernel tool for monitoring and tuning the kernel's thermal subsystem. In announcing the latest work on the tool, its creator Jacob Pan describes the work as:
Increasingly, Linux is running on thermally constrained devices. The simple thermal relationship between processor and fan has become past for modern computers.

As hardware vendors cope with the thermal constraints on their products, more sensors are added, new cooling capabilities are introduced. The complexity of the thermal relationship can grow exponentially among cooling devices, zones, sensors, and trip points. They can also change dynamically.

To expose such relationship to the userspace, Linux generic thermal layer introduced sysfs entry at /sys/class/thermal with a matrix of symbolic links, trip point bindings, and device instances. To traverse such matrix by hand is not a trivial task. Testing is also difficult in that thermal conditions are often exception cases that hard to reach in normal operations.

TMON is conceived as a tool to help visualize, tune, and test the complex thermal subsystem.

For those wanting more information on TMON, see the Linux kernel mailing list. The tool amounts to just over 2,000 new lines of code.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week