Post
Topic
Board CPU/GPU Bitcoin mining hardware
Re: = ClockTweak = win32 command line clock/voltage tweaking tool
by
hawks5999
on 22/06/2011, 23:17:07 UTC
So I've tweaked this a bit. I saw where one of my rigs kept falling back to default core so i set up an -a all -c to refresh the OC as a scheduled task. but now i've put it into the monitor batch and set to run every 5 minutes with the monitor refreshing every 15 seconds

Code:
@Echo OFF
:oc
clocktweak -a all -c 980 -y
set /a ct=1
:start
if %ct% gtr 20 goto oc
echo %date% %time%
clocktweak -r
@if errorlevel 1 goto error
ping -n 15 127.0.0.1 > nul
cls
set /a ct+=1
@goto start

:error
@echo something went wrong

:end

i'd like to add the -c value as a variable and have that variable set to different speeds based on temperature. so if it hits a threshold, say 80C it would clock down by 30mhz or so. and then when it gets back to a reasonable range, crank it back up. i just hate doing all the for %%i TOKENS crap you gotta do to parse output. I'm sure for someone who's done more batching it would be trivial to write though.