K10ctl

From ArchWiki
Revision as of 23:46, 11 June 2011 by Radioactiveman (Talk | contribs) (Missing information added)

Jump to: navigation, search

Introduction

Warning: USE THIS PROGRAM AT YOU OWN RISK. IT MAY DAMAGE YOUR HARDWARE.

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.

Installation

k10ctl is available in the AUR: Template:Package AUR

Configuration

Note: cpufreq must be configured properly.

k10ctl.conf

Template:File

Pre-Configuration

k10ctl needs the kernel module msr so run

# modprobe msr

Make sure "CONFIGURATED" is set to"false" in your config.

Then start k10ctl as root with

# /etc/rc.d/k10ctl start

Now you have to get the default P-States of 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.

Tip: The important lines are "P-State 0" - "P-State X".

When you are sure everything is correct, set "CONFIGURATED" to "true" and restart k10ctl and cpufreq:

# /etc/rc.d/k10ctl start
# /etc/rc.d/cpufreq restart

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 Template:Filename.

Note: All arrays in the config must have the same size.


Restart k10ctl and cpufreq, check "k10ctl 0-3" again.

# /etc/rc.d/k10ctl start
# /etc/rc.d/cpufreq restart

rc.conf

Add cpufreq + k10ctl to DAEMONS=() and msr to MODULES=().

Tips and tricks

Use Template:Package AUR 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.