Difference between revisions of "K10ctl"
m (→minor edit) |
m (Remove from Daemon category. See Talk:Table of Contents#Remove Category:Daemons and system services.) |
||
(5 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | + | [[Category:Power management]] | |
− | + | [[Category:CPU]] | |
− | |||
− | |||
[http://www.ztex.de/misc/k10ctl.e.html k10ctl] allows you to overclock and undervolt an AMD K10 processor (e.g. Phenom, Phenom II) by changing its P-States. | [http://www.ztex.de/misc/k10ctl.e.html k10ctl] allows you to overclock and undervolt an AMD K10 processor (e.g. Phenom, Phenom II) by changing its P-States. | ||
Lowering the voltage saves energy and leads to less heat and noise. | Lowering the voltage saves energy and leads to less heat and noise. | ||
+ | |||
+ | {{Warning|USE THIS PROGRAM AT YOU OWN RISK. IT MAY DAMAGE YOUR HARDWARE.}} | ||
== Installation == | == Installation == | ||
− | k10ctl is available in the AUR: {{ | + | k10ctl is available in the AUR: {{AUR|k10ctl}} |
== Configuration == | == Configuration == | ||
Line 17: | Line 17: | ||
=== k10ctl.conf === | === k10ctl.conf === | ||
− | {{ | + | {{hc|/etc/conf.d/k10ctl|2= |
<nowiki># For information how to calculate the following values see: | <nowiki># For information how to calculate the following values see: | ||
# http://www.ztex.de/misc/k10ctl.e.html#c1 | # http://www.ztex.de/misc/k10ctl.e.html#c1 | ||
Line 85: | Line 85: | ||
else U=1550mV - vid*12.5 mV | else U=1550mV - vid*12.5 mV | ||
− | + | Finally you can modify your P-States in {{ic|/etc/conf.d/k10ctl}}. | |
− | Finally you can modify your P-States in {{ | ||
{{Note|All arrays in the config must have the same size.}} | {{Note|All arrays in the config must have the same size.}} | ||
− | |||
Restart k10ctl and check "k10ctl 0-3" again. | Restart k10ctl and check "k10ctl 0-3" again. | ||
Line 103: | Line 101: | ||
== Tips and tricks == | == Tips and tricks == | ||
− | Use {{ | + | Use {{AUR|mprime}} to test the stability of your computer. |
If it's stable, decrease the values, else increase them. | If it's stable, decrease the values, else increase them. | ||
If your computer freezes and you can't adjust the values, start the Fallback kernel and modify the config. | If your computer freezes and you can't adjust the values, start the Fallback kernel and modify the config. |
Revision as of 07:02, 29 November 2012
k10ctl allows you to overclock and undervolt an AMD K10 processor (e.g. Phenom, Phenom II) by changing its P-States.
Lowering the voltage saves energy and leads to less heat and noise.
Contents
Installation
k10ctl is available in the AUR: k10ctlAUR
Configuration
k10ctl.conf
/etc/conf.d/k10ctl
# For information how to calculate the following values see: # http://www.ztex.de/misc/k10ctl.e.html#c1 # Change to "true" after you configurated the settings for your CPU # WARNING: Be SURE that the following values are correct and safe for # your system before doing this! CONFIGURATED=false # Number of cores for your CPU CORES=4 # List of P-states you want to change. # NOTE: all following arrays must have the same size! PSTATES=( 0 1 2 3 ) # List of Northbridge VIDs NBVID=( 45 45 45 45 ) # List of CPU VIDs CPUVID=( 36 45 55 68 ) # List of CPU FIDs FID=( 12 5 0 0 ) # List of CPU DIDs DID=( 0 0 0 1 )
Pre-Configuration
k10ctl needs the kernel module msr, so run
# modprobe msr
Now you have to find out the default values of the P-States for your CPU.
# k10ctl 0-3
0-3 are the CPU cores so if you have less, decrease the second number.
Adjust your config with the correct numbers from the output.
When you are sure everything is correct, set "CONFIGURATED" to "true" and restart k10ctl:
# /etc/rc.d/k10ctl start
Up to now k10ctl should work with the default values of your CPU.
How to calculate values
Check "VID interface mode" to know how to calculate your settings.
# k10ctl 0-3 -> first line
Parallel VID interface mode:
if vid>=64 then U=375 mV else if vid>=32 then U=1162.5mV - vid=12.5 mV else U=1550mV - vid*25 mV
Serial VID interface mode:
if vid>=124 then U=0 mV else U=1550mV - vid*12.5 mV
Finally you can modify your P-States in /etc/conf.d/k10ctl
.
Restart k10ctl and check "k10ctl 0-3" again.
# /etc/rc.d/k10ctl start
# k10ctl 0-3
rc.conf
Add cpufreq + k10ctl to DAEMONS=() and msr to MODULES=().
Tips and tricks
Use mprimeAUR to test the stability of your computer.
If it's stable, decrease the values, else increase them.
If your computer freezes and you can't adjust the values, start the Fallback kernel and modify the config.