Ethereum mining on GTX 970 (23 MH/s)

The Ethereum price has skyrocketed last few weeks and with the rise of the Ethereum (ether) comes the increased profitability for GPU mining Rigs. I will explain in this blog post how to mine Ethereum profitable with a Nvidia GTX 970 (ASUS STRIX). This posts will focus mainly on Ethereum mining (ether) using Genoil modified cuda eth-miner.

Mining system

  1. Windows 7 professional
  3. 16 GB DDR3 memmory

Setting up the miner

We will be using Genoils forked Eth-miner. The windows binary can be downloaded on the website or directly here (this might not be the latest version).
  1. Unzip the files to a folder
  2. Create a batch file (with the config below you need to modify) and place it in the folder with the other files (I use start-mining.bat
The batch file has the following code:
setx GPU_MAX_ALLOC_PERCENT 100ethminer.exe -U -S -FS -O
Change the Ether adres to your own Ethereum address (0xED533352387767bAb02310c6134F80AB95d6973e = my mining address) Last stepRun the start-mining.bat file and verify if it looks like this.

Improving the hashspeed from ±15-17 MH/s to 20-23 MH/s

To increase your Ethereum mining speed even further you can put your GPU in the P0 state using NVSMI. Simply use the following code in your batch to automatically set your GPU in P0 state.
@echo off::
BatchGotAdmin:-------------------------------------REM -->
Check for permissions>nul 2>&1 "%SYSTEMROOT%\system32\cacls.exe" "%SYSTEMROOT%\system32\config\system"REM -->
If error flag set, we do not have admin.
if '%errorlevel%' NEQ '0' ( echo Requesting administrative privileges... goto UACPrompt)
else ( goto gotAdmin ):UACPrompt echo Set UAC = CreateObject^("Shell.Application"^) > "%temp%\getadmin.vbs" set params = %*:"="" echo UAC.ShellExecute "cmd.exe", "/c %~s0 %params%", "", "runas", 1 >> "%temp%\getadmin.vbs" "%temp%\getadmin.vbs" del "%temp%\getadmin.vbs" exit /B:gotAdmin pushd "%CD%" CD /D "%~dp0":--------------------------------------setx 
C:\Program Files\NVIDIA Corporation\NVSMI\nvidia-smi" -acp UNRESTRICTED"
C:\Program Files\NVIDIA Corporation\NVSMI\nvidia-smi" -ac 3505,1455ethminer.exe -U -S -FS -O
ps. the first part of the code is required to run the script as an admin on boot (on my system) Thanks to for the detailed guide.