From beed43a886451373b3cbfb8bb2a946e74fe16d05 Mon Sep 17 00:00:00 2001
From: PA4WDH
Date: Sat, 27 May 2023 11:44:00 +0200
Subject: Update README.html
---
README.html | 43 +++++++++++++++++++++++++++++++++----------
1 file changed, 33 insertions(+), 10 deletions(-)
(limited to 'README.html')
diff --git a/README.html b/README.html
index 4c07d64..614e0c1 100644
--- a/README.html
+++ b/README.html
@@ -1,6 +1,6 @@
cputemp2maxfreq
- This daemon sets the cpufreq scale_max_freq setting and scales it down when
+ This daemon sets the cpufreq scaling_max_freq setting and scales it down when
the CPU reaches a given temperature.
Why this program?
@@ -28,10 +28,8 @@
There is a lot you can tune and do with this basic function, these are the
options you can pass to cputemp2maxfreq:
+Scaling options:
- - -c or -C will log data to a CSV file which can be used
- for analysis later. See the paragraph below on how to use it with
- LibreOffice. -c will append data, -C will overwrite an existing file
- -f sets the fallback frequency. In case something goes
wrongthe program sets the CPU frequency to it's minimum. In case that
fails too it will try the fallback frequency
@@ -40,6 +38,17 @@
"keep" to prevent this daemon from changing the governor
- -i set the file for CPU temperature readout. Most sensors
should be available in sysfs somewhere
+ - -p set poll interval
+ - -s set the step size to increase/decrease CPU speed.
+ Note that this value will be multiplied by the difference between the CPU
+ temperature and the set temperature to calculate the actual change.
+ - -t set the temperature limit
+
+Logging options:
+
+ - -c or -C will log data to a CSV file which can be used
+ for analysis later. See the paragraph below on how to use it with
+ LibreOffice. -c will append data, -C will overwrite an existing file
- -l set the logging mechanism to use. Possible values:
- none: No logging at all
@@ -47,12 +56,9 @@
- stdout: Log to stdout, especially useful when testing/tuning
- syslog: Log to syslog, it will use facility Daemon and level Critical
- - -m log measurements (CPU temperature and frequency)
- - -p set poll interval
- - -s set the step size to increase/decrease CPU speed.
- Note that this value will be multiplied by the difference between the CPU
- temperature and the set temperature to calculate the actual change.
- - -t set the temperature limit
+ - -m log measurements (CPU temperature and frequency) via logger
+ - -u use unix timestamps in log and CSV outputs instead of YYYY-MM-DD
+ HH:MM:SS
To use the CSV file with libreOffice first stop the daemon to make sure all
@@ -99,6 +105,23 @@
the CPU's Maximum Frequency again. The scaling between 12:37:26 and 12:40:19
was done by this daemon.
+
+ Also note that the temperature given to this program is not a maximum
+ temperature but a target. As can be seen in the graph above the temperature
+ will rise above this temperature before action is taken. Depending on the CPU
+ load and poll interval this could be a significant difference, so keep the
+ target temperature well below your CPU's maximum temperature.
+
+Hardware requirements
+
+ In order to be able to use this program there are some hardware requirements:
+
+
+ - Your CPU should have a temperature sensor that is available in sysfs (most CPU's
+ have this)
+ - Your CPU should be able to be set to any frequency in a range. Especially some older
+ CPU's could only use a limited set of fixed frequencies, this is unusable.
+
How to install this program
Since i'm a Gentoo user i made an ebuild provided in the gentoo directory of
--
cgit v1.2.3