verement / cellminer

Bitcoin miner for the Cell Broadband Engine Architecture
GNU General Public License v2.0
79 stars 18 forks source link

Trying to tune compilation and to improve standards compliance #13

Closed devurandom closed 11 years ago

devurandom commented 11 years ago

Improvements are about 0.5Mh/s for 18SPE/2PPE. I went from about 34.xMh/s to continually at least 35Mh/s.

smilzo commented 11 years ago

i've applied the patch on the code but i still got 23.7Mh/s. i'm using the red ribbon default kernel

devurandom commented 11 years ago

What machine are you using? Can you post your /proc/cpuinfo? Is it a BladeCenter or a PS3? How many CPUs and SPUs are available and how many does cellminer use?

In any case, the strict-aliasing patch should definitely be merged, because it establishes standard compliance without any negative effects.

smilzo commented 11 years ago

I'm using a PS3:

processor : 0 cpu : Cell Broadband Engine, altivec supported clock : 3192.000000MHz revision : 5.1 (pvr 0070 0501)

processor : 1 cpu : Cell Broadband Engine, altivec supported clock : 3192.000000MHz revision : 5.1 (pvr 0070 0501)

timebase : 79800000 platform : PS3 model : SonyPS3

Your results are about a bladecenter ? Anyway the patch didn't change the performance, are the same.

If i change the spu value over the default 8 there is no change in the performance, i've added 2 on ppu thread on the default 0, and i've got 2 more Mh/s