mirror of
https://github.com/GOSTSec/sgminer
synced 2025-03-11 13:11:02 +00:00
Revert "Use much more damping when determining average opencl duration to change dynamic intensity."
This reverts commit 04e528d38faacfe6765494216d6a180793447340. Didn't help.
This commit is contained in:
parent
04e528d38f
commit
999dba479a
@ -1363,7 +1363,7 @@ static uint64_t opencl_scanhash(struct thr_info *thr, struct work *work,
|
|||||||
|
|
||||||
timersub(&gpu->tv_gpuend, &gpu->tv_gpustart, &diff);
|
timersub(&gpu->tv_gpuend, &gpu->tv_gpustart, &diff);
|
||||||
gpu_ms = diff.tv_sec * 1000 + diff.tv_usec / 1000;
|
gpu_ms = diff.tv_sec * 1000 + diff.tv_usec / 1000;
|
||||||
gpu->gpu_ms_average = (gpu->gpu_ms_average + gpu_ms * 0.05) / 1.05;
|
gpu->gpu_ms_average = (gpu->gpu_ms_average + gpu_ms * 0.63) / 1.63;
|
||||||
|
|
||||||
/* Try to not let the GPU be out for longer than 6ms, but
|
/* Try to not let the GPU be out for longer than 6ms, but
|
||||||
* increase intensity when the system is idle, unless
|
* increase intensity when the system is idle, unless
|
||||||
|
Loading…
x
Reference in New Issue
Block a user