To get around that, the currently tested TC is spit out to a file which gets read when the first batch file starts. If all goes well, you will have a lot more lines than the above, but it's possible your system will crash during the testing. So to use this, you first need to delete (or at least rename) your nf file in your CGMiner folder, then extract the Zip file to the directory and just run thread-concurrency-test-r9version.bat and walk away (though you might want to tweak the clocks or other settings first). Because we can't let CGMiner exit gracefully without a BSOD, the first file waits 300 seconds after starting the second file and then kills the CGMiner.exe process, at which point it uses the output from the mining results and grabs the last average hash rate, which ends up in a text file called AvgHashrateTC.txt. It the calls the second file (passing the variables along), which actually starts CGMiner running. The first files starts with some variables you can modify for clock speeds, starting thread concurrency, voltage, fan speed, and powertune. Set /a threadconcurrency=threadconcurrency+64Ĭgminer -scrypt -o stratum+tcp://:3334 -u trogdorjw73.tester -p tester -w 256 -v 1 -I 20 -g 1 -T -gpu-engine %gpuclock% -gpu-memclock %memclock% -gpu-fan %gpufan% -gpu-vddc %gpuvolt% -temp-target 80 -temp-overheat 95 -temp-cutoff 99 -thread-concurrency %threadconcurrency% > %threadconcurrency%.txt Grep -i "(avg)" %threadconcurrency%.txt | tail -1 > AvgHashrateTC.txt Start "MinerThread" miner-tc-r9version.bat %threadconcurrency% %gpuclock% %memclock% %gpufan% %gpuvolt% %gpupowertune% Here's what they contain if you don't want to offįor /F %%x in (currenttc.txt) do set threadconcurrency=%%x The two batch files are similar to before, but with some tweaks. I use the above three files in the batch files to help with creating a useful summary of the mining results for each thread concurrency. Tail.exe is the last executable and it's also a port from Unix it allows you to output the last few lines from a file (or a command) so "tail -1" gives the last line from a file or command. Grep.exe is a common Unix program that allows you to search through files for matching strings you can use "find" on Windows, but the output of CGMiner messes find up because it includes special characters. Sleep.exe is a program that can be used in batch files to pause for a set amount of time (e.g. There are five files inside, including three EXE files, but nothing dangerous here's the quick summary of the EXE files. So how do we deal with R9 290/290X? We tweak things a bit and end up with some new batch files, which you can download via my Dropbox.Įxtract the contents of that Zip file to your CGMiner folder (Windows only right now). They work great on HD 7970/R9 280X and earlier systems, though, and last night I managed to increase my HD 7950 test system by 20KHash/sec per GPU. The difficulty with doing this stems from the fact that normally exiting CGMiner on Windows with the new GPUs will cause a BSOD on most (all?) systems, so you can't use my other batch files. Continuing from my previous post, I've now created a batch file to help find the optimal Thread Concurrency setting for R9 290/290X systems.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |