Bitcoin Forum

Bitcoin => Mining => Topic started by: chungenhung on April 21, 2011, 04:00:52 AM



Title: Why is AMD GPU more efficient than nVidia GPU at mining?
Post by: chungenhung on April 21, 2011, 04:00:52 AM
For a similarly priced GPU from AMD and nVidia, it is very clear that AMD has a significant lead in hash rate for BTC.
Anyone care to explain why?

I know AMD has more "stream processors" than nVidia "cuda cores", but I don't think they can be compared directly.
Otherwise AMD would have several times the performance than nVidia on games and GPGPU applications. However, this is not the case.


Title: Re: Why is AMD GPU more efficient than nVidia GPU at mining?
Post by: Garrett Burgwardt on April 21, 2011, 04:03:53 AM
As I understand it, AMD GPUs are built in a way that they are better at fixed point calculations, at cost to their floating point mathematic power. Nvidia cards are built with a focus on floating point.


Title: Re: Why is AMD GPU more efficient than nVidia GPU at mining?
Post by: brocktice on April 21, 2011, 04:05:21 AM
More shaders.


Title: Re: Why is AMD GPU more efficient than nVidia GPU at mining?
Post by: dbitcoin on April 21, 2011, 04:07:25 AM
I know AMD has more "stream processors" than nVidia "cuda cores"
And only this important.
sha256 uses integer math operations. More stream processors - faster calculation.


Title: Re: Why is AMD GPU more efficient than nVidia GPU at mining?
Post by: mrb on April 21, 2011, 04:13:28 AM
More shaders that account for a 2x-3x advantage and presence of a native integer rotate instruction that accounts for another 1.7x advantage, see:
Why are AMD GPUs faster than Nvidia GPUs? (https://en.bitcoin.it/wiki/Why_a_GPU_mines_faster_than_a_CPU#Why_are_AMD_GPUs_faster_than_Nvidia_GPUs?)

The reasons games are not 2x-3x faster too on AMD GPUs is because they have a harder time fully utilizing the superior number of shaders (AMD's VLIW microarch is hard to exploit), whereas Bitcoin, being what we call an embarrassingly parallel workload, has no problem exploiting them.