Litecoin Beginners: Sample CGminer.conf and Bat Files

Copy-Paste Configuration Settings to Help You Get Started

New Litecoin miners:  here is a compilation of possible cgminer.conf and .bat files to experiment with.  This is an evolving list of submissions from readers who share their experiment results with their AMD R9 290 and 290X GPU's.

You can share your own cgminer.conf and .bat file settings here

Litecoin
Litecoin

(the following bat file should be paired with CGminer conf file sample 1 below)

 .bat file:


DEL *.BIN
CLS
@ECHO ON
ECHO.
setx GPU_MAX_ALLOC_PERCENT=100
setx GPU_USE_SYNC_OBJECTS=1

timeout /t 4

cgminer.exe --scrypt 

=======================

cgminer.conf file:

{

"pools" : [
    {
        "url" : "ltc.give-me-coins.com:3333",        
        "user" : "user.worker",
        "pass" : "password"
    }
,
    {
        "url" : "ltc.give-me-coins.com:3334",
        "user" : "user.worker",
        "pass" : "password"
    }
,
    {
        "url" : "ltc.give-me-coins.com:80",
        "user" : "user.worker",
        "pass" : "password"
    }
,
    {
        "url" : "ltc-eu.give-me-coins.com:3333",
        "user" : "user.worker",
        "pass" : "password"
    }
,
    {
        "url" : "ltc-eu.give-me-coins.com:3334",
        "user" : "user.worker",
        "pass" : "password"
    }
]
,

"scrypt" : true,
"intensity" : "20",
"vectors" : "1",
"worksize" : "512",
"kernel" : "phatk",
"lookup-gap" : "0",
"thread-concurrency" : "24550",
"shaders" : "0",
"gpu-engine" : "0",
"gpu-fan" : "100",
"gpu-memclock" : "0",
"gpu-memdiff" : "0",
"gpu-powertune" : "0",
"gpu-vddc" : "0.000",
"temp-cutoff" : "95",
"temp-overheat" : "90",
"temp-target" : "85",
"api-mcast-port" : "4028",
"api-port" : "4028",
"expiry" : "120",
"failover-only" : true,
"gpu-dyninterval" : "7",
"gpu-platform" : "0",
"gpu-threads" : "1",
"hotplug" : "5",
"log" : "10",
"no-pool-disable" : true,
"per-device-stats" : true,
"queue" : "1",
"scan-time" : "60",
"temp-hysteresis" : "3",
"shares" : "0",
"kernel-path" : "/usr/local/bin"
}
More »

 .bat file:

DEL *.BIN
CLS
@ECHO ON
ECHO.
setx GPU_MAX_ALLOC_PERCENT=100
setx GPU_USE_SYNC_OBJECTS=1

cgminer.exe -- scrypt --lookup-gap 2 -g 1 -I 14 -w 512 --auto-fan --thread-concurrency 24550 --gpu-engine 1035 --gpu-memclock 1300 --gpu-powertune 20 --temp-overheat 92 --temp-cutoff 97 

Things to note about the above .bat file:

  • The bat file deletes all bin files that remain after your last mining session.  This improves performance and helps reduce the risk that previous settings will override your next mining session's settings
  • Note the -g 1 argument, which specifies a single gpu thread, which combines with the high thread concurrency of 32765.
  • Remember: you should launch Stratum proxy manually before launching the bat file or cgminer!

===================================

 

cgminer.conf file:

 

{
"pools" : [
    {
        "url" : "http://usa.wemineltc.com:3336",        
        "user" : "user.worker",
        "pass" : "password"
    }
,
    {
        "url" : "http://united.wemineltc.com:3335",
        "user" : "user.worker",
        "pass" : "password"
    }
]
,

"scrypt" : true,
"vectors" : "1,1",
"worksize" : "512,512",
"thread-concurrency" : "24550,24550",

"kernel" : "phatk,phatk",
"lookup-gap" : "0,0",

"gpu-fan" : "98,98",
"gpu-memdiff" : "0,0",
"gpu-powertune" : "0,0",
"gpu-vddc" : "0.000,0.000",
"temp-cutoff" : "95,95",
"temp-overheat" : "90,90",
"temp-target" : "85,85",
"api-mcast-port" : "4028",
"api-port" : "4028",
"expiry" : "120",
"failover-only" : true,
"gpu-dyninterval" : "7",
"gpu-platform" : "0",
"gpu-threads" : "2",
"hotplug" : "5",
"log" : "10",
"no-pool-disable" : true,
"per-device-stats" : true,
"queue" : "1",
"scan-time" : "60",
"temp-hysteresis" : "3",
"shares" : "0",
"kernel-path" : "/usr/local/bin"
}

Things to note about the above conf file:

  • this conf file is for dual video cards:  the two R9 290 GPU's on the same motherboard have their respective settings separated by a comma.  If there is no second setting on a command line, the system assumes that the one setting applies to both video cards.
More »

cgminer.conf file:

 

{
"pools" : [
    {
        "url" : "http://usa.wemineltc.com:3336",        
        "user" : "user.worker",
        "pass" : "password"
    }
,
    {
        "url" : "http://united.wemineltc.com:3335",
        "user" : "user.worker",
        "pass" : "password"
    }
]
,

"scrypt" : true,
"intensity" : "14,14",
"vectors" : "1,1",
"worksize" : "512,512",
"kernel" : "phatk,phatk",
"lookup-gap" : "0,0",
"thread-concurrency" : "24550,24550",
"shaders" : "0,0",
"gpu-engine" : "1000,1030",
"gpu-fan" : "95,95",
"gpu-memclock" : "1250,1250",
"gpu-memdiff" : "0,0",
"gpu-powertune" : "0,0",
"gpu-vddc" : "0.000,0.000",
"temp-cutoff" : "95,95",
"temp-overheat" : "90,90",
"temp-target" : "85,85",
"api-mcast-port" : "4028",
"api-port" : "4028",
"expiry" : "120",
"failover-only" : true,
"gpu-dyninterval" : "7",
"gpu-platform" : "0",
"gpu-threads" : "2",
"hotplug" : "5",
"log" : "10",
"no-pool-disable" : true,
"per-device-stats" : true,
"queue" : "1",
"scan-time" : "60",
"temp-hysteresis" : "3",
"shares" : "0",
"kernel-path" : "/usr/local/bin"
}

 

Things to note about the above conf file:

  • this conf file is for dual video cards:  the two R9 290 GPU's on the same motherboard have their respective settings separated by a comma.  For example: "gpu-engine" : "1000,1030", means "first video card, second video card".  When there are no comma-separated values, it means the one value applies to both video cards.
  • The "1000,1030" setting for the gpu-engine is purposeful.  This odd setting actually helps address the AMD glitch where the first video card can be substantially slower for dual-card mining rigs.
  • the thread concurrency in the above conf file ("24550,24550",)is much lower than the popular 32765 you will see amongst miners. This is because reducing the concurrency, but increasing 'gpu-threads' to 2 actually increases the work units. Your hash rate might not be over 700 kh/s, but your wu/m submitted should be improved.
  • "failover-only" : true means to use the second litecoin pool only if the first litecoin pool fails.  This is highly recommended, as it helps your machine to respond automatically when one of your pools is down.
More »
Was this page helpful?