<p>The official bitcoin client from bitcoin.org has a CPU mining option. Add a file named <code>bitcoin.conf</code> to the bitcoin data directory, with the contents <code>gen=1</code> </p>

<p><a href="https://en.bitcoin.it/wiki/Running_Bitcoin#Bitcoin.conf_Configuration_File" rel="noreferrer">https://en.bitcoin.it/wiki/Running_Bitcoin#Bitcoin.conf_Configuration_File</a></p>

CC BY-SA 3.0
2013-04-12T17:41:50.493Z
I know about that app but can I pool-mine with the official client?
Elmo
CC BY-SA 3.0
2013-04-12T17:50:58.420Z
@ClickUpvote Nope.
Nick ODell
CC BY-SA 4.0
2021-03-18T18:49:46.773Z
Unfortunately the latest versions of the `bitcoin-core` software no longer include the mining code. The `gen=1` is ignored.
bigjosh
CC BY-SA 3.0
2013-04-12T16:41:46.020Z
2013-04-12T16:41:46.020Z
Nick ODell
<p>I know this is an old question but recently I got a similar server.</p>

<p>I've tested <a href="https://en.bitcoin.it/wiki/RPC_Miner" rel="nofollow">rpcminer</a>, <a href="http://guiminer.org/" rel="nofollow">GUI Miner</a> (Which is actually <a href="http://ufasoft.com/coin/" rel="nofollow">UFASoft</a> miner).</p>

<p>Personally the best I've found is <a href="https://github.com/pooler/cpuminer" rel="nofollow">CPUMiner</a>. With a hash rate of about 75MH/s, it takes a bit of setting up as CPUMiner is normally used for <a href="http://litecoin.org/" rel="nofollow">Litecoin</a> mining. CPUMiner gave me about 10%-20% more than the closest rival, which was rpcminer.</p>

<p>I've placed the following text in a .bat file that starts CPUMiner with the correct arguments.</p>

<pre><code>minerd.exe -o http://[pool url]:[pool port] -u [username] -p [password] -a sha256d -R 2
</code></pre>

<p>The last 2 options are</p>

<p><code>-a sha256d</code> - This tells CPUMiner to use the sha256 algorithm, used for Bitcoin mining.</p>

<p><code>-R 2</code> - Indicates the number of seconds to wait for when the pool cannot be found. I know this seems a little soon, but change yours to whatever you want.</p>

CC BY-SA 3.0
2014-03-11T10:46:14.213Z
What is cgu miner?
Vincent P
CC BY-SA 3.0
2016-08-15T02:50:56.003Z
which pool do you recommend?
Diomedes Dominguez
CC BY-SA 3.0
2016-08-15T10:27:41.817Z
@DiomedesDominguez I moved onto GPU mining a long time ago. My suggestion would be to find a pool thats reliable and long running (more than 6 months, minimum).
Vincent P
CC BY-SA 3.0
2016-08-17T05:05:50.650Z
Ok, so now which GPU mining tool do you use?
Diomedes Dominguez
CC BY-SA 3.0
2016-08-18T12:05:41.897Z
@DiomedesDominguez Personally I use [Nicehash Miner](https://www.nicehash.com/?p=software). Its a wrapper for GPU/CPU/ASIC miners. Although this only mines at Nicehash, but it does so with a profitability switcher (EG: Miner will mine scrypt until another algorithm becomes more profitable, then switch to that). Apologies if this sounds like an ad, but have been through many pools and software and Nicehash is very well thought out and simple to get going.
Vincent P
CC BY-SA 3.0
2017-09-01T02:21:06.133Z
for cpuminer look for pooler on github. his repo is called cpuminer, but the executable is called minerd (miner daemon).
Sun
CC BY-SA 3.0
2018-03-09T15:39:37.813Z
@DiomedesDominguez, has you received payments by cpu mining?
Sterling Diaz
CC BY-SA 3.0
2018-03-10T16:04:12.313Z
No, I'm mining with ASIC
Diomedes Dominguez
CC BY-SA 3.0
2013-05-16T06:33:59.593Z
2013-05-16T06:33:59.593Z
Vincent P
<p>The original question was [sic] "What is the fastest CPU miner that I could use". Based on the answers, it seems, that everyone by default went to cpuminer/minerd. I use it also. However...</p>

<p><a href="https://github.com/luke-jr/bfgminer" rel="nofollow">bfgminer</a> (all except the latest version) has the ability to be used as a cpu miner. I have not been able to optimize mine yet but I do know that it is an incredibly smart miner with many options that can be set for performance.</p>

<p>So, cpuminer/minerd is great for being able to download and mine with your cpu all with no extensive testing, tweaking, etc. But if you want something that you can play around with, tweak, also to have built in Stratum, etc, then you may want to also dl bfgminer and play around. Especially if you want to cpu mine other alt coins (ie BBQ, Alpha, Xen, etc---anything with a low difficulty).</p>

<p>And if the day comes where you are ready to mine with a gpu, bfgminer is most likely going to be one of the miners you will use.</p>

CC BY-SA 3.0
2013-08-05T16:29:14.060Z
2013-08-05T16:29:14.060Z
Doug
<p>You might be better off doing it by hand.</p>

<p>But mining speed varies by application. I might have the same computer here but there is a defect in one of the prongs on the cpu, it might always run .1Mhash slower than any other chip. Yours might run faster. No one can tell you how fast or how much better software might run for you. </p>

<p>It is a very hard question to answer, send me your server and I'll test it out for you. Or you could just download a few miners, try them out, and decide which works better for you.</p>

CC BY-SA 3.0
2013-04-12T13:49:28.617Z
Can you list the download links of the miners to try?
Elmo
CC BY-SA 3.0
2013-04-12T16:37:56.017Z
"send me your server and I'll test it out for you" Sounds legit.
Nick ODell
CC BY-SA 3.0
2013-04-12T17:07:04.623Z
It is, I'm a pro tester. My main method is the sledge-hammer method. Its a good test of durability.
KDecker
CC BY-SA 3.0
2013-04-12T12:22:33.230Z
2013-04-12T12:22:33.230Z
KDecker
<p>I have a Windows Server with 20 cores at 2.10 Ghz (AMD Opteron 4171 HE). I am currently using Ufasoft CPU miner and getting about 35 Mhash/s.</p>

<p>I want to know what is the fastest CPU miner that I can use.</p>

CC BY-SA 3.0
2013-04-12T19:15:23.193Z
Keep in mind that CPU mining is [generally unprofitable](http://bitcoin.stackexchange.com/questions/59/is-cpu-mining-even-worth-it?rq=1) even if your electricity is free.  And if it's not, you're paying a lot more than you would by simply buying the bitcoins.
eMansipater
CC BY-SA 3.0
2013-04-12T20:13:46.830Z
and your electricity?
eMansipater
CC BY-SA 3.0
2013-04-12T21:10:50.903Z
Free as in beer.
Elmo
CC BY-SA 3.0
2013-12-27T07:50:34.533Z
Unfortunately the CPU mining period is long gone. It is unprofitable and not worth your electricity bill.
Mythul
<cpu-mining><miner-configuration><mining-software>
Fastest CPU Miner
Elmo
# Fastest CPU Miner

(Asked by: username_0 on 2013-04-12)

I have a Windows Server with 20 cores at 2.10 Ghz (AMD Opteron 4171 HE). I am currently using Ufasoft CPU miner and getting about 35 Mhash/s.

I want to know what is the fastest CPU miner that I can use.

**Tags:** cpu-mining, miner-configuration, mining-software

> **Comments:**
> **username_1**: Keep in mind that CPU mining is [generally unprofitable](http://bitcoin.stackexchange.com/questions/59/is-cpu-mining-even-worth-it?rq=1) even if your electricity is free.  And if it's not, you're paying a lot more than you would by simply buying the bitcoins.  
> **username_1**: and your electricity?  
> **username_0**: Free as in beer.  
> **username_2**: Unfortunately the CPU mining period is long gone. It is unprofitable and not worth your electricity bill.  

---

## 4 answers

### Answer by username_3 on 2013-04-12. Score: 5

The official bitcoin client from bitcoin.org has a CPU mining option. Add a file named `bitcoin.conf` to the bitcoin data directory, with the contents `gen=1`

<https://en.bitcoin.it/wiki/Running_Bitcoin#Bitcoin.conf_Configuration_File>

> **Comments:**
> **username_0**: I know about that app but can I pool-mine with the official client?  
> **username_3**: @ClickUpvote Nope.  
> **username_4**: Unfortunately the latest versions of the `bitcoin-core` software no longer include the mining code. The `gen=1` is ignored.  

---

### Answer by username_5 on 2013-05-16. Score: 4

I know this is an old question but recently I got a similar server.

I've tested [rpcminer](https://en.bitcoin.it/wiki/RPC_Miner), [GUI Miner](http://guiminer.org/) (Which is actually [UFASoft](http://ufasoft.com/coin/) miner).

Personally the best I've found is [CPUMiner](https://github.com/pooler/cpuminer). With a hash rate of about 75MH/s, it takes a bit of setting up as CPUMiner is normally used for [Litecoin](http://litecoin.org/) mining. CPUMiner gave me about 10%-20% more than the closest rival, which was rpcminer.

I've placed the following text in a .bat file that starts CPUMiner with the correct arguments.

```
minerd.exe -o http://[pool url]:[pool port] -u [username] -p [password] -a sha256d -R 2

```

The last 2 options are

`-a sha256d` - This tells CPUMiner to use the sha256 algorithm, used for Bitcoin mining.

`-R 2` - Indicates the number of seconds to wait for when the pool cannot be found. I know this seems a little soon, but change yours to whatever you want.

> **Comments:**
> **username_5**: What is cgu miner?  
> **username_6**: which pool do you recommend?  
> **username_5**: @username_6 I moved onto GPU mining a long time ago. My suggestion would be to find a pool thats reliable and long running (more than 6 months, minimum).  
> **username_6**: Ok, so now which GPU mining tool do you use?  
> **username_5**: @username_6 Personally I use [Nicehash Miner](https://www.nicehash.com/?p=software). Its a wrapper for GPU/CPU/ASIC miners. Although this only mines at Nicehash, but it does so with a profitability switcher (EG: Miner will mine scrypt until another algorithm becomes more profitable, then switch to that). Apologies if this sounds like an ad, but have been through many pools and software and Nicehash is very well thought out and simple to get going.  
> **username_7**: for cpuminer look for pooler on github. his repo is called cpuminer, but the executable is called minerd (miner daemon).  
> **username_8**: @username_6, has you received payments by cpu mining?  
> **username_6**: No, I'm mining with ASIC  

---

### Answer by username_9 on 2013-08-05. Score: 3

The original question was [sic] "What is the fastest CPU miner that I could use". Based on the answers, it seems, that everyone by default went to cpuminer/minerd. I use it also. However...

[bfgminer](https://github.com/luke-jr/bfgminer) (all except the latest version) has the ability to be used as a cpu miner. I have not been able to optimize mine yet but I do know that it is an incredibly smart miner with many options that can be set for performance.

So, cpuminer/minerd is great for being able to download and mine with your cpu all with no extensive testing, tweaking, etc. But if you want something that you can play around with, tweak, also to have built in Stratum, etc, then you may want to also dl bfgminer and play around. Especially if you want to cpu mine other alt coins (ie BBQ, Alpha, Xen, etc---anything with a low difficulty).

And if the day comes where you are ready to mine with a gpu, bfgminer is most likely going to be one of the miners you will use.


---

### Answer by username_10 on 2013-04-12. Score: 1

You might be better off doing it by hand.

But mining speed varies by application. I might have the same computer here but there is a defect in one of the prongs on the cpu, it might always run .1Mhash slower than any other chip. Yours might run faster. No one can tell you how fast or how much better software might run for you.

It is a very hard question to answer, send me your server and I'll test it out for you. Or you could just download a few miners, try them out, and decide which works better for you.

> **Comments:**
> **username_0**: Can you list the download links of the miners to try?  
> **username_3**: "send me your server and I'll test it out for you" Sounds legit.  
> **username_10**: It is, I'm a pro tester. My main method is the sledge-hammer method. Its a good test of durability.  

---

