Author Topic: Consolidated Litecoin Mining Guide for 5xxx, 6xxx, and 7xxx GPUs  (Read 22058 times)

Offline maplesyrupghost

Hey, borrowing this from tacotime on bitcointalk!  Excellent guide, point your donations to his address listed below!

I'll try to make it easy, as there's been a million people asking lately how to mine LTC.

DONATE (LTC): LiK1rotC2tNYNRbRfW2xsKLYJvKhQ3PwTN

The major factor which impacts hash rate/hardware errors is the thread_concurrency.  This should be a multiple of 64.  Optimal thread_concurrency varies for card family.

For all series cards,
Install AMD APP SDK: http://developer.amd.com/tools/hc/AMDAPPSDK/downloads/Pages/default.aspx
Install latest AMD drivers: http://support.amd.com/us/gpudownload/Pages/index.aspx

5xxx series cards
Use cgminer.
Command line to run:
Code: [Select]
cgminer --scrypt -o http://yourpool.com -u username -p password --thread-concurrency ???? -I 18 -g 1 -w 64You can use pretty much any thread_concurrency between 1536 and 8192 that is a multiple of 64. Some people recommend using 4 or 5 * the number of SPs.  You can find those in the table here: http://en.wikipedia.org/wiki/Evergreen_(GPU_family) (1st number in core config)

Recommended thread concurrencies for
57xx cards: 2368-4096 (3200 is common)
58xx cards: 4096-8192 (5600, 7168, and 8000 are common)
5970 card: 4096-8192 (5632 or 8000 are common)

6xxx series cards
Use cgminer.
Command line to run:
Code: [Select]
cgminer --scrypt -o http://yourpool.com -u username -p password --thread-concurrency ???? -I 18 -g 1 -w 64You can use pretty much any thread_concurrency between 1536 and 8192 that is a multiple of 64.  Some people recommend using 4 or 5 * the number of SPs.  You can find those in the table here: http://en.wikipedia.org/wiki/Northern_Islands_(GPU_family) (1st number in core config)

Recommended thread concurrencies for
67xx cards: 2368-4096 (3200 is common)
68xx cards: 3008-6144 (4800 is common)
69xx cards: 4096-8192 (5600, 7168, and 8000 are common)
6990 card: 4096-8192 (5632 or 8000 are common)

7xxx series cards
Use reaper.  The reason is that cgminer does not support large thread_concurrency values, which are required for effective mining with 78xx and 79xx cards.
Set thread_concurrency to 64 * bus_width_of_card_in_bits.  So, for a 7950, that would be 64 * 384 = 24576.  Find your bus width here: http://en.wikipedia.org/wiki/Southern_Islands_(GPU_family)

Make reaper.conf the following:
Code: [Select]
kernel reaper.cl
save_binaries yes
enable_graceful_shutdown no
long_polling yes

mine litecoin

Example configuration (550kh/s, 7950) of litecoin.conf:
Code: [Select]
host yourpool.com
port 8344
user username
pass password

protocol litecoin

worksize 64
vectors 1
aggression 20
threads_per_gpu 1
sharethreads 32
lookup_gap 2
gpu_thread_concurrency 24576
Save litecoin.conf and run reaper.exe.
The 7xxx series can be tricky, for instance the 7770 seems to have an optimum thread concurrency of 8000 and works fine with cgminer and an intensity of 16 (I get 191kh/s with those settings).  The 79xx cards should be amenable to the configuration above and are the fastest possible cards you can mine with.

If reaper crashes periodically, use the following python script to keep it alive (starts reaper, runs for two hours, shuts it down, then restarts it):
Code: [Select]
import os, subprocess, time

while True:
      print("Starting reaper...")
      p = subprocess.Popen("C:\\Users\\my-pc\\Desktop\\reaper\\reaper.exe")
      time.sleep(7200)
      print("Terminating reaper...")
      p.terminate()
      time.sleep(10)

TABLE OF USER REPORTED HASH RATES AND SETTINGS
https://github.com/litecoin-project/litecoin/wiki/Mining-hardware-comparison

CARD MEMORY SPEED SETTINGS
Usually it is most effective to have the memory speed of the card equal to or greater than the core clock speed.  For some cards this is more important than others, but this is generally true.

HETEROGENEOUS MIXTURES OF CARDS
CGMINER: Use a comma to separate thread-concurrency values, eg. --thread-concurrency 3200, 8000.  Values correspond to the card number in zeroeth order.
REAPER: Run multiple instances of reaper.  To do this, clone the folder and then add "device x" to reaper.conf, where x is the number for the card in zeroeth order.

RAM REQUIREMENTS ON-MOTHERBOARD
The equivalent amount of system RAM as for the sum of all the vRAM used by the GPUs is required when mining with reaper.  For instance, 3x 5970s mining with thread_concurrency values of 8000 each would require 3x 500MB = 1500MB system ram (plus additional RAM for the OS).  The memory requirements for 7xxx cards are also higher because of larger thread_concurrency values, for instance a thread_concurrency of 24000 means 1.5GB system RAM per card is required.

SOLO MINING
For large hash rates.  Go here: https://bitcointalk.org/index.php?topic=83371.0
It works for unix as well more or less.

POOL MINING
Go here and pick one: https://github.com/litecoin-project/litecoin/wiki/Comparison-of-mining-pools
BitcoinTrading.com founder