CPU-Spannung senken

Um Ruhe zu haben - vor allem für Laptops wichtig, da auch die Laufzeit gesteigert wird.

für Intrepid Ibex

phc patch von http://linux-phc.org/ laden
voraussetzungen aus der readme installieren
kompilieren nach readme
automatisches undervolten aktivieren.
mein script in /etc/undervolt:

# CONFIG_FILE FOR UNDERVOLTAGING
#
rmmod speedstep_centrino 
insmod /lib/modules/$(uname -r)/extra/phc-intel.ko

# Path to the voltage table sysfs interface file
#VTABLE_PATH="/sys/devices/system/cpu/cpu0/cpufreq/phc_vids"
VTABLE_PATH="/sys/devices/system/cpu/cpu0/cpufreq/phc_controls"

# Switch back to DEFAULT_VTABLE if undervoltage is stopped? [yes/no]
SWITCH_BACK="no"

# Default voltages that will be restored at shutdown if SWITCH_BACK=yes
# DEFAULT_VTABLE="15 14 13 11 10 7"

#DEFAULT_VTABLE="15 14 13 11 10 7"
DEFAULT_VTABLE="12:41 10:34 8:26 6:18"

# Custom voltages that will be applied at boot time
# CUSTOM_VTABLE="8 6 4 2 1 0"

CUSTOM_VTABLE="12:14 10:8 8:3 6:0"

# Set the following to "yes" when the all the settings are configured
# This is a safety to disable setting the voltages with the default
# values of this file that are probably wrong for your CPU

IS_CONFIGURED="yes"

echo "12:14 10:8 8:3 6:0" > /sys/devices/system/cpu/cpu0/cpufreq/phc_controls
echo "conservative" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor

im Nachgang werden die Spannungswerte gesetzt und der CPU-Governor (von default ondemand) auf conservative gesetzt.

zum autostarten in /etc/rc.local
/etc/undervolt vor exit 0 eintragen.

 

für GUTSY

 -phc kernel patch erstellen bzw kopieren:

rmmod acpi-cpufreq

insmod acpi-cpufreq.ko

 (arch/i386/kernel/cpu/cpufreq/)

wenn das geht: cat /sys/devices/system/cpu/cpu0/cpufreq/phc_controls

 cp acpi-cpufreq.ko /lib/modules/$(uname -r)/kernel/arch/i386/kernel/cpu/cpufreq

defaultwerte:

 cat /sys/devices/system/cpu/cpu0/cpufreq/phc_controls

 12:41 10:34 8:26 6:18

 umrechnen:

 (Pentium M (centrino)) : VID = (Vcc - 700) / 16

 So if you take VCC=1068 mV you get VID=23

 23 = (1068 - 700) / 16

 meine Werte:

 "12:14 10:8 8:3 6:0"

 eintragen:

 sudo su

 echo "12:14 10:8 8:3 6:0" > /sys/devices/system/cpu/cpu0/cpufreq/phc_controls

 undervolt-script:

 linux-phc-0.3.0-pre1/debian/etc

 nach /etc

 scriptpfade anpassen!!

 angepasstes script:

# CONFIG_FILE FOR UNDERVOLTAGING
#

# Path to the voltage table sysfs interface file
#VTABLE_PATH="/sys/devices/system/cpu/cpu0/cpufreq/phc_vids"
VTABLE_PATH="/sys/devices/system/cpu/cpu0/cpufreq/phc_controls"

# Switch back to DEFAULT_VTABLE if undervoltage is stopped? [yes/no]
SWITCH_BACK="no"

# Default voltages that will be restored at shutdown if SWITCH_BACK=yes
# DEFAULT_VTABLE="15 14 13 11 10 7"

#DEFAULT_VTABLE="15 14 13 11 10 7"
DEFAULT_VTABLE="12:41 10:34 8:26 6:18"

# Custom voltages that will be applied at boot time
# CUSTOM_VTABLE="8 6 4 2 1 0"

CUSTOM_VTABLE="12:14 10:8 8:3 6:0"

# Set the following to "yes" when the all the settings are configured
# This is a safety to disable setting the voltages with the default
# values of this file that are probably wrong for your CPU

IS_CONFIGURED="yes"

Hardware Info

M730  	90nm  	2MB L2  	1.60GHz  	533MHz Enhances Intel Speedstep. NXbit
Spannungswerte: 1,6GHz 533MHz M730
Stufe	Eintrag	Multi	Wert
0	0	6	,7	<-
1	3	8	,748	<-
2	6	9	,796
3	8	10	,828	<-
4	11	11	,876	
5	14	12	,924	<-
Originale:
Linux	Win	
0,988	0,988
1,116	1,084
1,164	1,116
1,228	1,164
1,292	1,212
1,356	1,260

 

temperatur:

watch -n 1 cat /proc/acpi/thermal_zone/ATF0/temperature

 

nur bis FEISTY:

Kernel-Modul erstellen und beim Systemstart laden lassen.

muss nach jedem kernelupdate wiederholt eingespielt werden. erkennbar an 798mhz statt 800 und ständigem lüfter laufen.

 spannungen abfragen:

cat /sys/devices/system/cpu/cpu0/cpufreq/op_points_table

 meine werte

echo "1600000:924,1333000:828,1067000:748,800000:700" > /sys/devices/system/cpu/cpu0/cpufreq/op_points_table

 das modul installieren

 Das zuvor generierte Modul kann man nun mit Root-Rechten in den richtigen Ordner kopieren. Zuvor sollte aber (für den Fall der Fälle) eine Sicherheitskopie der alten Datei angelegt werden.

sudo cp speedstep-centrino.ko /lib/modules/$(uname -r)/kernel/arch/i386/kernel/cpu/cpufreq

 dann neustart

 https://www.dedigentoo.org/trac/linux-phc/wiki/phc_howto_ubuntu_001
http://gentoo-wiki.com/HOWTO_Undervolt_a_Pentium_M_CPU#Install_linux-phc_init_script_.28since_Kernel-2.6.20.29

http://www.intel.com/design/mobile/datashts/305262.htm

http://wiki.ubuntuusers.de/Prozessorspannung_absenken
http://wiki.ubuntuusers.de/Prozessortaktung
http://wiki.ubuntuusers.de/Strom_sparen
http://ubuntuforums.org/showthread.php?t=364321