mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-11 15:27:53 +00:00
Add a small amount of hysteresis before lowering clock speed.
This commit is contained in:
parent
9b7262ec71
commit
847adf689b
2
adl.c
2
adl.c
@ -608,7 +608,7 @@ void gpu_autotune(int gpu)
|
||||
if (temp > ga->overtemp && engine > ga->minspeed) {
|
||||
applog(LOG_WARNING, "Overheat detected, decreasing GPU clock speed");
|
||||
newengine = ga->minspeed;
|
||||
} else if (temp > ga->targettemp && engine > ga->minspeed && fan_optimal) {
|
||||
} else if (temp > ga->targettemp + 5 && engine > ga->minspeed && fan_optimal) {
|
||||
if (opt_debug)
|
||||
applog(LOG_DEBUG, "Temperature over target, decreasing clock speed");
|
||||
newengine = engine - ga->lpOdParameters.sEngineClock.iStep;
|
||||
|
Loading…
Reference in New Issue
Block a user