Pages:
Author

Topic: another 3% mining increase with poclbm kernel.cl - page 2. (Read 9989 times)

hero member
Activity: 784
Merit: 502
basically, add a  __local  key keyword to this line and it should increase your performance.
Sorry, this doesn't work for me, performance dropped 33% instead.
Are you using an ATI card? I know that I get a similar drop on my Nvidia, but I only have one and no ATI.  This may only work with ATI, all the reports are with ATI cards.

Only works with ATI card mate. Nvidia are a load of bollocks anyway with Bitcoin, total waste of time. 
newbie
Activity: 21
Merit: 0
basically, add a  __local  key keyword to this line and it should increase your performance.
Sorry, this doesn't work for me, performance dropped 33% instead.
Are you using an ATI card? I know that I get a similar drop on my Nvidia, but I only have one and no ATI.  This may only work with ATI, all the reports are with ATI cards.
legendary
Activity: 1540
Merit: 1002
Well, marking it __local actually hints the opencl compiler on to where you want that variable to be stored. Local memory is the fastest iirc but there's a limited amount of it and if you are already on the limit you may end up getting the wrong thing in local memory, thus making everything slower.

This is obviously an oversimplification. For a little more " to the metal " kind of facts, my experimentation gives me:
- The 1~2% speed increase on a 5870, which can do -w 256 but is at the performance peak at -w 128.
- A fair amount of speed DECREASE on a 5970, with -w 256 which is where it performs best.
- The 1~2% speed increase on the same 5970, with -w 128, although even with the speed increase it's a little slower than the -w 256.

I'm using one of each 5970 and 5870 on a computer, but I don't want to use separate kernels, one for each card, so I'm stuck with the no __local version Sad
hero member
Activity: 927
Merit: 1000
฿itcoin ฿itcoin ฿itcoin
Just tried this on my quad 5870 setup on ubuntu 11.04 using CC 11.5, SDK 2.1, using phoenix and poclbm + the 3% boost from http://forum.bitcoin.org/index.php?topic=22965.0
my hash rate went from 428.57 down to 426.26
member
Activity: 103
Merit: 10
I'll wait for everyone to report back before I try out something from a guy named goxed  Roll Eyes
hero member
Activity: 784
Merit: 502
yup, I gets a speedup on my 5770 too. Respect due
hero member
Activity: 686
Merit: 501
Stephen Reed
Quote
what can I switch to that won't drop my hashrate but will lower CPU usage?

You could try poclbm, as I do not know much about configuring phoenix.  
sr. member
Activity: 418
Merit: 250
On linuxcoin I experimented with phoenix+phatk but found that my CPU utilization went up sharply - from say 3% per miner to 20% or more.  I am heat-constrained, operating my caseless rigs in the crawl space under my Austin, Texas house without air-conditioning or extra fans, so poclbm appeared more watt-efficient, and also I had some stability issues, e.g. crashes when overclocking my Radeon HD 5770 GPUs to 960 MHz with phoenix.  In contrast, poclbm handles my overclocking OK.

That's an excellent reason, I'd say.  Living in Texas I know exactly what you mean.  I'm actually considering trying to change the software my dedicated miners out in the storage room are running, the MH/s are great but the mining threads use 100% of the CPU so it probably wastes electricity (three CPU's pegged out).  I'm using command-line phoenix 1.5 with phatk, what can I switch to that won't drop my hashrate but will lower CPU usage?
hero member
Activity: 686
Merit: 501
Stephen Reed
Quote
Do you mind if I ask why people choose poclbm over phoenix with PhatK ?

as I understand it PhatK with 2.4 SDK has a decent performance edge over poclbm

On linuxcoin I experimented with phoenix+phatk but found that my CPU utilization went up sharply - from say 3% per miner to 20% or more.  I am heat-constrained, operating my caseless rigs in the crawl space under my Austin, Texas house without air-conditioning or extra fans, so poclbm appeared more watt-efficient, and also I had some stability issues, e.g. crashes when overclocking my Radeon HD 5770 GPUs to 960 MHz with phoenix.  In contrast, poclbm handles my overclocking OK.
full member
Activity: 213
Merit: 100
Do you mind if I ask why people choose poclbm over phoenix with PhatK ?

No, but poclbm now include PhatK (there is the same as Phoenix+PhatK).
sr. member
Activity: 418
Merit: 250
Do you mind if I ask why people choose poclbm over phoenix with PhatK ?

as I understand it PhatK with 2.4 SDK has a decent performance edge over poclbm
hero member
Activity: 686
Merit: 501
Stephen Reed
I use linuxcoin and the kernel I edited was named BitcoinMiner.cl, located in /opt/miners/poclbm.

This simple change took each of my six 5770 GPUs, overclocked to 960 MHz, from 204 MH/sec to 212 MH/sec, a 4% increase!
full member
Activity: 213
Merit: 100
Where do I find that kernel.cl?

I've got a folder called "poclbm_py2exe_20110428" and run poclbm with a batch file. But I do not find any kernel.cl in that folder.

If you have problems, simply update your poclbm with the latest version (20110627) including the phatk kernel modification of this thread. Just launch your miner as you do usually.

https://github.com/downloads/m0mchil/poclbm/poclbm_py2exe_20110627.7z

For answer your question, kernel.cl is on the poclbm folder of kernels folder from Phoenix miner. You need to modify the BitcoinMiner.cl of your poclbm miner because you mine with poclbm and not with Phoenix.
newbie
Activity: 3
Merit: 0
Where do I find that kernel.cl?

I've got a folder called "poclbm_py2exe_20110428" and run poclbm with a batch file. But I do not find any kernel.cl in that folder.
legendary
Activity: 1442
Merit: 1005
basically, add a  __local  key keyword to this line and it should increase your performance.
Sorry, this doesn't work for me, performance dropped 33% instead.
legendary
Activity: 1946
Merit: 1006
Bitcoin / Crypto mining Hardware.

I see some Ma3() function in your kernel (I don't have it), which seems to be almost the same as the original Ma(), and my optimization could be applied to it as well. Why didn't you change this Ma3()? Any particular reason?

Good catch Smiley I have been playing a little bit with the kernel. this macro was added by me and is not part of original kernel.
newbie
Activity: 28
Merit: 0

I see some Ma3() function in your kernel (I don't have it), which seems to be almost the same as the original Ma(), and my optimization could be applied to it as well. Why didn't you change this Ma3()? Any particular reason?
newbie
Activity: 21
Merit: 0
This method actually caused a decrease of 30%. I went from 26.81 MHash/s down to 18.71 MHash/s.

I have used this with a Radeon 5830 card. from 305MH/s to 315Mh/s
Here's some proof.


new kernel
http://imgur.com/JcMmZ

old kernel
http://imgur.com/YrRuL

I was using it with a Geforce GTS 360M.  Perhaps it only works with ATI cards?
full member
Activity: 213
Merit: 100
New release of m0mchil's poclbm (2011-06-27) : https://github.com/downloads/m0mchil/poclbm/poclbm_py2exe_20110627.7z

Added an improvement in kernel (use phatk with modification of Ma formula).
+3% hashrate in average.
legendary
Activity: 1946
Merit: 1006
Bitcoin / Crypto mining Hardware.
This method actually caused a decrease of 30%. I went from 26.81 MHash/s down to 18.71 MHash/s.

I have used this with a Radeon 5830 card. from 305MH/s to 315Mh/s
Here's some proof.


new kernel
http://imgur.com/JcMmZ

old kernel
http://imgur.com/YrRuL




Pages:
Jump to: