Cgminer.conf: Difference between revisions

From lurkmore wiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 1: Line 1:
{{lowercase}}The most basic configuration needed in [[cgminer]]'s '''cgminer.conf''' is as follows:
{{lowercase}}The most basic configuration needed in [[cgminer]]'s '''cgminer.conf''' is as follows:


The following config is for [[scrypt]] based [[cryptocoin]] mining.
The following config is for '''[[scrypt]]''' based [[cryptocoin]] mining:
<code>
<code>
  {
  {
Line 25: Line 25:
  }
  }
</code>
</code>
Tweaking the ''thread-concurrency'' flag will help you tune the maximum hashrate. Some GPUs, such as HD 7970s, would use an ''intensity'' of 13.
For mining '''SHA-256d''' coins, such as [[Bitcoin]], you could just remove all flags other than intensity; cgminer will usually select the best configuration.


Slightly more advanced options to add to the above config:
Slightly more advanced options to add to the above config:
<code>
<code>
  "api-allow" : "192.168.1.120",
  "api-allow" : "192.168.1.120",
Line 41: Line 44:


'''Of course, all of the above settings would require modification to match your own hardware and needs.'''
'''Of course, all of the above settings would require modification to match your own hardware and needs.'''
== External links ==
* [https://github.com/ckolivas/cgminer cgminer source and readme] - all configuration settings are listed on this page
* [http://ck.kolivas.org/apps/cgminer/ cgminer binary downloads]


[[Category:Cryptocurrency]][[Category:Software]]
[[Category:Cryptocurrency]][[Category:Software]]

Revision as of 22:40, 10 October 2013

The most basic configuration needed in cgminer's cgminer.conf is as follows:

The following config is for scrypt based cryptocoin mining:

{
"pools" : [
	{
		"url" : "stratum+tcp://usa-1.liteguardian.com:3333",
		"user" : "lurkmore.e",
		"pass" : "1"
	},
	{
		"url" : "stratum+tcp://usa-1b.liteguardian.com:3333",
		"user" : "lurkmore.e",
		"pass" : "1"
	}
],

"intensity" : "20",
"scrypt" : true,
"thread-concurrency" : "24000",
"worksize" : "256",

"kernel-path" : "/usr/local/bin"
}

Tweaking the thread-concurrency flag will help you tune the maximum hashrate. Some GPUs, such as HD 7970s, would use an intensity of 13.

For mining SHA-256d coins, such as Bitcoin, you could just remove all flags other than intensity; cgminer will usually select the best configuration.


Slightly more advanced options to add to the above config:

"api-allow" : "192.168.1.120",
"api-listen" : true,
"auto-fan" : true,
"gpu-engine" : "1000",
"gpu-memclock" : "1250",
"gpu-powertune" : "0",
"gpu-vddc" : "1.125",
"temp-target" : "70",
"queue" : "0",

Of course, all of the above settings would require modification to match your own hardware and needs.

External links