mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-11 07:17:58 +00:00
Change the fan speed by only 5% if it's over the target temperature but less than the hysteresis value to minimise overshoot down in temperature.
This commit is contained in:
parent
3997f308a0
commit
4628db5bfd
5
adl.c
5
adl.c
@ -864,7 +864,10 @@ void gpu_autotune(int gpu, bool *enable)
|
||||
} else if (temp > ga->targettemp && fanpercent < 85) {
|
||||
if (opt_debug)
|
||||
applog(LOG_DEBUG, "Temperature over target, increasing fanspeed");
|
||||
newpercent = fanpercent + 10;
|
||||
if (temp > ga->targettemp + opt_hysteresis)
|
||||
newpercent = fanpercent + 10;
|
||||
else
|
||||
newpercent = fanpercent + 5;
|
||||
if (newpercent > 85)
|
||||
newpercent = 85;
|
||||
} else if (fanpercent && temp < ga->targettemp - opt_hysteresis) {
|
||||
|
Loading…
Reference in New Issue
Block a user