<p>I am using a slightly overclocked AMD 6850 and get around 270kh/s.</p>

<p>When running cgminer you need to set two environment variables. In windows I use a batch file with the following:</p>

<pre><code>TIMEOUT 10
setx GPU_MAX_ALLOC_PERCENT 100
setx GPU_USE_SYNC_OBJECTS 1
cgminer
</code></pre>

<p>Timeout is just there so it waits 10 seconds to make sure MSI Afterburner has overclocked the cards before starting cgminer. It is available on Windows Vista and above and can be skipped by pressing a key.</p>

<p>You can create the batch file by entering this into notepad, click File > Save As and on the Save as type dropdown select All files. Choose a name for the file and make sure it ends with <code>.bat</code> then save it in your cgminer directory. You can run cgminer by opening this batch file or create a shortcut to it.</p>

<p>I am using a cgminer.conf file instead of command line arguments. If you are currently using command line arguments you can start cgminer, press S for settings then press W to write a config file. Press enter when it asks for the name and a cgminer.conf will be created. By default cgminer will use cgminer.conf if it is found in the same directory. You can have several configuration files and use them by supplying the <code>--config</code> or <code>-c</code> flag in the batch file e.g. <code>cgminer -config dogecoin.conf</code> or <code>cgminer -c "C:\test.conf"</code>.</p>

<p>If you are using two different cards you will need to adjust the settings for each one by separating the values with commas. In the config below the 6850 settings are on the left, and the settings for my 7950 are on the right.</p>

<p>These settings work well for me but may need to be customised for your own use. In particular the high intensity in my config means the computer is unsuitable to work on while mining but will give slightly higher hashing rates.</p>

<pre><code>{
"pools" : [
    {
        "url" : "http://pool-url:3333",
        "user" : "username",
        "pass" : "password"
    },
    {
        "url" : "http://pool-url:3333",
        "user" : "username",
        "pass" : "password"
    }
]
,
"intensity" : "18,20",
"vectors" : "1,1",
"worksize" : "256,256",
"kernel" : "scrypt,scrypt",
"lookup-gap" : "0,0",
"thread-concurrency" : "4800,21712",
"shaders" : "960,1792",

"gpu-engine" : "0-0,0-0",
"gpu-fan" : "100-100,100-100",
"gpu-memclock" : "0,0",
"gpu-memdiff" : "0,0",
"gpu-powertune" : "0,0",
"gpu-vddc" : "0.000,0.000",
"temp-cutoff" : "95,95",
"temp-overheat" : "90,90",
"temp-target" : "80,80",

"api-mcast-port" : "4028",
"api-port" : "4028",
"expiry" : "120",
"failover-only" : true,
"gpu-dyninterval" : "7",
"gpu-platform" : "0",
"gpu-threads" : "1",
"hotplug" : "5",
"log" : "5",
"no-pool-disable" : true,
"queue" : "1",
"scan-time" : "30",
"scrypt" : true,
"temp-hysteresis" : "3",
"shares" : "0",
"kernel-path" : "/usr/local/bin"
}
</code></pre>

<p>I am using cgminer 3.7.2 as that is the latest version with scrypt support.</p>

<p>These links might be helpful for configuring cgminer:<br>
<a href="https://bitcointalk.org/index.php?topic=117221.0" rel="nofollow">https://bitcointalk.org/index.php?topic=117221.0</a><br>
<a href="http://www.brandonorndorff.com/bitcoin/mining/how-to-setup-and-optimize-your-cgminer-config-file/" rel="nofollow">http://www.brandonorndorff.com/bitcoin/mining/how-to-setup-and-optimize-your-cgminer-config-file/</a></p>

CC BY-SA 3.0
2013-12-10T11:31:05.830Z
I awarded the bounty to you because this answer was the most complete one.  You might want to comment on the version of cgminer you are using and how exactly you start cgminer, and where the conf file is located.
zkilnbqi
CC BY-SA 3.0
2013-12-10T08:00:54.027Z
2013-12-11T00:36:11.177Z
2013-12-11T00:36:11.177Z
Michael Lawton
<p>So I set this bounty and then was able to make some progress by following</p>

<p><a href="https://github.com/ckolivas/cgminer/blob/3.7/SCRYPT-README" rel="nofollow">https://github.com/ckolivas/cgminer/blob/3.7/SCRYPT-README</a></p>

<p>On my 7950, without even fine tuning it, the mining speed went from 15 to 515.  Using cgminer-3.7.2, this is the command I used.</p>

<blockquote>
  <p>./cgminer --scrypt --intensity 20  --auto-fan --gpu-powertune -10  -u hnaparst.1 -p password -o stratum+tcp://pool1.us.multipool.us:7777 </p>
</blockquote>

CC BY-SA 3.0
2013-12-03T20:31:14.310Z
2013-12-03T21:40:32.537Z
2013-12-03T21:40:32.537Z
zkilnbqi
<p>Your intensity is very low (<code>I:8</code>) - dynamic intensity does not work well with scrypt. You will need to increase it manually. You can set a value to use when starting the program by adding <code>--intensity 13</code> to your command line options/batch file. Replace the number 13 with the desired intensity. For a HD6850, I suggest you try values from 10 to 15. </p>

<p>If increasing the value by one notch does not significantly raise kh/s, gives you hardware errors (the number after <code>HW:</code>) or starts impacting in a noticeable way on desktop performance, then reduce it again.</p>

<p>You can also change the intensity whilst cgminer is running. Press g, then i, then carefully type the number, then enter.</p>

CC BY-SA 3.0
2013-12-03T22:04:30.763Z
2013-12-03T22:04:30.763Z
Jems
<p>According to <a href="https://litecoin.info/Mining_Hardware_Comparison" rel="nofollow">litecoin.info/Mining_Hardware_Comparison</a>,
6850 is 200+kH/s<br>
But I run speed is 17.28K/14.39Kh/s, what's wrong??</p>

<pre><code> cgminer version 3.5.0 - Started: [2013-11-30 17:08:22]
--------------------------------------------------------------------------------
 (5s):17.25K (avg):14.28Kh/s | A:0  R:0  HW:0  WU:12.4/m
 ST: 2  SS: 0  NB: 6  LW: 45  GF: 0  RF: 0
 Connected to coinotron.com diff 256 with stratum as user xxxxx
 Block: fa394c9dc29d9325...  Diff:99.8M  Started: [17:15:04]  Best share: 107
--------------------------------------------------------------------------------
 [P]ool management [G]PU management [S]ettings [D]isplay options [Q]uit
 GPU 0:  58.0C 1206RPM | 17.28K/14.39Kh/s | A:0 R:0 HW:0 WU:12.4/m I: 8
--------------------------------------------------------------------------------

GPU 0: 16.9 / 12.4 Kh/s | A:0  R:0  HW:0  U:0.00/m  I:8
57.0 C  F: 37% (1148 RPM)  E: 775 MHz  M: 1000 Mhz  V: 1.150V  A: 96%  P: 0%
Last initialised: [2013-11-30 17:08:36]
Intensity: Dynamic (only one thread in use)
Thread 0: 17.2 Kh/s Enabled ALIVE
</code></pre>

CC BY-SA 3.0
2013-12-03T19:54:23.473Z
I have the same problem.
zkilnbqi
<litecoin><miner-configuration><cgminer><gpu-mining>
AMD HD6850 mining speed is very slow
Mithril
# AMD HD6850 mining speed is very slow

(Asked by: username_0 on 2013-11-30)

According to [litecoin.info/Mining\_Hardware\_Comparison](https://litecoin.info/Mining_Hardware_Comparison),
6850 is 200+kH/s  
But I run speed is 17.28K/14.39Kh/s, what's wrong??

```
 cgminer version 3.5.0 - Started: [2013-11-30 17:08:22]
--------------------------------------------------------------------------------
 (5s):17.25K (avg):14.28Kh/s | A:0  R:0  HW:0  WU:12.4/m
 ST: 2  SS: 0  NB: 6  LW: 45  GF: 0  RF: 0
 Connected to coinotron.com diff 256 with stratum as user xxxxx
 Block: fa394c9dc29d9325...  Diff:99.8M  Started: [17:15:04]  Best share: 107
--------------------------------------------------------------------------------
 [P]ool management [G]PU management [S]ettings [D]isplay options [Q]uit
 GPU 0:  58.0C 1206RPM | 17.28K/14.39Kh/s | A:0 R:0 HW:0 WU:12.4/m I: 8
--------------------------------------------------------------------------------

GPU 0: 16.9 / 12.4 Kh/s | A:0  R:0  HW:0  U:0.00/m  I:8
57.0 C  F: 37% (1148 RPM)  E: 775 MHz  M: 1000 Mhz  V: 1.150V  A: 96%  P: 0%
Last initialised: [2013-11-30 17:08:36]
Intensity: Dynamic (only one thread in use)
Thread 0: 17.2 Kh/s Enabled ALIVE

```

**Tags:** litecoin, miner-configuration, cgminer, gpu-mining

> **Comments:**
> **username_1**: I have the same problem.  

---

## 3 answers

### Answer by username_3 on 2013-12-03. Score: 3 | Accepted answer

Your intensity is very low (`I:8`) - dynamic intensity does not work well with scrypt. You will need to increase it manually. You can set a value to use when starting the program by adding `--intensity 13` to your command line options/batch file. Replace the number 13 with the desired intensity. For a HD6850, I suggest you try values from 10 to 15.

If increasing the value by one notch does not significantly raise kh/s, gives you hardware errors (the number after `HW:`) or starts impacting in a noticeable way on desktop performance, then reduce it again.

You can also change the intensity whilst cgminer is running. Press g, then i, then carefully type the number, then enter.


---

### Answer by username_2 on 2013-12-10. Score: 3

I am using a slightly overclocked AMD 6850 and get around 270kh/s.

When running cgminer you need to set two environment variables. In windows I use a batch file with the following:

```
TIMEOUT 10
setx GPU_MAX_ALLOC_PERCENT 100
setx GPU_USE_SYNC_OBJECTS 1
cgminer

```

Timeout is just there so it waits 10 seconds to make sure MSI Afterburner has overclocked the cards before starting cgminer. It is available on Windows Vista and above and can be skipped by pressing a key.

You can create the batch file by entering this into notepad, click File > Save As and on the Save as type dropdown select All files. Choose a name for the file and make sure it ends with `.bat` then save it in your cgminer directory. You can run cgminer by opening this batch file or create a shortcut to it.

I am using a cgminer.conf file instead of command line arguments. If you are currently using command line arguments you can start cgminer, press S for settings then press W to write a config file. Press enter when it asks for the name and a cgminer.conf will be created. By default cgminer will use cgminer.conf if it is found in the same directory. You can have several configuration files and use them by supplying the `--config` or `-c` flag in the batch file e.g. `cgminer -config dogecoin.conf` or `cgminer -c "C:\test.conf"`.

If you are using two different cards you will need to adjust the settings for each one by separating the values with commas. In the config below the 6850 settings are on the left, and the settings for my 7950 are on the right.

These settings work well for me but may need to be customised for your own use. In particular the high intensity in my config means the computer is unsuitable to work on while mining but will give slightly higher hashing rates.

```
{
"pools" : [
    {
        "url" : "http://pool-url:3333",
        "user" : "username",
        "pass" : "password"
    },
    {
        "url" : "http://pool-url:3333",
        "user" : "username",
        "pass" : "password"
    }
]
,
"intensity" : "18,20",
"vectors" : "1,1",
"worksize" : "256,256",
"kernel" : "scrypt,scrypt",
"lookup-gap" : "0,0",
"thread-concurrency" : "4800,21712",
"shaders" : "960,1792",

"gpu-engine" : "0-0,0-0",
"gpu-fan" : "100-100,100-100",
"gpu-memclock" : "0,0",
"gpu-memdiff" : "0,0",
"gpu-powertune" : "0,0",
"gpu-vddc" : "0.000,0.000",
"temp-cutoff" : "95,95",
"temp-overheat" : "90,90",
"temp-target" : "80,80",

"api-mcast-port" : "4028",
"api-port" : "4028",
"expiry" : "120",
"failover-only" : true,
"gpu-dyninterval" : "7",
"gpu-platform" : "0",
"gpu-threads" : "1",
"hotplug" : "5",
"log" : "5",
"no-pool-disable" : true,
"queue" : "1",
"scan-time" : "30",
"scrypt" : true,
"temp-hysteresis" : "3",
"shares" : "0",
"kernel-path" : "/usr/local/bin"
}

```

I am using cgminer 3.7.2 as that is the latest version with scrypt support.

These links might be helpful for configuring cgminer:  
<https://bitcointalk.org/index.php?topic=117221.0>  
<http://www.brandonorndorff.com/bitcoin/mining/how-to-setup-and-optimize-your-cgminer-config-file/>

> **Comments:**
> **username_1**: I awarded the bounty to you because this answer was the most complete one.  You might want to comment on the version of cgminer you are using and how exactly you start cgminer, and where the conf file is located.  

---

### Answer by username_1 on 2013-12-03. Score: 1

So I set this bounty and then was able to make some progress by following

<https://github.com/ckolivas/cgminer/blob/3.7/SCRYPT-README>

On my 7950, without even fine tuning it, the mining speed went from 15 to 515. Using cgminer-3.7.2, this is the command I used.

> ./cgminer --scrypt --intensity 20 --auto-fan --gpu-powertune -10 -u hnaparst.1 -p password -o stratum+tcp://pool1.us.multipool.us:7777


---

