Skip to content →

CUDAMiner for Nvidia graphics cards — options and configuration

CUDAMiner software is a miner without a graphical shell (GUI), which, as the name suggests, uses the CUDA technology for cryptocurrency mining. In view of this, it’s easy to guess that this software works exclusively with Nvidia graphics cards.

Before this software appeared, it was believed that it is possible to efficiently produce cryptocurrency with the graphics cards only with GPU from AMD  that support OpenCL technology. Well, it turned out that working with CUDA is no less profitable.

However, at the beginning of this review we want to note that it is much more effective and profitable to use Claymore’s Dual Miner software for mining in 2017, both for Nvidia graphics cards, and for the graphics cards from AMD.

CUDAMiner key features

  • It is designed to mine cryptocurrency with the power of graphics adapters from Nvidia;
  • supports Scrypt, MaxCoin и SHA-256D algorithms;
  • it is a console application (no graphical shell);
  • it is controlled by commands;
  • it is developed based on cpuminer;
  • it displays a detailed log with successful «shares» in real time.

You can download CUDAMiner for GPU NVidia on GitHub (https://github.com/cbuchner1/CudaMiner). To work properly, CUDAMiner will require the latest CUDA drivers, which you can download from the official Nvidia website (https://developer.nvidia.com/cuda-downloads). In addition, it is desirable to install the latest drivers for your graphics card, and they are available on the official Nvidia website (http://www.nvidia.ru/Download/index.aspx?lang=ru).

CUDAMiner for Nvidia graphics card

This solution was developed by the developer KlausT based on the cpuminer program. The miner supports a huge number of algorithms, including:

  • Scrypt,
  • Scrypt-jane,
  • Scrypt-N,
  • SHA-256D,
  • MaxCoin.

Because it has no graphical shell, running the program and choosing an algorithm can be very difficult for the beginners.

You can start CUDAMiner only after creating the bat-file and writing the parameters of connection to the pool in it. A successful connection will be indicated by the appearance of a console window, where the application will notify the user about the successful “shares”, and also about the current speed of digital coins mining.

Talking of speed, the regulars of thematic forums note that when using the latest versions of the program you may achieve those MH/s indicators, which are about 10-15% higher than the same of the third-party solutions (or KH/s, depending on the currency).

Options and commands available in the program

CUDAMiner supports a lot of commands, with which you can change the following options:

  • the algorithm used (-a),
  • server address (-o),
  • account data for authorization on the server (-O),
  • the proxy used (-x),
  • the number of active threads (-t),
  • interval between connections (-R),
  • connection timeout (-T),
  • speed display (-D),
  • launch configuration for separate devices (-l),
  • Use the texture cache (-C) and so on.

You can get the full list of commands by entering “-help” in the line.

CUDAMiner configuration

Run the executable file you need, depending on the bitness and platform (x64 or x86).

Enter the following options in the .bat-file:

cudaminer.exe -o http://127.0.0.1:8332 -u Username.Workername -p password

instead of Username.Workername fields, password and http://127.0.0.1:8332 (enter pool address here) substitute your values.

Upon successful launch, every share found will be displayed in the console window of the miner, where you will be able to see the performance and time.

The speed is calculated in the number of hashes found per second. When Litecoin is considered, then as a rule it is kh/s (kilo hash per second).

The new versions of CUDAMiner have way better performance, so try to update your software to the most current version in time. As a rule, with significant updates the difference can be 5-15%.

Examples of filling the executable file for different pools

An example of running cudaMiner on the Coinotron pool using the STRATUM protocol on one card without the additional card settings, worker user.1, the password is 111. Automatic core configuration is used.

cudaminer.exe -o stratum+tcp://coinotron.com:3334 -O user.1:111

An example of running cudaMiner on the LiteGuardian pool using the STRATUM protocol on one Geforce GTX 660Ti card with additional SHA256 hashing on the processor, and two-layer texture caching, worker user.1, the password is 111. Specialized Kepler core settings are used.

cudaminer.exe -H 1 -l K290x2 -C 2 -o stratum+tcp://eu-1.liteguardian.com:3334 -O user.1:111

An example of running cudaMiner on the WeMineLTC pool using the STRATUM protocol on one Geforce GTX 460 card with additional SHA256 hashing on the processor, and single layer texture caching, worker user.1, the password is 111. Specialized Fermi core settings are used.

cudaminer.exe -H 1 -l F28x4 -C 1 -o stratum+tcp://world.wemineltc.com:3333 -O user.1:111

Description of CUDAMiner basic launch options

-a, –algo=ALGO specifies which algorithm to use (by default: scrypt) scrypt – scrypt Salsa20/8(1024, 1, 1), PBKDF2(SHA2)

sha256d – SHA-256d (without GPU acceleration)

-o, –url=URL

URL – Server address (by default: http://127.0.0.1:9332/)

-O, –userpass=U:P

User:Password – for server

-u, –user=USERNAME

USERNAME – User for server

-p, –pass=PASSWORD

PASSWORD – Password for server

–cert=FILE

FILE – Certificate for server using SSL

-x, –proxy=[PROTOCOL://]HOST[:PORT]

Connection through proxy server

-t, –threads=N

N – Number of threads (by default: number of processors)

-r, –retries=N

N – Number of connection attempts if the server is unavailable (by default: infinite)

-R, –retry-pause=N

N – Interval between the connection attempts (by default: 30 sec.)

-T, –timeout=N

N – Connection timeout (by default: 270 sec.)

-s, –scantime=N

upper bound on time spent scanning current work when long polling is unavailable, in seconds (default: 5)

–no-longpoll

Disables X-Long-Polling support

–no-stratum

Disables X-Stratum support

-q, –quiet

Disables the speed display

-D, –debug

enable debug output

-P, –protocol-dump

verbose dump of protocol-level activities

–no-autotune

Disables automatic configuration settings

-d, –devices

CUDA Devices for mining. Gives a comma separated list of CUDA device IDs. Device IDs start counting from 0.

-l, –launch-config

Launch configuration for every device. They are separated by commas.

-i, –interactive

Interactive mode for devices that work not only for mining. They are separated by commas.

-C, –texture-cache

Indicates which devices should use the texture cache. Values 0-disable, 1-enable. They are separated by commas.

-m, –single-memory

Allocates single blocks in memory for mining. Values 0-disable, 1-enable. They are separated by commas.

-H, –hash-parallel

Where the part of SHA2 calculations for scrypt and scrypt-jane algorithms should be made. (by default: 2)

0 – On the CPU

1 – Multi-threading on the CPU

2 – Makes all calculations on GPU

-L, –lookup-gap

Divides the per-hash memory requirement by this factor by storing only every N’th value in the scratchpad. Default is 1.

–time-limit

maximum time [s] to mine before exiting the program.

–benchmark

run in offline benchmark mode

-c, –config=FILE

Download the configuration file in JSON format.

-V, –version

Display version information on the screen and exit.

-h, –help

Display the help on the screen and exit.

 

Published in News

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *