Bitcoin Forum
May 07, 2024, 03:36:20 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: GPU mining slower than CPU mining?  (Read 8010 times)
nlai (OP)
Newbie
*
Offline Offline

Activity: 11
Merit: 0


View Profile
February 12, 2011, 08:14:59 PM
 #1

Laptop:
Core2Duo 1.8ghz
1gb RAM
1500 khash/sec on CPU
?? khash/sec on GPU (it's intel video card, doubt it can do GPU)

Desktop:
Intel® Core™ i7-870 w/VT
8GB RAM
4500 khash/sec on CPU without limit
5000 khash/sec on CPU with limit to 4 cores (why is this higher?)
3500 khash/sec on GPU (I thought GPU>CPU?

1)Why is limiting to 4 cores faster than no limit (on 8 cores)?
2)Why is GPU slower than CPU when ppl say GPU is supposed to be an order of magnitude faster?
3)Why is my Core2Duo 1/3rd as fast as my i7 when my i7 has 8 cores vs 2 cores and a lot more ram/better architecture/etc?
1715096180
Hero Member
*
Offline Offline

Posts: 1715096180

View Profile Personal Message (Offline)

Ignore
1715096180
Reply with quote  #2

1715096180
Report to moderator
1715096180
Hero Member
*
Offline Offline

Posts: 1715096180

View Profile Personal Message (Offline)

Ignore
1715096180
Reply with quote  #2

1715096180
Report to moderator
1715096180
Hero Member
*
Offline Offline

Posts: 1715096180

View Profile Personal Message (Offline)

Ignore
1715096180
Reply with quote  #2

1715096180
Report to moderator
Each block is stacked on top of the previous one. Adding another block to the top makes all lower blocks more difficult to remove: there is more "weight" above each block. A transaction in a block 6 blocks deep (6 confirmations) will be very difficult to remove.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715096180
Hero Member
*
Offline Offline

Posts: 1715096180

View Profile Personal Message (Offline)

Ignore
1715096180
Reply with quote  #2

1715096180
Report to moderator
nlai (OP)
Newbie
*
Offline Offline

Activity: 11
Merit: 0


View Profile
February 12, 2011, 08:35:40 PM
 #2

Oh and why do people get like 15K off an AMD Phenom but I only get 5K off an i7? I thought they're comparable processors?

Is it my software setup?
nlai (OP)
Newbie
*
Offline Offline

Activity: 11
Merit: 0


View Profile
February 12, 2011, 08:44:42 PM
 #3

Sorry, I should've posted what GPU

It's a NVidia Geforce 310

It says it supports OpenCL and CUDA... which should I be using for mining?
LZ
Legendary
*
Offline Offline

Activity: 1722
Merit: 1072


P2P Cryptocurrency


View Profile
February 12, 2011, 09:49:21 PM
 #4

Try puddinpop's RPC CUDA miner and his Screensaver RPC CUDA miner.


My OpenPGP fingerprint: 5099EB8C0F2E68C63B4ECBB9A9D0993E04143362
nlai (OP)
Newbie
*
Offline Offline

Activity: 11
Merit: 0


View Profile
February 13, 2011, 02:11:22 AM
 #5


That's what I was using to get those stats. The RPC CUDA miner. Should I be using OpenCL instead since GPU Caps Viewer says my card supports both?
LZ
Legendary
*
Offline Offline

Activity: 1722
Merit: 1072


P2P Cryptocurrency


View Profile
February 13, 2011, 02:34:08 AM
 #6

I just read an information about your GPU. It has a very low config core. So that speed is normal for it.

http://en.wikipedia.org/wiki/Comparison_of_Nvidia_graphics_processing_units#GeForce_300_Series T_T

My OpenPGP fingerprint: 5099EB8C0F2E68C63B4ECBB9A9D0993E04143362
Big Bear
Newbie
*
Offline Offline

Activity: 11
Merit: 0



View Profile
February 13, 2011, 10:42:06 AM
 #7


 If you have a high end ATI, there is a problem.


Sorry, is this a typo? Whats the problem with a high end ATI card? Or do you mean it's no problem?
 Smiley
LZ
Legendary
*
Offline Offline

Activity: 1722
Merit: 1072


P2P Cryptocurrency


View Profile
February 13, 2011, 10:55:35 AM
 #8

No, it is not a typo. He had in mind that having a low mhps for some high end ATI card is a problem.

My OpenPGP fingerprint: 5099EB8C0F2E68C63B4ECBB9A9D0993E04143362
nlai (OP)
Newbie
*
Offline Offline

Activity: 11
Merit: 0


View Profile
February 13, 2011, 04:18:55 PM
 #9

So in other words my GPU sucks Tongue If I knew about bitcoin I would've opted for a better one when I bought my computer Cheesy


Now one more question... it says my GPU supports both CUDA and OpenCL.

Which should I be using for better performance?
Bengie
Newbie
*
Offline Offline

Activity: 1
Merit: 0


View Profile
February 16, 2011, 02:47:58 PM
 #10

The i7 quad cores(8 threads) may times do out perform the sexacore AMD chips. I think what the issue may be here though, is each i7 core only has one 128bit SSE unit which is shared between both kernel threads.

You should try running an SSE miner on 4 threads and another 4 non-SSE threads. The i7 should be able to handle 4 sse and 4 fpu threads without contention.

The new Sandy Bridge Intel CPUs should not have this limitation as they have two 128bit units. But SB chips do support AVX which is even better than SSE. Once miners start to support AVX, then you will have the same issue with a 4 thread limit on a quad core because AVX is 256bit and it will require taking both of those 128bit units and using both at the same time. So again, only on thread per core may use both units at once. But until AVX, I would think 2 SSE threads per core on SB chips should work.
dishwara
Legendary
*
Offline Offline

Activity: 1855
Merit: 1016



View Profile
February 16, 2011, 04:57:56 PM
 #11

With 16 cores what u get is ok.
http://en.wikipedia.org/wiki/Comparison_of_Nvidia_graphics_processing_units#GeForce_300_Series

It actually don't support opencl, even though says supports opencl 1.1
My card 9400GT has same specs & it mines only 2500 khash/s at 550MHZ & at 700MHz, mines at 3400 khash/s

So, it normal.
poclbm gives much higher rate in cuda than RPC.
Try poclbm.
http://bitcointalk.org/index.php?topic=1334.0
LeiKriS
Newbie
*
Offline Offline

Activity: 4
Merit: 0


View Profile
March 23, 2011, 04:07:46 AM
 #12

No, it is not a typo. He had in mind that having a low mhps for some high end ATI card is a problem.

Can you elaborate more on this? I have a problem with my CUDA program. GPU appears to be slower than CPU. I'm using GeForce 9500 GT.
urizane
Newbie
*
Offline Offline

Activity: 56
Merit: 0



View Profile
March 23, 2011, 06:09:48 AM
Last edit: March 23, 2011, 07:41:28 AM by urizane
 #13

Desktop:
Intel® Core™ i7-870 w/VT
8GB RAM
4500 khash/sec on CPU without limit
5000 khash/sec on CPU with limit to 4 cores (why is this higher?)

Give ufasoft's SSE2 miner a go.  I have an i7-950 running at 3.83 GHz that can produce 18.9 Mhash/s.  You should probably get somewhere in the 14.5-15.8 Mhash/s range, depending on the thermals in your case.  Also, an nVidia G 310 has a really hard time post processing HD video clips, so mining isn't going to be worthwhile on this card.

AMD Processors with 4way instructions are much more efficient than intel processors.

i7 doesn't have 8 cores. It has 4 cores with hyperthreading. This has been discussed a few times if you want more info do a search for what's out there.

Disabling hashing on the hyperthreads will increase your hash rate.

AMD vs. Intel depends on the miner you run.  I know on my quad core I get roughly 16 Mhash/s at stock speeds (I'm assuming an AMD 975 BE would be somewhere in this range, as well) so be sure you use the best miner for your hardware.  In my experience, disabling HyperThreading doesn't really help when running ufasoft's miner.  Besides, if you set a miner up for 4 threads, Windows will do the job of parking the virtual threads unless another CPU heavy application suddenly needs them.

The i7 quad cores(8 threads) may times do out perform the sexacore AMD chips. I think what the issue may be here though, is each i7 core only has one 128bit SSE unit which is shared between both kernel threads.

You should try running an SSE miner on 4 threads and another 4 non-SSE threads. The i7 should be able to handle 4 sse and 4 fpu threads without contention.

Ehm...  I guess this sounds like something you can try, but I'm under the assumption that SSE2 floating point operations still utilize the FPU SSE2 ALU operations utilize the same ALUs that non-SSE2 instructions would use, so running two types of miners at once would be somewhat counter-productive.  Also, using ufasoft's miner, I got better results running with 8 threads over 4, but that could be limited to the i7-9xx series parts.

With 16 cores what u get is ok.
http://en.wikipedia.org/wiki/Comparison_of_Nvidia_graphics_processing_units#GeForce_300_Series

It actually don't support opencl, even though says supports opencl 1.1
My card 9400GT has same specs & it mines only 2500 khash/s at 550MHZ & at 700MHz, mines at 3400 khash/s

So, it normal.
poclbm gives much higher rate in cuda than RPC.
Try poclbm.
http://bitcointalk.org/index.php?topic=1334.0

Some of this seems a little off.  The nVidia G 310 is a GT200 based GPU.  It does in fact support both CUDA and OpenCL.  If you're comfortable tweaking command line parameters, I would suggest looking into puddinpop's RPC CUDA miner as well as m0mchil's Python OpenCL miner.  After tweaking paramaters, you'll probably find that, for your G 310, the CUDA miner will be about 5% faster.

Can you elaborate more on this? I have a problem with my CUDA program. GPU appears to be slower than CPU. I'm using GeForce 9500 GT.

Depending on the CPU, you're probably in the same boat.  There isn't enough processing power on one of these lower end cards to do integer operations with any significant speed.  If you have a particularly fast CPU, these GPUs aren't going to match the performance you'll get on the CPU.

EDIT: I removed references to FPUs.  Hashing and FPUs shouldn't go together.
LeiKriS
Newbie
*
Offline Offline

Activity: 4
Merit: 0


View Profile
March 25, 2011, 02:30:40 AM
 #14

Desktop:
Intel® Core™ i7-870 w/VT
8GB RAM
4500 khash/sec on CPU without limit
5000 khash/sec on CPU with limit to 4 cores (why is this higher?)

Give ufasoft's SSE2 miner a go.  I have an i7-950 running at 3.83 GHz that can produce 18.9 Mhash/s.  You should probably get somewhere in the 14.5-15.8 Mhash/s range, depending on the thermals in your case.  Also, an nVidia G 310 has a really hard time post processing HD video clips, so mining isn't going to be worthwhile on this card.

AMD Processors with 4way instructions are much more efficient than intel processors.

i7 doesn't have 8 cores. It has 4 cores with hyperthreading. This has been discussed a few times if you want more info do a search for what's out there.

Disabling hashing on the hyperthreads will increase your hash rate.

AMD vs. Intel depends on the miner you run.  I know on my quad core I get roughly 16 Mhash/s at stock speeds (I'm assuming an AMD 975 BE would be somewhere in this range, as well) so be sure you use the best miner for your hardware.  In my experience, disabling HyperThreading doesn't really help when running ufasoft's miner.  Besides, if you set a miner up for 4 threads, Windows will do the job of parking the virtual threads unless another CPU heavy application suddenly needs them.

The i7 quad cores(8 threads) may times do out perform the sexacore AMD chips. I think what the issue may be here though, is each i7 core only has one 128bit SSE unit which is shared between both kernel threads.

You should try running an SSE miner on 4 threads and another 4 non-SSE threads. The i7 should be able to handle 4 sse and 4 fpu threads without contention.

Ehm...  I guess this sounds like something you can try, but I'm under the assumption that SSE2 floating point operations still utilize the FPU SSE2 ALU operations utilize the same ALUs that non-SSE2 instructions would use, so running two types of miners at once would be somewhat counter-productive.  Also, using ufasoft's miner, I got better results running with 8 threads over 4, but that could be limited to the i7-9xx series parts.

With 16 cores what u get is ok.
http://en.wikipedia.org/wiki/Comparison_of_Nvidia_graphics_processing_units#GeForce_300_Series

It actually don't support opencl, even though says supports opencl 1.1
My card 9400GT has same specs & it mines only 2500 khash/s at 550MHZ & at 700MHz, mines at 3400 khash/s

So, it normal.
poclbm gives much higher rate in cuda than RPC.
Try poclbm.
http://bitcointalk.org/index.php?topic=1334.0

Some of this seems a little off.  The nVidia G 310 is a GT200 based GPU.  It does in fact support both CUDA and OpenCL.  If you're comfortable tweaking command line parameters, I would suggest looking into puddinpop's RPC CUDA miner as well as m0mchil's Python OpenCL miner.  After tweaking paramaters, you'll probably find that, for your G 310, the CUDA miner will be about 5% faster.

Can you elaborate more on this? I have a problem with my CUDA program. GPU appears to be slower than CPU. I'm using GeForce 9500 GT.

Depending on the CPU, you're probably in the same boat.  There isn't enough processing power on one of these lower end cards to do integer operations with any significant speed.  If you have a particularly fast CPU, these GPUs aren't going to match the performance you'll get on the CPU.

EDIT: I removed references to FPUs.  Hashing and FPUs shouldn't go together.

Thanks urizane for the reply. I have:

Intel(R) Core(TM)2 Duo CPU
E7500 @ 2.93 GHz
2.93 GHz, 2.00 GB of RAM

so does your statement mean that even if i use GPU but if ever I have a more powerful CPU then GPU wont beat CPU?
urizane
Newbie
*
Offline Offline

Activity: 56
Merit: 0



View Profile
March 25, 2011, 03:06:33 AM
 #15

Can you elaborate more on this? I have a problem with my CUDA program. GPU appears to be slower than CPU. I'm using GeForce 9500 GT.

Thanks urizane for the reply. I have:

Intel(R) Core(TM)2 Duo CPU
E7500 @ 2.93 GHz
2.93 GHz, 2.00 GB of RAM

so does your statement mean that even if i use GPU but if ever I have a more powerful CPU then GPU wont beat CPU?

From what I understand of the first of these two posts is that your Core2 Duo is already faster than your GPU.  However, if you intend on this system being used primarily for mining, you could keep the CPU you have and replace the GPU (given your power supply can handle the higher wattage).  In fact, the CPU you have still has some legs in some of the more recent games (except Civ V and some Starcraft II battles) and could see some benefit to having a better GPU and another 2GB of RAM.  The RAM wouldn't be necessary for a purely mining machine, though.
LeiKriS
Newbie
*
Offline Offline

Activity: 4
Merit: 0


View Profile
March 25, 2011, 03:17:44 AM
 #16

Can you elaborate more on this? I have a problem with my CUDA program. GPU appears to be slower than CPU. I'm using GeForce 9500 GT.

Thanks urizane for the reply. I have:

Intel(R) Core(TM)2 Duo CPU
E7500 @ 2.93 GHz
2.93 GHz, 2.00 GB of RAM

so does your statement mean that even if i use GPU but if ever I have a more powerful CPU then GPU wont beat CPU?

From what I understand of the first of these two posts is that your Core2 Duo is already faster than your GPU.  However, if you intend on this system being used primarily for mining, you could keep the CPU you have and replace the GPU (given your power supply can handle the higher wattage).  In fact, the CPU you have still has some legs in some of the more recent games (except Civ V and some Starcraft II battles) and could see some benefit to having a better GPU and another 2GB of RAM.  The RAM wouldn't be necessary for a purely mining machine, though.

Thanks so much for your reply. so does this mean that my CUDA program which uses GPU can't beat the CPU?
urizane
Newbie
*
Offline Offline

Activity: 56
Merit: 0



View Profile
March 25, 2011, 03:34:14 AM
 #17

You won't be getting much out of a 9500 GT.  Even with CUDA, it just can't do integer operations as quickly as recent CPUs.  Take a tour of https://en.bitcoin.it/wiki/Mining_Hardware_Comparison to see what your other options could be.
LeiKriS
Newbie
*
Offline Offline

Activity: 4
Merit: 0


View Profile
March 25, 2011, 03:48:53 AM
 #18

You won't be getting much out of a 9500 GT.  Even with CUDA, it just can't do integer operations as quickly as recent CPUs.  Take a tour of https://en.bitcoin.it/wiki/Mining_Hardware_Comparison to see what your other options could be.

Thanks. uhm, it appears that my cpu is not in the list. do you happen to know how many mhash/s does the e7500 have? Thanks a lot for your help, I don't really know much about hardware.
nster
Full Member
***
Offline Offline

Activity: 126
Merit: 100


View Profile
March 25, 2011, 03:58:23 AM
 #19

My i7 920 @ 4GHz does 20~21 Mh/s (8 threads, didn't try with HT off) with ufasoft's miner

167q1CHgVjzLCwQwQvJ3tRMUCrjfqvSznd Donations are welcome Smiley Please be kind if I helped
urizane
Newbie
*
Offline Offline

Activity: 56
Merit: 0



View Profile
March 25, 2011, 04:01:03 AM
 #20

Thanks. uhm, it appears that my cpu is not in the list. do you happen to know how many mhash/s does the e7500 have? Thanks a lot for your help, I don't really know much about hardware.

Well, the best way to find out is to run ufasoft's SSE2 miner for yourself.  My guess is that you'll get roughly 7 Mhash/s for your two cores if they're running at 2.93 GHz.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!