Thanks to tear and the rest of the Area 51 crew for this list.
8/28/2012 - Updated to TPC version 0.43
2/19/2013 - Updated to TPC version 0.44-rc2 (previously)
10/9/2013 - remove i2c-tools/i2c-dev references
Here are some basic things to have installed and to check for with a 2p/4p G34 system. Please continue to join the irc channel for more specific help. You need these basics in place first, though.
Packages
If you plan to use TurionPowerControl prior to a reboot, the following modules need to be activated via modprobe:
Adding the modules to /etc/modules will activate them when your system loads the OS, so you will not need to modprobe them after each reboot.
You should see something like this:
Add msr and cpuid to this list:
Exit and save. The next time you reboot, these modules will load with the OS.
The build-essential package will give you the compilers you will need. You may have downloaded part of this package (gcc) when you installed thekraken. Go ahead and get the rest of it.
TurionPowerControl is a very useful utility for system information on any AMD-based system. Version 0.41 was the most recent as of this post. To install this, we are going to:
1. Download the tarball
2. Un-tar the tarball
3. move to the src directory
4. compile it (make and sudo make install)
5. Make a hard link from TurionPowerControl to tpc
First, make sure you have the ncurses-dev package installed. With Ubuntu, use apt-get install:
Then go through the install steps:
One common use case - show your current CPU temperatures:
Just type 'tpc' to see a list of all of the options.
Configuration
Temps - need to be under 70C, else you will run into thermal throttling
Memory
- populated evenly, 4 sticks/CPU minimum
- if your board has 8 slots/CPU, the slot closest to each CPU should not be populated
- run
Make sure that:
1. There are 8 nodes total
2. Each node has the correct amount of memory (they should normally be the same amount unless you have an odd memory configuration)
Example output - 16 x 1Gb memory modules:
- Check memory timings:
All timings should be identical across all nodes and DCTs (MaxRdLatency values may vary a little, which is fine)
Sample ouput - basic 1333 C9 memory (most memory should default to something close to this by default)
- PowerNow - this should be disabled for all ES and MC systems. It should be enabled for all non-ES LI and AD systems so you can get the turbo multipliers. Run the following:
This should return 'ls: cannot access /sys/devices/system/cpu/cpu[0-9]*/cpufreq: No such file or directory' if you have PowerNow diabled. If this returns something else, you have PowerNow enabled.
BIOS settings to check
- PowerNow set to Disabled (see above for the check)
- NUMA/SRAT set to Enabled
- Node Interleaving set to Disabled
- Bank/channel interleaving set to Auto or Enabled
- Tyan boards - Ungang DCTs set to Always
If you have any problems or questions, please join our irc channel for assistance. Several people that frequent the channel are familiar with all of this, and it will be easier to help you there.
8/28/2012 - Updated to TPC version 0.43
2/19/2013 - Updated to TPC version 0.44-rc2 (previously)
10/9/2013 - remove i2c-tools/i2c-dev references
Here are some basic things to have installed and to check for with a 2p/4p G34 system. Please continue to join the irc channel for more specific help. You need these basics in place first, though.
Packages
If you plan to use TurionPowerControl prior to a reboot, the following modules need to be activated via modprobe:
Code:
sudo modprobe cpuid
sudo modprobe msr
Adding the modules to /etc/modules will activate them when your system loads the OS, so you will not need to modprobe them after each reboot.
Code:
sudo nano /etc/modules
You should see something like this:
Code:
# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.
lp
rtc
Add msr and cpuid to this list:
Code:
# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.
lp
rtc
msr
cpuid
Exit and save. The next time you reboot, these modules will load with the OS.
The build-essential package will give you the compilers you will need. You may have downloaded part of this package (gcc) when you installed thekraken. Go ahead and get the rest of it.
Code:
sudo apt-get install build-essential
TurionPowerControl is a very useful utility for system information on any AMD-based system. Version 0.41 was the most recent as of this post. To install this, we are going to:
1. Download the tarball
2. Un-tar the tarball
3. move to the src directory
4. compile it (make and sudo make install)
5. Make a hard link from TurionPowerControl to tpc
First, make sure you have the ncurses-dev package installed. With Ubuntu, use apt-get install:
Code:
sudo apt-get install ncurses-dev
Code:
cd ~
wget http://turionpowercontrol.googlecode.com/files/tpc-0.44-rc2.tar.gz
tar xvf tpc-0.44-rc2.tar.gz
cd tpc-0.44-rc2/src
make
sudo make install
Code:
sudo tpc -temp
Just type 'tpc' to see a list of all of the options.
Configuration
Temps - need to be under 70C, else you will run into thermal throttling
Code:
sudo tpc -temp
Memory
- populated evenly, 4 sticks/CPU minimum
- if your board has 8 slots/CPU, the slot closest to each CPU should not be populated
- run
Code:
grep MemTotal /sys/devices/system/node/node[0-9]*/*
1. There are 8 nodes total
2. Each node has the correct amount of memory (they should normally be the same amount unless you have an odd memory configuration)
Example output - 16 x 1Gb memory modules:
Code:
sys/devices/system/node/node0/meminfo:Node 0 MemTotal: 2096696 kB
sys/devices/system/node/node1/meminfo:Node 1 MemTotal: 2095744 kB
sys/devices/system/node/node2/meminfo:Node 2 MemTotal: 2097152 kB
sys/devices/system/node/node3/meminfo:Node 3 MemTotal: 2097152 kB
sys/devices/system/node/node4/meminfo:Node 4 MemTotal: 2097152 kB
sys/devices/system/node/node5/meminfo:Node 5 MemTotal: 2097152 kB
sys/devices/system/node/node6/meminfo:Node 6 MemTotal: 2097152 kB
sys/devices/system/node/node7/meminfo:Node 7 MemTotal: 2097152 kB
- Check memory timings:
Code:
sudo tpc -dram
Sample ouput - basic 1333 C9 memory (most memory should default to something close to this by default)
Code:
Turion Power States Optimization and Control - by blackshard - v0.41
DRAM Configuration Status
Node 0 ---
DCT0: memory type: DDR3 frequency: 1332 MHz
Tcl=9 Trcd=9 Trp=9 Tras=24 Access Mode:1T Trtp=5 Trc=33 Twr=9 Trrd=4 Tcwl=7 Tfaw=20
TrwtWB=8 TrwtTO=7 Twtr=5 Twrrd=2 Twrwr=4 Trdrd=3 Tref=2 Trfc0=0 Trfc1=2 Trfc2=0 Trfc3=0 MaxRdLatency=52
DCT1: memory type: DDR3 frequency: 1332 MHz
Tcl=9 Trcd=9 Trp=9 Tras=24 Access Mode:1T Trtp=5 Trc=33 Twr=9 Trrd=4 Tcwl=7 Tfaw=20
TrwtWB=8 TrwtTO=7 Twtr=5 Twrrd=2 Twrwr=4 Trdrd=3 Tref=2 Trfc0=0 Trfc1=2 Trfc2=0 Trfc3=0 MaxRdLatency=52
Node 1 ---
DCT0: memory type: DDR3 frequency: 1332 MHz
Tcl=9 Trcd=9 Trp=9 Tras=24 Access Mode:1T Trtp=5 Trc=33 Twr=9 Trrd=4 Tcwl=7 Tfaw=20
TrwtWB=8 TrwtTO=7 Twtr=5 Twrrd=2 Twrwr=4 Trdrd=3 Tref=2 Trfc0=0 Trfc1=2 Trfc2=0 Trfc3=0 MaxRdLatency=50
DCT1: memory type: DDR3 frequency: 1332 MHz
Tcl=9 Trcd=9 Trp=9 Tras=24 Access Mode:1T Trtp=5 Trc=33 Twr=9 Trrd=4 Tcwl=7 Tfaw=20
TrwtWB=8 TrwtTO=7 Twtr=5 Twrrd=2 Twrwr=4 Trdrd=3 Tref=2 Trfc0=0 Trfc1=2 Trfc2=0 Trfc3=0 MaxRdLatency=51
Node 2 ---
DCT0: memory type: DDR3 frequency: 1332 MHz
Tcl=9 Trcd=9 Trp=9 Tras=24 Access Mode:1T Trtp=5 Trc=33 Twr=9 Trrd=4 Tcwl=7 Tfaw=20
TrwtWB=8 TrwtTO=7 Twtr=5 Twrrd=2 Twrwr=4 Trdrd=3 Tref=2 Trfc0=0 Trfc1=2 Trfc2=0 Trfc3=0 MaxRdLatency=52
DCT1: memory type: DDR3 frequency: 1332 MHz
Tcl=9 Trcd=9 Trp=9 Tras=24 Access Mode:1T Trtp=5 Trc=33 Twr=9 Trrd=4 Tcwl=7 Tfaw=20
TrwtWB=8 TrwtTO=7 Twtr=5 Twrrd=2 Twrwr=4 Trdrd=3 Tref=2 Trfc0=0 Trfc1=2 Trfc2=0 Trfc3=0 MaxRdLatency=51
Node 3 ---
DCT0: memory type: DDR3 frequency: 1332 MHz
Tcl=9 Trcd=9 Trp=9 Tras=24 Access Mode:1T Trtp=5 Trc=33 Twr=9 Trrd=4 Tcwl=7 Tfaw=20
TrwtWB=8 TrwtTO=7 Twtr=5 Twrrd=2 Twrwr=4 Trdrd=3 Tref=2 Trfc0=0 Trfc1=2 Trfc2=0 Trfc3=0 MaxRdLatency=49
DCT1: memory type: DDR3 frequency: 1332 MHz
Tcl=9 Trcd=9 Trp=9 Tras=24 Access Mode:1T Trtp=5 Trc=33 Twr=9 Trrd=4 Tcwl=7 Tfaw=20
TrwtWB=8 TrwtTO=7 Twtr=5 Twrrd=2 Twrwr=4 Trdrd=3 Tref=2 Trfc0=0 Trfc1=2 Trfc2=0 Trfc3=0 MaxRdLatency=50
Node 4 ---
DCT0: memory type: DDR3 frequency: 1332 MHz
Tcl=9 Trcd=9 Trp=9 Tras=24 Access Mode:1T Trtp=5 Trc=33 Twr=9 Trrd=4 Tcwl=7 Tfaw=20
TrwtWB=8 TrwtTO=7 Twtr=5 Twrrd=2 Twrwr=4 Trdrd=3 Tref=2 Trfc0=0 Trfc1=2 Trfc2=0 Trfc3=0 MaxRdLatency=51
DCT1: memory type: DDR3 frequency: 1332 MHz
Tcl=9 Trcd=9 Trp=9 Tras=24 Access Mode:1T Trtp=5 Trc=33 Twr=9 Trrd=4 Tcwl=7 Tfaw=20
TrwtWB=8 TrwtTO=7 Twtr=5 Twrrd=2 Twrwr=4 Trdrd=3 Tref=2 Trfc0=0 Trfc1=2 Trfc2=0 Trfc3=0 MaxRdLatency=51
Node 5 ---
DCT0: memory type: DDR3 frequency: 1332 MHz
Tcl=9 Trcd=9 Trp=9 Tras=24 Access Mode:1T Trtp=5 Trc=33 Twr=9 Trrd=4 Tcwl=7 Tfaw=20
TrwtWB=8 TrwtTO=7 Twtr=5 Twrrd=2 Twrwr=4 Trdrd=3 Tref=2 Trfc0=0 Trfc1=2 Trfc2=0 Trfc3=0 MaxRdLatency=50
DCT1: memory type: DDR3 frequency: 1332 MHz
Tcl=9 Trcd=9 Trp=9 Tras=24 Access Mode:1T Trtp=5 Trc=33 Twr=9 Trrd=4 Tcwl=7 Tfaw=20
TrwtWB=8 TrwtTO=7 Twtr=5 Twrrd=2 Twrwr=4 Trdrd=3 Tref=2 Trfc0=0 Trfc1=2 Trfc2=0 Trfc3=0 MaxRdLatency=49
Node 6 ---
DCT0: memory type: DDR3 frequency: 1332 MHz
Tcl=9 Trcd=9 Trp=9 Tras=24 Access Mode:1T Trtp=5 Trc=33 Twr=9 Trrd=4 Tcwl=7 Tfaw=20
TrwtWB=8 TrwtTO=7 Twtr=5 Twrrd=2 Twrwr=4 Trdrd=3 Tref=2 Trfc0=0 Trfc1=2 Trfc2=0 Trfc3=0 MaxRdLatency=52
DCT1: memory type: DDR3 frequency: 1332 MHz
Tcl=9 Trcd=9 Trp=9 Tras=24 Access Mode:1T Trtp=5 Trc=33 Twr=9 Trrd=4 Tcwl=7 Tfaw=20
TrwtWB=8 TrwtTO=7 Twtr=5 Twrrd=2 Twrwr=4 Trdrd=3 Tref=2 Trfc0=0 Trfc1=2 Trfc2=0 Trfc3=0 MaxRdLatency=52
Node 7 ---
DCT0: memory type: DDR3 frequency: 1332 MHz
Tcl=9 Trcd=9 Trp=9 Tras=24 Access Mode:1T Trtp=5 Trc=33 Twr=9 Trrd=4 Tcwl=7 Tfaw=20
TrwtWB=8 TrwtTO=7 Twtr=5 Twrrd=2 Twrwr=4 Trdrd=3 Tref=2 Trfc0=0 Trfc1=2 Trfc2=0 Trfc3=0 MaxRdLatency=51
DCT1: memory type: DDR3 frequency: 1332 MHz
Tcl=9 Trcd=9 Trp=9 Tras=24 Access Mode:1T Trtp=5 Trc=33 Twr=9 Trrd=4 Tcwl=7 Tfaw=20
TrwtWB=8 TrwtTO=7 Twtr=5 Twrrd=2 Twrwr=4 Trdrd=3 Tref=2 Trfc0=0 Trfc1=2 Trfc2=0 Trfc3=0 MaxRdLatency=49
Done.
- PowerNow - this should be disabled for all ES and MC systems. It should be enabled for all non-ES LI and AD systems so you can get the turbo multipliers. Run the following:
Code:
ls -l /sys/devices/system/cpu/cpu[0-9]*/cpufreq
BIOS settings to check
- PowerNow set to Disabled (see above for the check)
- NUMA/SRAT set to Enabled
- Node Interleaving set to Disabled
- Bank/channel interleaving set to Auto or Enabled
- Tyan boards - Ungang DCTs set to Always
If you have any problems or questions, please join our irc channel for assistance. Several people that frequent the channel are familiar with all of this, and it will be easier to help you there.
Last edited: