Pages:
Author

Topic: another 3% mining increase with poclbm kernel.cl (Read 9897 times)

legendary
Activity: 1162
Merit: 1000
DiabloMiner author
I am locking this topic.

As per OpenCL specification:

Quote
6.5.2 __local (or local)
The __local or local address space name is used to describe variables that need to be
allocated in local memory and are shared by all work-items of a work-group. This qualifier can
be used with arguments to functions (including __kernel functions) declared as pointers, or
with variables declared inside a __kernel function.

6.5.4 __private (or private)
All variables inside a function (including __kernel functions), or passed into the function as
arguments are in the __private or private address space. Variables declared as pointers
are considered to point to the __private address space if an address space qualifier is not
specified except for arguments declared to be of type image2d_t and image3d_t which
implicitly point to the __global address space.

In other words, the hardware threads are stomping each others work and producing nonsense.
full member
Activity: 420
Merit: 100
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






what values clock/mem/voltage u have in ur card?
legendary
Activity: 1708
Merit: 1019
couple of sapphire hd 5850 xtremes

hard to tell if it does anything good.

lots of kernel errors on one of the cards. crashed with vpu recover after a couple of minutes.
member
Activity: 98
Merit: 10
Actually 1MHash per card less (POCLBM with Ma() mod)
newbie
Activity: 42
Merit: 0
On my 5870 it jumped 16 mh from 385 to 401. I'm using the poclbm "old" kernel + the other +3% patch (that gives me only 1% of speedup :-( )
Weird, what's the rest of your setup? I've listed mine above and this mod decreases my performance on every 5870 I have tried, mix of ubuntu/windows, ati versions & sdk.
I have a single card, clocked 300/900 on Windows and Catalyst 11.5 (too lazy to install 11.6 and I've read that they don't change anything) and I'm using -w 256. Someone had a big difference on the other patch. I got only a 1%. Perhaps the trick is in the ratio of memory clock/process clock.
hero member
Activity: 927
Merit: 1000
฿itcoin ฿itcoin ฿itcoin
On my 5870 it jumped 16 mh from 385 to 401. I'm using the poclbm "old" kernel + the other +3% patch (that gives me only 1% of speedup :-( )
Weird, what's the rest of your setup? I've listed mine above and this mod decreases my performance on every 5870 I have tried, mix of ubuntu/windows, ati versions & sdk.
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.

Only works with ATI card mate. Nvidia are a load of bollocks anyway with Bitcoin, total waste of time. 
Ah, thanks for confirming my suspicions.  I've heard that ATI is the way to go when mining; however, Nvidia is a better choice for what I use my computer for mostly.  Tongue
newbie
Activity: 42
Merit: 0
On my 5870 it jumped 16 mh from 385 to 401. I'm using the poclbm "old" kernel + the other +3% patch (that gives me only 1% of speedup :-( )
newbie
Activity: 8
Merit: 0
I made this change for my two 6950's (unlocked 908/310 and 850/310). The one clocked at 908 went up about 1 MH/s while the other went up 3-4 MH/s . I did the initial 3% increase mod and my rate shot up from 380 MH/S to 404 MH/s. To say the least I was more then pleased. After making this change it went from 404 to 405 (I sometimes see it jump to 405.Cool. I'm not sure about my other cards numbers pre initial 3% increase but I remember it was on track with 3%.

I'm going to keep my eye on stales and make sure they don't creep up. I'm not too worried.

Every bit helps. Thanks!
newbie
Activity: 27
Merit: 0
AFAIK declaring those variable as local will make theme shared for all the the threads in the workgroup so it's possible to have a performance increase because you are using less memory , but speed doesn't matter when the calculations are all fucked up! !
member
Activity: 103
Merit: 10
Used the file posted here ...

no changes on my 5830 ...

looks like guiminer was already "optimized" for my card ...

nice mod anyway

sr. member
Activity: 464
Merit: 250
It seems the new poclbm already includes the 3%+ boost including the phatk kernel. No need to edit code.  Smiley. I have tested it and it matches my hashrate with the edited code.
Download here: http://forum.bitcoin.org/index.php?topic=1334.0

When I first looked at this I was thinking yea right... I was using GUI miner but decided I wanted something more command line when I set my second box up so I can just make a .bat file and stick it in startup.

Anyway up from 198mhash to 212 on a 5770. And up from 262 to 285 on a 6870
full member
Activity: 154
Merit: 100
It seems the new poclbm already includes the 3%+ boost including the phatk kernel. No need to edit code.  Smiley. I have tested it and it matches my hashrate with the edited code.
Download here: http://forum.bitcoin.org/index.php?topic=1334.0
newbie
Activity: 40
Merit: 0
Decreases my hashrate on my 5850 from 370 (with the first 3%-fix) to 368.
sr. member
Activity: 418
Merit: 250
Went from 130 MH/s to 70 MH/s on my GTX570
newbie
Activity: 42
Merit: 0
Got about 2.5-3% less on a HD 4650.
newbie
Activity: 28
Merit: 0
I've just tried this, didn't help me at all, but I've sent some BTCs your way anyways; thanks for trying to make it better!
legendary
Activity: 1442
Merit: 1000
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.
'
Sure, but why?!
sr. member
Activity: 252
Merit: 251
Didn't do anything to be honest. No performance dip but no increase either.

Tried on a 6990 and a 5850.
legendary
Activity: 1946
Merit: 1006
Bitcoin / Crypto mining Hardware.
I'll wait for everyone to report back before I try out something from a guy named goxed  Roll Eyes
Smiley
Pages:
Jump to: