Bitcoin Forum

Bitcoin => Mining => Topic started by: Shoggo on June 06, 2011, 11:55:02 AM



Title: automatic clockspeed control
Post by: Shoggo on June 06, 2011, 11:55:02 AM
Hi *

Program name: AMDFC-V01.sh
What it does: Automatically adjust the clockspeed in relationship to fan speed.
Usage:
Code:
bash AMDFC-V01.sh <DEVICE> ==> bash AMDFC-V01.sh 0
Multi GPU support: Yes, start one task for each GPU in separeted terminals
License: GNU/GPL
Free?: yes, but I like donations ;) 1XCnjoSMGMXCzX4Wtb6U6Mdiz4JQXCjbV
Download: http://www.gallery.li/AMDFC-V01.sh (http://www.gallery.li/AMDFC-V01.sh)

I created a small shell script to automatically adjust the clockspeed in relationship to fan speed.
You must define a temperature level and a desired fan speed and the programm will automatically adjust the clockspeed of your gpu and manage that your card does not overheat. <== NO WARRANTY....

Example:
Code:
# Define the temperature limits: Default: High 88, MID 80-87, Low <70
# > 88 ==> HIGH <== Everything above is to hot for me
tempHIGH=88
# 80-87 ==> MID <== The desired temperature where my card should work
tempMID=80
# < 80 ==> LOW <== to low - I can put the clock speed up
# tempLOW=autodefined by noisefc.sh

Ok now let us define the fan Levels:
Code:
# Define Fan Levels: Default: High 90, Mid 60, Low 50
fanHIGH=90
fanMID=60
fanLOW=50

Code:
#And our target fan speed. Let us choose MID ==> 60% <== wonderfull quiet ;)
targetfanspeed=${fanMID}


Ok the program checks all 10 seconds the status of my card. If the card is to hot (>HIGH = 88°) more then 3 times in a row, the programm switch to a "cool down mode". E.g. put down the clockspeed to 500 and put up the fan to 90% for 30 seconds. After this cool down the program adjust the clockspeed to clockspeed-30.

If the temperature is between HIGH (88°) and MID (80°) everything is ok.

If the temperature is to low <MID (<79°) for more then 30 times, the program adjust the clock speed with clockspeed+10.

Why should this be usefull? Because it's nice if your GPU has the same temperature equal if the room temperature is 10° or 60° :)

Regards
Michael

P.S. I like donations:) 1XCnjoSMGMXCzX4Wtb6U6Mdiz4JQXCjbV


Title: Re: automatic clockspeed control
Post by: hieu5189 on June 06, 2011, 02:02:35 PM
+1
goood idea:)