Bitcoin Forum
December 15, 2024, 06:53:04 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1] 2 3 4 5 »  All
  Print  
Author Topic: 3% faster mining with phoenix+phatk, diablo, or poclbm for everyone  (Read 39150 times)
rethaw (OP)
Sr. Member
****
Offline Offline

Activity: 378
Merit: 255



View Profile
June 27, 2011, 05:04:14 AM
Last edit: June 27, 2011, 06:55:55 PM by rethaw
 #1

Reposted from newbie forum posted by bitless

I just tried this and got >3% improvement in mining speed. On my 6870, I was getting 299 MHash/sec, and now I'm getting 308 or so. The change is simple enough for anyone to do it - you don't need to be a programmer to use it.

You can go to phatk's kernel.cl file (don't worry, it just sits there in the open, no need to recompile anything), find this line
  #define Ma(x, y, z) amd_bytealign((y), (x | z), (z & x))
and change it to this line
  #define Ma(x, y, z) amd_bytealign( (z^x), (y), (x) )
Once you've done it, restart the miner.

Technically, this is 1 less instruction for the Maj function in the hash, which is called ~128 times for each nonce value, so we get +3% to mining speed. This will ONLY WORK if you're running with BFI_INT. I'm using phoenix with phatk kernel on Ubuntu, so YMMV, but I see no reason for this to not work with other setups. As always, do play around with aggression and other settings after you've applied the change. Deepbit seems to be accepting my shares generated this way, but it comes AS IS, without any warranty whatsoever - if it doesn't work for you, or has been posted already, please don't blame me Smiley

If this helps you mine faster, please share your MHash/sec results, before and after. You can also donate to 15igh5HkCXwvvan4aiPYSYZwJZbHxGBYwB . I hear people are getting 50 BTC for things like this, and it would be nice to get some.

If you want to verify the correctness of the change, here's the truth table for the new Ma() function

x y z   Ma
0 0 0   0
1 0 0   0
0 1 0   0
1 1 0   1
0 0 1   0
1 0 1   1
0 1 1   1
1 1 1   1

Works also for POCLBM, just need to edit bitcoinminer.cl and change very same line.

Donate to 15igh5HkCXwvvan4aiPYSYZwJZbHxGBYwB

This is a repost from the newbie forum. https://forum.bitcoin.org/index.php?topic=22965.0;topicseen

CNMOH
Member
**
Offline Offline

Activity: 266
Merit: 10



View Profile
June 27, 2011, 05:14:13 AM
 #2

I saw an 9 MHash/sec (6.2%) increase on one of my miners after this fix, will do it on my other one later as well. Thank you! Will be sending a small donation your way soon.
shivansps
Hero Member
*****
Offline Offline

Activity: 1330
Merit: 502


Vave.com - Crypto Casino


View Profile
June 27, 2011, 05:22:29 AM
 #3

from 355.9 to 372.70 on my 6950 on linux.

██████
██
██
██
██
██
██
██
██
██
██
██████
██████            ██████
 █████            █████
  █████          █████
   █████        █████
 ████████      ████████
  ████████    ████████
      █████  █████  
    ████████████████
    ████████████████
        ████████    
         ██████      
          ████      
           ██         
AVE.COM | BRANDNEW CRYPTO
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀.. CASINO & BETTING PLATFORM
██████
██
██
██
██
██
██
██
██
██
██
██████
██████
██
██
██
██
██
██
██
██
██
██
██████
🏆🎁
██████
██
██
██
██
██
██
██
██
██
██
██████
██████
██
██
██
██
██
██
██
██
██
██
██████
████████████████████████████████   ████████████████   ██████
.
..PLAY NOW..
.
██████   ███████████████████   █████████████████████████████
██████
██
██
██
██
██
██
██
██
██
██
██████
Departure
Sr. Member
****
Offline Offline

Activity: 1204
Merit: 288


View Profile
June 27, 2011, 05:22:56 AM
Last edit: June 27, 2011, 05:39:04 AM by Departure
 #4

Confirmed on windows 7, I got a increase from 387.4 MH/s to 401.7 MH/s per GPU
rethaw (OP)
Sr. Member
****
Offline Offline

Activity: 378
Merit: 255



View Profile
June 27, 2011, 05:24:38 AM
 #5

Looks like the higher end cards are getting about 5%.

shivansps
Hero Member
*****
Offline Offline

Activity: 1330
Merit: 502


Vave.com - Crypto Casino


View Profile
June 27, 2011, 05:28:59 AM
Last edit: June 27, 2011, 05:53:27 AM by shivansps
 #6

Yeah, from 355.9 to 372.7 on unlocked 6950@840mhz, and only from 364 to 367.8 on 5850@920.

279 to 285 on a 6870@950.

██████
██
██
██
██
██
██
██
██
██
██
██████
██████            ██████
 █████            █████
  █████          █████
   █████        █████
 ████████      ████████
  ████████    ████████
      █████  █████  
    ████████████████
    ████████████████
        ████████    
         ██████      
          ████      
           ██         
AVE.COM | BRANDNEW CRYPTO
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀.. CASINO & BETTING PLATFORM
██████
██
██
██
██
██
██
██
██
██
██
██████
██████
██
██
██
██
██
██
██
██
██
██
██████
🏆🎁
██████
██
██
██
██
██
██
██
██
██
██
██████
██████
██
██
██
██
██
██
██
██
██
██
██████
████████████████████████████████   ████████████████   ██████
.
..PLAY NOW..
.
██████   ███████████████████   █████████████████████████████
██████
██
██
██
██
██
██
██
██
██
██
██████
eskil
Newbie
*
Offline Offline

Activity: 23
Merit: 0


View Profile
June 27, 2011, 05:40:27 AM
 #7

Great!

Got an increase of about ~370 to ~380 on both of my 5870

Thank you Smiley
figvam
Newbie
*
Offline Offline

Activity: 42
Merit: 0


View Profile
June 27, 2011, 06:52:43 AM
 #8

Yes, from ~330 to ~340 Mh/sec on an o/c 5850. Great work.
gat3way
Sr. Member
****
Offline Offline

Activity: 256
Merit: 250


View Profile
June 27, 2011, 06:54:42 AM
 #9

Nice find, thanks. Will add this to hashkill as well if you don't mind Smiley
figvam
Newbie
*
Offline Offline

Activity: 42
Merit: 0


View Profile
June 27, 2011, 07:00:51 AM
 #10

Note that the origin of this mod is here: https://forum.bitcoin.org/index.php?topic=22965.0
And here's the author: https://forum.bitcoin.org/index.php?action=profile;u=30003
SgtSpike
Legendary
*
Offline Offline

Activity: 1400
Merit: 1005



View Profile
June 27, 2011, 07:21:37 AM
 #11

280 to 289 on a stock speed 5850... will be using this on all my miners, thanks!
Reikoku
Full Member
***
Offline Offline

Activity: 140
Merit: 100


firstbits: 1kwc1p


View Profile
June 27, 2011, 08:50:13 AM
 #12

379 -> 382 MH/sec on 5850 (966/180)
199 -> 202 MH/sec on 5770 (933/300)
441 -> 449 MH/sec on 5870 (1006/180)

All in all, pretty good!

Rei | 1Kwc1pqv54jCg8jvnm3Gu1dqFQYhS34Bow
Trades So Far: 7
lebuen
Full Member
***
Offline Offline

Activity: 126
Merit: 100


View Profile
June 27, 2011, 09:19:50 AM
 #13

359 -> 367 MH/s on 5850! Thank you very much (small donation will be sent this evening)!
themrhk
Newbie
*
Offline Offline

Activity: 18
Merit: 0


View Profile
June 27, 2011, 09:32:20 AM
 #14

great thanks works perfectly fine!

5830 (970/300) 301 -> 307 Mhash/s
KJaneway
Full Member
***
Offline Offline

Activity: 157
Merit: 100


View Profile
June 27, 2011, 10:16:13 AM
 #15

5870:  350 to 370 MHash /sec

If you like my advise, i would be thankful getting a small donation at:
1Hvpgt5U6EgrWX1WpA25W6mRoH1Ltr8ydm
Roland68
Member
**
Offline Offline

Activity: 103
Merit: 10



View Profile
June 27, 2011, 10:18:58 AM
 #16

5830 980/600 running a 70 deg fans 55%

produce 290 Mh ...

No change under guiminer after update of the kernel file ...

going back to original file ...

good luck

iopq
Hero Member
*****
Offline Offline

Activity: 658
Merit: 500


View Profile
June 27, 2011, 10:22:52 AM
 #17

5830 980/600 running a 70 deg fans 55%

produce 290 Mh ...

No change under guiminer after update of the kernel file ...

going back to original file ...

good luck


did you edit bitminer.cl in the guiminer folder?
Reno
Newbie
*
Offline Offline

Activity: 42
Merit: 0


View Profile
June 27, 2011, 10:31:10 AM
 #18

thx, sent a small donation
kakobrekla
Hero Member
*****
Offline Offline

Activity: 714
Merit: 500


Psi laju, karavani prolaze.


View Profile
June 27, 2011, 11:21:57 AM
 #19

About +5mhash on 5770. *tip sent* Thanks!

Alex AXe
Legendary
*
Offline Offline

Activity: 1218
Merit: 1019



View Profile
June 27, 2011, 12:52:14 PM
 #20

Thanks!
350 -> 365 on my 6950@900MHz  Cheesy

BTC: 1PReUo29T7zSq9RjfBUbcVaYwfZ66mGvzs |  Укpaинcкaя биpжa кpиптoвaлют
Pages: [1] 2 3 4 5 »  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!