Author

Topic: Poclbm/Phatk speedup! (Read 872 times)

full member
Activity: 125
Merit: 100
September 02, 2011, 02:06:45 PM
#6
I am using phatk2, which doesn't seem to have that line in it.
full member
Activity: 153
Merit: 100
...
September 02, 2011, 01:28:06 PM
#5
That's alright  Grin
Also, have you tried this tweak? And has it improved your mhash rate at all?
full member
Activity: 125
Merit: 100
September 02, 2011, 01:17:21 PM
#4
Oops, sorry about that, yeah I do feel a bit foolish now, guess that is why I never got into any kind of coding, lack of attention to detail =)

Anyway, I deleted my post, sorry again.

full member
Activity: 153
Merit: 100
...
September 02, 2011, 11:33:04 AM
#3
Quote
I just want to point out that the poster did not find this, rethaw did, and detailed it in his post here:

https://bitcointalksearch.org/topic/3-faster-mining-with-phoenixphatk-diablo-or-poclbm-for-everyone-23067

So if you are going to donate to anyone, I'd say let it go to the person that originally discovered this.

I might be wrong about this, but I'm pretty sure a lot of updated miner's have already incorporated this as well, but check for yourself, rethaw's instructions are pretty detailed.

I have been running with the modification myself for about a month, no different in stales but a slight bump in MH/S

--------------EDIT-----------------

So I might be wrong about who originally came up with this, because the post referenced to in the one I linked is by someone else again, but anyway, this has been documented before.

If you actually looked at what I did, it's  different from that other modification. I'm not even sure if it really increases speed, or if I'm just having a lucky day with my miner Tongue
I changed
Code:
#define Ma2(x, y, z) ((y & z) | (x & (y | z)))
to
Code:
#define Ma2(x, y, z) amd_bytealign((z^y), (x), (y))

The other modification is
Code:
 #define Ma(x, y, z) amd_bytealign((y), (x | z), (z & x))
Code:
  #define Ma(x, y, z) amd_bytealign( (z^x), (y), (x) )
EDIT: Leaving this up so nobody asks the same thing again
full member
Activity: 153
Merit: 100
...
September 02, 2011, 10:29:20 AM
#2
bump so people can see this  Grin
full member
Activity: 153
Merit: 100
...
September 01, 2011, 11:02:31 AM
#1
I've heard some people are getting quite a few coins from hacks like this, so, here goes.

I've found that if you go into your poclbm kernel.cl (only tested on mine  Grin) and change
Code:
#define Ma2(x, y, z) ((y & z) | (x & (y | z)))
To
Code:
#define Ma2(x, y, z) amd_bytealign((z^y), (x), (y))
I get a ~3mhash speedup!
all of my hashes are getting accepted, so I don't know if there are any problems Tongue
My bitcoin address is
Code:
1M8Av4rzfyMMMrP5nqUmmhKHhZKB1U7Zux
Feel free to donate if this works for you  Grin
Jump to: