SuperTramp Posted September 19, 2013 Report Share Posted September 19, 2013 As long as MinCoin is using a scrypt based hashing algorithm this litecoin minning guide will work for MinCoin as well. Litecoin is a cryptocurrency that uses an alternative, memory hard hashing algorithm called scrypt that was devised by mathematics' prodigy Colin Percival. The algorithm utilizes SHA256 and a stream function called salsa20 to force devices that mine it to either use a lot of memory or use dramatically more ALU cycles to perform a hash. With the parameters used in Litecoin's implementation of scrypt (N = 1024; p = 1; r = 1), each thread uses approximately 64-128 KB depending on the settings for lookup_gap and thread_concurrency in the mining program when mining with a GPU. Because GPUs have such fast memory (bandwidth in the hundreds of GB/s) and roughly 128-512 KB of RAM per stream processor, they are ideal for mining Litecoin. This requirement for fast memory in order to mine quickly results in Litecoin being FPGA and ASIC resistant; although ASICs may one day come out for Litecoin, they are not expected to garner the same performance increases as for Bitcoin (two orders of magnitude more efficient).Mining The major factor which impacts hash rate/hardware errors is the thread_concurrency. The second most important factor for some cards is the ratio of core speed to memory speed. Typically optimum values of thread_concurrency are a multiple of 64 and vary per card and per card family (see below). The (core speed/memory speed) quotient should be 0.8 or less for 5xxx/6xxx cards and 0.7 or less for most 7xxx cards. Some evidence suggests that different 7xxx cards may have different ideal core:memory clock ratios, too.GUIMiner-scrypt is out! Comes with all settings in this thread and all miners. No more command line interfaces! Try it here.For all series cards,Install AMD APP SDK: http://developer.amd.com/tools/hc/AMDAPPSDK/downloads/Pages/default.aspxInstall latest AMD drivers: http://support.amd.com/us/gpudownload/Pages/index.aspxorUse current recommend AMD driver (12.8):13.1 32-bit13.1 64-bitAVOID 12.10 DRIVERS, THEY SEEM TO BREAK LITECOIN PERFORMANCE. 13.X SEEM TO BE OKAY.5xxx series cardsUse cgminer.Command line to run: Code: cgminer --scrypt -o http://yourpool.com:port -u username -p password --thread-concurrency ???? -I 18 -g 1 -w 256 You 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 for57xx 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)Typical 5xxx series performance: 0.255 kh/s/shader6xxx series cardsUse cgminer.Command line to run: Code: cgminer --scrypt -o http://yourpool.com:port -u username -p password --thread-concurrency ???? -I 18 -g 1 -w 256 You 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 for67xx 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)Typical 6xxx series performance: 0.313 kh/s/shader7xxx series cardsUse reaper or cgminer versions 2.11.3 and up (see update below). Set thread_concurrency to somewhere slightly below 64 * bus_width_of_card_in_bits. So, for a 7950, that would be 64 * 384 = 24576; ideal values are 21712 or 24000. Find your bus width here: http://en.wikipedia.org/wiki/Southern_Islands_(GPU_family)To find the optimum thread_concurrency for your card, you will need to search above and below this estimate ideal value and see what is fastest.If you'd like to use reaper, follow the steps below.Make reaper.conf the following: Code: kernel reaper.clsave_binaries yesenable_graceful_shutdown nolong_polling yesplatform 0device 0# device 1# device 2# device 3mine litecoin device ? must be added for every card you have to avoid using the CPU as well to mine. Make sure when reaper starts that it states that the CPU platform is disabled. CPU mining does not work correctly and may actually slow down GPU mining with reaper.Example configuration (550kh/s, 7950) of litecoin.conf: Code: port 8344user usernamepass passwordprotocol litecoinworksize 256vectors 1aggression 20threads_per_gpu 1sharethreads 32lookup_gap 2gpu_thread_concurrency 21712 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.Optimal thread concurrencies for 7xxx family:7770: 8000 (200 kh/s, aggression 19)7850: ????7870: 15360 (400 kh/s, aggression 19)7950: 21712 or 24000 (~575 kh/s)7970 (cgminer): 22392 (~700 kh/s can be obtained with a core/memory ratio of 0.57)7970 (reaper): 20992, 21712, or 24000 (~7750: ????7770: 8000 (200 kh/s, aggression 19)7850: ????7870: 15360 (400 kh/s, aggression 19)7950: 21712 or 24000 (~575 kh/s)7970 (cgminer): 22392 (~700 kh/s can be obtained with a core/memory ratio of 0.57) or 8192 (-g 2 -w 256 -I 13)7970 (reaper): 20992, 21712, or 24000 (~650 kh/s can be obtained with reaper and core/memory ratio of 0.57, e.g. 900 MHz core and 1580 MHz memory. Over 725 KH/s can be achieved with memory overvolting.)Typical 7xxx series performance: 0.321 kh/s/shaderIf reaper crashes periodically on a single card, use the following python script to keep it alive (starts reaper, runs for two hours, shuts it down, then restarts it): Code: import os, subprocess, timewhile 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) This seems to fix the problem for my 3x 7950 rig.Update: 3-20-13cgminer versions 2.11.3 and up can be used to mine with high thread concurrencies now. Follow these instructions:WINDOWS: Open console and type Code: setx GPU_MAX_ALLOC_PERCENT 100 Now, close the console (it will not work if you open cgminer in the same window). Open cgminer using a .bat or a new console, high thread concurrencies will now work.LINUX: Open terminal and type Code: export GPU_MAX_ALLOC_PERCENT=100 Now high thread concurrencies should work in cgminer.TABLE OF USER REPORTED HASH RATES AND SETTINGShttps://github.com/litecoin-project/litecoin/wiki/Mining-hardware-comparisonCARD MEMORY SPEED SETTINGSUsually 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. From experimental data for a 7770, a (core speed)/(memory speed) ratio of 0.7 or less is recommended.HETEROGENEOUS MIXTURES OF CARDSCGMINER: 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-MOTHERBOARDThe 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.THREADS PER GPUSome people state that increased hash rates are experienced upon increasing the number of threads per GPU in 5xxx series cards (-g # in cgminer or threads_per_gpu # in reaper). That has not been my experience with 6xxx or 7xxx cards, but you can try it and see if it helps out your hash rate.STRATUM MININGSupported by some pools (ltcmine.ru, notroll.in, coinotron.com) in order to reduce the number of stales. Typical results moving from JSON getwork to stratum is a reduction in stales from 1.5% to 0.5%. If you use reaper, you need to use a fork which is available here and a stratum proxyRun proxy program with this command for reaper: Code: mining_proxy.exe -pa scrypt --host yourpool.com --port #### Then run reaper with the following host: Code: 127.0.0.1:8332 and your normal user/password for the pool.SOLO MININGFor large hash rates. Go here: https://bitcointalk.org/index.php?topic=83371.0The guide works the same for unix as well more or less. KKMcquillenBake, GHLeesBake, PDHillhouseBake and 38 others 41 Link to comment Share on other sites More sharing options...
Me123itisme Posted September 26, 2013 Report Share Posted September 26, 2013 i have a 5850x3 rig, settings work for me, thank you OOBollingBake 1 Link to comment Share on other sites More sharing options...
johnhanks Posted September 27, 2013 Report Share Posted September 27, 2013 This is a wonderful guide. Thanks ST! CC66 1 Link to comment Share on other sites More sharing options...
zhinkk Posted September 29, 2013 Report Share Posted September 29, 2013 Thanks for posting this guide! I mine with a 6870 so it's not very profitable for me, but I can earn some pennies... Link to comment Share on other sites More sharing options...
RavageTheEarth Posted September 30, 2013 Report Share Posted September 30, 2013 Awesome guide. I'm mining right now! Join in people! Mine and hold before the rise! OOBollingBake 1 Link to comment Share on other sites More sharing options...
wezelvis Posted October 3, 2013 Report Share Posted October 3, 2013 Yeah, thanks for putting this guide together. I'm a newby, but I feel inspired to get myself a GPU card and have a go. Without good instructions it would take ages to work it out. Cheers Link to comment Share on other sites More sharing options...
fenerly Posted October 12, 2013 Report Share Posted October 12, 2013 thank you so much Link to comment Share on other sites More sharing options...
MarvelMiner Posted October 13, 2013 Report Share Posted October 13, 2013 I mine using an HD 7670M, getting about 105Kh/s, Small, but that is all I have for now Link to comment Share on other sites More sharing options...
sdf Posted October 15, 2013 Report Share Posted October 15, 2013 Anyone using WF3 Gigabyte 7950s should take a look at this guide: https://forum.litecoin.net/index.php?topic=2641.0 For whatever reason, Gigabyte put a BIOS on their cards of this model that were great for gaming and HDMI, but pretty horrid for temperatures while mining. I remember having a near heart attack when I came home to 90C temperatures on the cards... Flashing the BIOS voids the warranty and can damage the card, so you should think it through carefully. The rewards are cool temps and high performance, as well as a slight reduction in power usage. Link to comment Share on other sites More sharing options...
clamps Posted October 19, 2013 Report Share Posted October 19, 2013 oh this is realy good info thx a lot Link to comment Share on other sites More sharing options...
ssj4mo Posted October 31, 2013 Report Share Posted October 31, 2013 Why 13.1 and not 13.4 or the newer 13.9 and 13.11 CCC drivers? I'm using 13.4 and get ~680Khash/s with my gigabyte 7950 in Windows with 13.4 drivers and 20 intensity, 21712 thread concurrency. I get 600 with my MSI at 17 intensity (it's the GPU for my monitor so I can't put it up to 20 or it overheats, but in BAMT the MSI hits about 650 at 20 intensity). I had 13.9, but went down to 13.4 based on various research, so I'm wondering if I should again switch to 13.1 if it would improve my cards' performance. Link to comment Share on other sites More sharing options...
thomas_sun Posted November 1, 2013 Report Share Posted November 1, 2013 i use msi 7950 3G Link to comment Share on other sites More sharing options...
dualsmp Posted November 8, 2013 Report Share Posted November 8, 2013 If anyone out there has a Radeon 7850 the thread concurrency should start out a 8192 as a baseline. It gives me the best hash rate and I have tried many settings. Link to comment Share on other sites More sharing options...
Don247 Posted November 12, 2013 Report Share Posted November 12, 2013 So far, i ordered a 100GH/S. I am working with a manufacturer who claims they can give me a 400 GH/S for under 300 dollars. Hope that deal goes through. I wonder what type of luck KCM miners are having. Link to comment Share on other sites More sharing options...
Exentric Posted November 30, 2013 Report Share Posted November 30, 2013 Same commands and settings works for the bfgminer as the cgminer Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now