Pages:
Author

Topic: 3% faster mining with phoenix+phatk, diablo, or poclbm for everyone (Read 39142 times)

hero member
Activity: 686
Merit: 500
Shame on everything; regret nothing.
FYI this change is found already in both the phatk and poclbm kernels in linux coin.

Ah, thank you -- just the confirmation I was looking for, without having to muddle with my OS
newbie
Activity: 15
Merit: 0
FYI this change is found already in both the phatk and poclbm kernels in linux coin.
hero member
Activity: 770
Merit: 502
Does this tweak/mod apply to the latest GUIMiner? When I installed GUIMiner, I did not create a new miner, GUIMiner is using what ever it uses when you fire it up [Default] tab.

Could you add explicit instructions " I am guessing I am using POCLBM?".

From what I see, there are instructions for phatk's.

But then you say
Quote
Works also for POCLBM, just need to edit bitcoinminer.cl and change very same line.

I opened bitcoinminer.cl and did not find
Quote
#define Ma(x, y, z) amd_bytealign((y), (x | z), (z & x))
hero member
Activity: 772
Merit: 500
Diapolo I have been following your thread. You have put a lot of work into it and I look forward to further testing. That being said, including these kernel mods makes it difficult to tell how successful your changes are (lack of control). If your modifications are truly beneficial they will be included in the mainline. 

Also, I believe the original developers are not getting the attention they deserve. These kernel mods and experimentation are welcomed by the community, but lets not forget who put in the original effort!

I would say mods are "truly beneficial", if they lower the needed ALU OPs to process the kernel. This can be checked via AMD APP KernelAnalyzer and is what I try to do. You are absolutely right, that we should not forget the ones, who created a kernel in it's basic version. I couldn't have done this, that's for sure! But in the end we are all interested in the same ... to calculate BTC faster or more efficient, right?

Dia
sr. member
Activity: 378
Merit: 255
Diapolo I have been following your thread. You have put a lot of work into it and I look forward to further testing. That being said, including these kernel mods makes it difficult to tell how successful your changes are (lack of control). If your modifications are truly beneficial they will be included in the mainline. 

Also, I believe the original developers are not getting the attention they deserve. These kernel mods and experimentation are welcomed by the community, but lets not forget who put in the original effort!
hero member
Activity: 772
Merit: 500
As will DiabloMiner

I would just like to restate, if you would like to get these tweaks your best bet is to just update your miner. The big 3 have all been updated at this point and you are better off not editing source unless you have to. The developers are very responsive to modifications in the kernel that can be shown to improve efficiency.

That would state, one should trust only "the big 3" when it comes to kernel kernel updates, which I think is NOT true Smiley.
You are right, it's harder to edit the OpenCL kernel for yourself, but there is no reason in not trying out modified / optimized kernels (like mine)!

Dia
sr. member
Activity: 378
Merit: 255
As will DiabloMiner

I would just like to restate, if you would like to get these tweaks your best bet is to just update your miner. The big 3 have all been updated at this point and you are better off not editing source unless you have to. The developers are very responsive to modifications in the kernel that can be shown to improve efficiency.
newbie
Activity: 46
Merit: 0
Win7, dual 6970s, Guiminer w/ poclbm.

Went from ~ 409Mhash per card to 423Mhash per card.  Grin
legendary
Activity: 1162
Merit: 1000
DiabloMiner author
Question, if you have to use the BFI_INT flag for this tweak to work with the Phoenix Phatk kernel what flag do you use to make use of it with POCLBM? I'm running the latest version of GUIMiner with the default OpenCL POCLBM miner and extra flags "-v -w128 -f2". I applied this kernel tweak to the modified phatk.cl file that is in the main directory for GUIMiner and it seemed to give me a boost in hash rate but is it actually working without an additional flag?


poclbm will automatically do BFI_INT if your hardware is capable.

As will DiabloMiner
sr. member
Activity: 378
Merit: 255
Question, if you have to use the BFI_INT flag for this tweak to work with the Phoenix Phatk kernel what flag do you use to make use of it with POCLBM? I'm running the latest version of GUIMiner with the default OpenCL POCLBM miner and extra flags "-v -w128 -f2". I applied this kernel tweak to the modified phatk.cl file that is in the main directory for GUIMiner and it seemed to give me a boost in hash rate but is it actually working without an additional flag?


poclbm will automatically do BFI_INT if your hardware is capable.
newbie
Activity: 55
Merit: 0
well with this boost and the -f2 tag that i tried via burning's post i have a boost of 10 mhash which is 3.3%

You applied the tweak to the phatk.cl file in the main part of the GUIMiner folder didn't you? Because I don't see the bitminer.cl file included with the latest update to GUIMiner any more so I'm guessing that is due to it being replaced with the modified phatk kernel.
newbie
Activity: 55
Merit: 0
Question, if you have to use the BFI_INT flag for this tweak to work with the Phoenix Phatk kernel what flag do you use to make use of it with POCLBM? I'm running the latest version of GUIMiner with the default OpenCL POCLBM miner and extra flags "-v -w128 -f2". I applied this kernel tweak to the modified phatk.cl file that is in the main directory for GUIMiner and it seemed to give me a boost in hash rate but is it actually working without an additional flag?
legendary
Activity: 1162
Merit: 1000
DiabloMiner author
This actually slows down my poor little 5670  Tongue     94==>92
 
What is meant by "This will ONLY WORK if you're running with BFI_INT"? Maybe that's my problem

If you're on one, you should be. OTOH, it shouldn't be slowing it down if you dont have BFI_INT enabled
I thought only 57XX cards support bfi int

lol? All 5xxx and 6xxx do.
full member
Activity: 126
Merit: 100
This actually slows down my poor little 5670  Tongue     94==>92
 
What is meant by "This will ONLY WORK if you're running with BFI_INT"? Maybe that's my problem

If you're on one, you should be. OTOH, it shouldn't be slowing it down if you dont have BFI_INT enabled
I thought only 57XX cards support bfi int
hero member
Activity: 772
Merit: 500
All who tried this kernel, the MA-function patch from this thread is included in my modified phatk kernel.
You are able to run it with SDK 2.1, too ... so give it a try Smiley.

http://forum.bitcoin.org/index.php?topic=25860.0

YES, this seems to be an ad Cheesy.

Dia
legendary
Activity: 1162
Merit: 1000
DiabloMiner author
This actually slows down my poor little 5670  Tongue     94==>92
 
What is meant by "This will ONLY WORK if you're running with BFI_INT"? Maybe that's my problem

If you're on one, you should be. OTOH, it shouldn't be slowing it down if you dont have BFI_INT enabled
full member
Activity: 210
Merit: 100
This actually slows down my poor little 5670  Tongue     94==>92
 
What is meant by "This will ONLY WORK if you're running with BFI_INT"? Maybe that's my problem
member
Activity: 68
Merit: 10
sr. member
Activity: 434
Merit: 250
I was getting 272mh/s with my 5830. After implimenting this change, I'm getting 278 or 279. Not too shabby Smiley
sr. member
Activity: 714
Merit: 250
Got a few mhash on each of my systems, except on my dual 5870 system... Didn't really see a change.

This may just be me or a coincidence, but my single card system showed bigger gains than my multiple card systems. Also my more heavily overclocked systems showed less gains than my less overclocked systems.

Thanks a bunch.
Pages:
Jump to: