Bitcoin Forum
September 22, 2018, 10:24:15 AM *
News: ♦♦ New info! Bitcoin Core users absolutely must upgrade to previously-announced 0.16.3 [Torrent]. All Bitcoin users should temporarily trust confirmations slightly less. More info.
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Why is cpuminer faster on my CPU than cgminer?  (Read 8769 times)
Wolf0
Hero Member
*****
Offline Offline

Activity: 798
Merit: 1002


Miner Developer


View Profile
March 03, 2013, 09:39:03 PM
 #1

If I remember correctly, cgminer is forked from cpuminer. Why is it slower on CPUs, then? I tested this with mining litecoins. I get over a full khash/sec difference, and this is reflected in the number of shares I get.

Code:
Donations: BTC: 1WoLFdwcfNEg64fTYsX1P25KUzzSjtEZC -- XMR: 45SLUTzk7UXYHmzJ7bFN6FPfzTusdUVAZjPRgmEDw7G3SeimWM2kCdnDQXwDBYGUWaBtZNgjYtEYA22aMQT4t8KfU3vHLHG
1537611855
Hero Member
*
Offline Offline

Posts: 1537611855

View Profile Personal Message (Offline)

Ignore
1537611855
Reply with quote  #2

1537611855
Report to moderator
Make a difference with your Ether.
Donate Ether for the greater good.
SPRING.WETRUST.IO
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1537611855
Hero Member
*
Offline Offline

Posts: 1537611855

View Profile Personal Message (Offline)

Ignore
1537611855
Reply with quote  #2

1537611855
Report to moderator
-ck
Moderator
Legendary
*
Offline Offline

Activity: 2646
Merit: 1143


Ruu \o/


View Profile WWW
March 03, 2013, 10:25:08 PM
 #2

Because CPU mining with cgminer is deprecated, unsupported, and undeveloped.

Developer/maintainer for cgminer and ckpool/ckproxy.
ZERO FEE Pooled mining at ckpool.org, 1% Fee Solo mining at solo.ckpool.org
-ck
Wolf0
Hero Member
*****
Offline Offline

Activity: 798
Merit: 1002


Miner Developer


View Profile
March 03, 2013, 10:37:37 PM
 #3

Because CPU mining with cgminer is deprecated, unsupported, and undeveloped.

Would you accept patches to fix it? I always saw cgminer as like... the universal miner, I guess.

Code:
Donations: BTC: 1WoLFdwcfNEg64fTYsX1P25KUzzSjtEZC -- XMR: 45SLUTzk7UXYHmzJ7bFN6FPfzTusdUVAZjPRgmEDw7G3SeimWM2kCdnDQXwDBYGUWaBtZNgjYtEYA22aMQT4t8KfU3vHLHG
-ck
Moderator
Legendary
*
Offline Offline

Activity: 2646
Merit: 1143


Ruu \o/


View Profile WWW
March 03, 2013, 11:57:07 PM
 #4

No, as the maintenance burden isn't worth it.

Developer/maintainer for cgminer and ckpool/ckproxy.
ZERO FEE Pooled mining at ckpool.org, 1% Fee Solo mining at solo.ckpool.org
-ck
grue
Legendary
*
Offline Offline

Activity: 2100
Merit: 1140



View Profile
March 03, 2013, 11:58:43 PM
 #5

why would you even cpu mine?

It is pitch black. You are likely to be eaten by a grue.

Adblock for annoying signature ads | Enhanced Merit UI
Wolf0
Hero Member
*****
Offline Offline

Activity: 798
Merit: 1002


Miner Developer


View Profile
March 04, 2013, 12:07:28 AM
 #6

No, as the maintenance burden isn't worth it.

Oh, well, maybe I'll make a patch just for my use.

why would you even cpu mine?

I'm CPU mining LTC until my main system is back up. My motherboard died recently Sad
Anyway, it's nice to supplement the GPU income, no point in wasting cycles.

Code:
Donations: BTC: 1WoLFdwcfNEg64fTYsX1P25KUzzSjtEZC -- XMR: 45SLUTzk7UXYHmzJ7bFN6FPfzTusdUVAZjPRgmEDw7G3SeimWM2kCdnDQXwDBYGUWaBtZNgjYtEYA22aMQT4t8KfU3vHLHG
heybabit
Newbie
*
Offline Offline

Activity: 20
Merit: 0


View Profile
March 11, 2013, 06:33:35 PM
 #7


[/quote]

I'm CPU mining LTC until my main system is back up. My motherboard died recently Sad
Anyway, it's nice to supplement the GPU income, no point in wasting cycles.
[/quote]

Are you willing to share your changes? I would mind messing around with this also.
counter
Hero Member
*****
Offline Offline

Activity: 770
Merit: 500


Time is on our side, yes it is!


View Profile
March 17, 2013, 09:00:47 PM
 #8

I want to start cpu mining litecoins and was suggested cgminer, should I reconsider and use cpuminer ?
Sorry to hijack but this is all new to me and would like to get started sooner then later.  Seems u all know what ur talking about and would save me a ton on time.
tycho
Newbie
*
Offline Offline

Activity: 34
Merit: 0


View Profile
March 21, 2013, 10:17:09 PM
 #9

I want to start cpu mining litecoins and was suggested cgminer, should I reconsider and use cpuminer ?
Sorry to hijack but this is all new to me and would like to get started sooner then later.  Seems u all know what ur talking about and would save me a ton on time.

Yes, cpuminer is considerably faster at mining litecoins than cgminer. That said, CPU mining is dead (that is, it's only worth it if you have free electricity).
counter
Hero Member
*****
Offline Offline

Activity: 770
Merit: 500


Time is on our side, yes it is!


View Profile
March 26, 2013, 04:40:14 AM
 #10

I want to start cpu mining litecoins and was suggested cgminer, should I reconsider and use cpuminer ?
Sorry to hijack but this is all new to me and would like to get started sooner then later.  Seems u all know what ur talking about and would save me a ton on time.

Yes, cpuminer is considerably faster at mining litecoins than cgminer. That said, CPU mining is dead (that is, it's only worth it if you have free electricity).

Thanks alot for the reply that is all usefull info and very good to know tycho.
Wolf0
Hero Member
*****
Offline Offline

Activity: 798
Merit: 1002


Miner Developer


View Profile
March 29, 2013, 04:39:50 AM
 #11

I want to start cpu mining litecoins and was suggested cgminer, should I reconsider and use cpuminer ?
Sorry to hijack but this is all new to me and would like to get started sooner then later.  Seems u all know what ur talking about and would save me a ton on time.

Yes, cpuminer is considerably faster at mining litecoins than cgminer. That said, CPU mining is dead (that is, it's only worth it if you have free electricity).

I have free electricity. I don't know why the updated CPU code can't just be thrown into CGMiner.

Code:
Donations: BTC: 1WoLFdwcfNEg64fTYsX1P25KUzzSjtEZC -- XMR: 45SLUTzk7UXYHmzJ7bFN6FPfzTusdUVAZjPRgmEDw7G3SeimWM2kCdnDQXwDBYGUWaBtZNgjYtEYA22aMQT4t8KfU3vHLHG
-ck
Moderator
Legendary
*
Offline Offline

Activity: 2646
Merit: 1143


Ruu \o/


View Profile WWW
March 29, 2013, 07:07:22 AM
 #12

No, as the maintenance burden isn't worth it.
And I want to do nothing to encourage botnet operators.

In fact I want CPU mining on cgminer to be slow so that it is not the prime binary choice to include with trojans.

Developer/maintainer for cgminer and ckpool/ckproxy.
ZERO FEE Pooled mining at ckpool.org, 1% Fee Solo mining at solo.ckpool.org
-ck
Wolf0
Hero Member
*****
Offline Offline

Activity: 798
Merit: 1002


Miner Developer


View Profile
March 29, 2013, 01:57:14 PM
 #13

No, as the maintenance burden isn't worth it.
And I want to do nothing to encourage botnet operators.

In fact I want CPU mining on cgminer to be slow so that it is not the prime binary choice to include with trojans.

But you're also harming legitimate users. You're crippling a feature so that bad people won't use your miner, forcing regular users to use cpuminer or let their CPU waste clock cycles. You may as well remove CPU mining entirely.

Code:
Donations: BTC: 1WoLFdwcfNEg64fTYsX1P25KUzzSjtEZC -- XMR: 45SLUTzk7UXYHmzJ7bFN6FPfzTusdUVAZjPRgmEDw7G3SeimWM2kCdnDQXwDBYGUWaBtZNgjYtEYA22aMQT4t8KfU3vHLHG
DeathAndTaxes
Donator
Legendary
*
Offline Offline

Activity: 1218
Merit: 1005


Gerald Davis


View Profile
March 29, 2013, 02:04:05 PM
 #14

You may as well remove CPU mining entirely.

Good idea. 
Wolf0
Hero Member
*****
Offline Offline

Activity: 798
Merit: 1002


Miner Developer


View Profile
March 29, 2013, 03:01:19 PM
 #15

You may as well remove CPU mining entirely.

Good idea. 

That would solve two problems. Botnet users wouldn't use it (actually, if I was writing a trojan, I'd roll my own miner with both GPU and CPU optimized code, but meh), and legitimate users won't accidentally use an inferior CPU miner.

Code:
Donations: BTC: 1WoLFdwcfNEg64fTYsX1P25KUzzSjtEZC -- XMR: 45SLUTzk7UXYHmzJ7bFN6FPfzTusdUVAZjPRgmEDw7G3SeimWM2kCdnDQXwDBYGUWaBtZNgjYtEYA22aMQT4t8KfU3vHLHG
-ck
Moderator
Legendary
*
Offline Offline

Activity: 2646
Merit: 1143


Ruu \o/


View Profile WWW
March 29, 2013, 03:11:32 PM
 #16

Since you asked... When you don't have a GPU that mines and you don't  have an FPGA and you need to work on code (as some of us do on our laptops) it's kinda hard without anything at all that hashes. It doesn't matter if it doesn't perform well in that instance.

Developer/maintainer for cgminer and ckpool/ckproxy.
ZERO FEE Pooled mining at ckpool.org, 1% Fee Solo mining at solo.ckpool.org
-ck
Ltcfaucet
Full Member
***
Offline Offline

Activity: 126
Merit: 100


View Profile
March 29, 2013, 10:54:33 PM
 #17

I'll take ckolivas side on this one.

He doesn't want his hard work to throw red flags every time someone goes to run it. (Minerd)

He also doesn't want to dedicate his time to something that will be extinct within a couple months.

Instead of having him invest his time and energy into a pointless quest, invest your time and money in some up-to-date gear.

Keep on rockin' ckolivas!

Cgminer all the way!
Wolf0
Hero Member
*****
Offline Offline

Activity: 798
Merit: 1002


Miner Developer


View Profile
March 30, 2013, 01:13:55 AM
 #18

I'll take ckolivas side on this one.

He doesn't want his hard work to throw red flags every time someone goes to run it. (Minerd)

He also doesn't want to dedicate his time to something that will be extinct within a couple months.

Instead of having him invest his time and energy into a pointless quest, invest your time and money in some up-to-date gear.

Keep on rockin' ckolivas!

Cgminer all the way!

CGMiner is based off of cpuminer, it's not like it'd really be all that difficult to just update the CPU mining code. But, it doesn't matter, I can run two miners.

Code:
Donations: BTC: 1WoLFdwcfNEg64fTYsX1P25KUzzSjtEZC -- XMR: 45SLUTzk7UXYHmzJ7bFN6FPfzTusdUVAZjPRgmEDw7G3SeimWM2kCdnDQXwDBYGUWaBtZNgjYtEYA22aMQT4t8KfU3vHLHG
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!