Bitcoin Forum
November 03, 2024, 02:18:46 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 3 [4] 5 6 7 8 9 »  All
  Print  
Author Topic: 3% faster mining with phoenix+phatk for everyone  (Read 36831 times)
bitless (OP)
Newbie
*
Offline Offline

Activity: 28
Merit: 0


View Profile
June 27, 2011, 04:53:09 PM
 #61

Gigabyte 5850 @ 1000/300 - from 390MHash/s to 400MHash/s with the mod applied.
Got a question, which boolean operator is used to sum all the outputs?
((y),(x|z),(z&x))

It is the CH function; given 3 arguments, a,b,c, CH returns B when A==0, and C when A==1. This is the same as (a&b)|(~a&c), which is the way BFI_INT is defined in ATI's docs.
Hawkix
Hero Member
*****
Offline Offline

Activity: 531
Merit: 505



View Profile WWW
June 27, 2011, 04:59:30 PM
 #62

Great, went up promised 3%. So I sent you 3% of my daily income as a tip! Thanks!

Its great someone tries to improve on the OpenCL code. Maybe, if we could check the result of OpenCL compilation (VLIW assembler?), we could fine tune a bit more.

Donations: 1Hawkix7GHym6SM98ii5vSHHShA3FUgpV6
http://btcportal.net/ - All about Bitcoin - coming soon!
PcChip
Sr. Member
****
Offline Offline

Activity: 418
Merit: 250


View Profile
June 27, 2011, 05:12:40 PM
 #63

So m0mchill (or somebody?) already updated the code repository, and hasn't sent you a "thank you" PM yet ?

Legacy signature from 2011: 
All rates with Phoenix 1.50 / PhatK
5850 - 400 MH/s  |  5850 - 355 MH/s | 5830 - 310 MH/s  |  GTX570 - 115 MH/s | 5770 - 210 MH/s | 5770 - 200 MH/s
bitless (OP)
Newbie
*
Offline Offline

Activity: 28
Merit: 0


View Profile
June 27, 2011, 05:16:36 PM
 #64

So m0mchill (or somebody?) already updated the code repository, and hasn't sent you a "thank you" PM yet ?

No, but it is me who should be thanking them for writing these awesome miners to begin with!
heroBitcoin
Newbie
*
Offline Offline

Activity: 12
Merit: 0


View Profile
June 27, 2011, 05:19:08 PM
 #65

yeah, awesome information, thx guy
theunforgiven
Newbie
*
Offline Offline

Activity: 13
Merit: 0


View Profile
June 27, 2011, 05:24:45 PM
 #66

http://k.min.us/jdQi1Q.jpg

can't do it Sad
Soak
Full Member
***
Offline Offline

Activity: 213
Merit: 100



View Profile
June 27, 2011, 05:25:12 PM
Last edit: June 27, 2011, 05:42:39 PM by Soak
 #67

WoW Shocked

310 to 380 Mhash (+18.42%) ! AWESOME! Thank you!

Code:
phoenix -u http://x:x@x:1234/;askrate=10 -k phatk VECTORS BFI_INT AGGRESSION=7 DEVICE=0
phoenix -u http://x:x@x:1234/;askrate=10 -k phatk VECTORS BFI_INT AGGRESSION=7 DEVICE=1

6970 @ Crossfire

Proof:

Before



After

Fiyasko
Legendary
*
Offline Offline

Activity: 1428
Merit: 1001


Okey Dokey Lokey


View Profile
June 27, 2011, 05:28:32 PM
 #68


FYI, You can make the identical change to phoenix+poclbm with the same 2% increase in speed.

Do tell, If theres a simple file to replace that you can upload i'll definitly Tip you
Winx86 GUIminer-poclbm

http://bitcoin-otc.com/viewratingdetail.php?nick=DingoRabiit&sign=ANY&type=RECV <-My Ratings
https://bitcointalk.org/index.php?topic=857670.0 GAWminers and associated things are not to be trusted, Especially the "mineral" exchange
Rob P.
Member
**
Offline Offline

Activity: 84
Merit: 10


View Profile WWW
June 27, 2011, 05:40:16 PM
 #69

Just tossing my confirmations out there:

Sapphire 5830s:

Pair 1:  264 Mhash/sec -> 271 Mhash/sec (each) at 875 MHz GPU, 900 MHz RAM (2.58% increase)
Pair 2:  273 Mhash/sec -> 281 Mhash/sec (each) at 900 MHz GPU, 600 MHz RAM (2.84% increase)

I'm also tracking Rejected shares.

Before Patch:
Pair 1:  ~2.6% rejects (after 800+ shares)
Pair 2:  ~3.2% rejects (after 800+ shares)

After Patch:
Pair 1:  ~3.0% rejects (after 650+ shares)
Pair 2:  ~4.0% (after 750+ shares)

So, the increase appears to also cause additional rejects that should be discounted from total increase gain, cutting it down a full 1% in my case.

--

If you like what I've written here, consider tipping the messenger:
1GZu4CtHa6ai8iWoWiVFxV5VVoNte4SkoG

If you don't like what I've written, send me a Tip and I'll stop talking.
bitless (OP)
Newbie
*
Offline Offline

Activity: 28
Merit: 0


View Profile
June 27, 2011, 05:42:39 PM
 #70


FYI, You can make the identical change to phoenix+poclbm with the same 2% increase in speed.

Do tell, If theres a simple file to replace that you can upload i'll definitly Tip you
Winx86 GUIminer-poclbm

at the office now, no access to the miners, I'll take a look once I get home. In the meantime, search for .cl files and see if you have any Ma (or, even better, amd_bytealign) strings in them and take it from there.
bitless (OP)
Newbie
*
Offline Offline

Activity: 28
Merit: 0


View Profile
June 27, 2011, 05:46:13 PM
 #71

Just tossing my confirmations out there:
...
So, the increase appears to also cause additional rejects that should be discounted from total increase gain, cutting it down a full 1% in my case.

This is really not good. I honestly do not know why this would happen; are you sure it is related to the patch and isn't a result in the general randomness when searching for solutions? Perhaps someone else, more familiar with bitcoin mining than me, can chime in?

bitless (OP)
Newbie
*
Offline Offline

Activity: 28
Merit: 0


View Profile
June 27, 2011, 05:49:49 PM
 #72

can't do it Sad

Yes, you can Smiley what you've done is the CH function, not MA. Now you can build MA on top of it. I don't think this belongs to this thread though, so you can pm me and we'll figure it out. Alternatively, you can ask someone around you for help - two heads are better than one.
bitless (OP)
Newbie
*
Offline Offline

Activity: 28
Merit: 0


View Profile
June 27, 2011, 05:50:54 PM
 #73

WoW Shocked
310 to 380 Mhash (+18.42%) ! AWESOME! Thank you!

Neat-o-rama! Somehow I still don't believe you (and my eyes) Smiley
PcChip
Sr. Member
****
Offline Offline

Activity: 418
Merit: 250


View Profile
June 27, 2011, 05:53:43 PM
 #74

WoW Shocked
310 to 380 Mhash (+18.42%) ! AWESOME! Thank you!

Neat-o-rama! Somehow I still don't believe you (and my eyes) Smiley


I noticed he's using Crossfire on those cards, perhaps the kernel patch somehow makes up for % loss due to using crossfire?

Legacy signature from 2011: 
All rates with Phoenix 1.50 / PhatK
5850 - 400 MH/s  |  5850 - 355 MH/s | 5830 - 310 MH/s  |  GTX570 - 115 MH/s | 5770 - 210 MH/s | 5770 - 200 MH/s
Soak
Full Member
***
Offline Offline

Activity: 213
Merit: 100



View Profile
June 27, 2011, 05:54:05 PM
 #75

Neat-o-rama! Somehow I still don't believe you (and my eyes) Smiley

I do 370 Mhashes with poclbm and the new formula (365 without).
I do 380 Mhashes with phatk and the new formula (310 without).

So, really, +2.63% between poclbm and phatk with the new formula.
TurdHurdur
Full Member
***
Offline Offline

Activity: 216
Merit: 100


View Profile
June 27, 2011, 05:56:19 PM
 #76

Just tossing my confirmations out there:
...
So, the increase appears to also cause additional rejects that should be discounted from total increase gain, cutting it down a full 1% in my case.

This is really not good. I honestly do not know why this would happen; are you sure it is related to the patch and isn't a result in the general randomness when searching for solutions? Perhaps someone else, more familiar with bitcoin mining than me, can chime in?


I'm not seeing this issue with my miners. They range from 0.12% to 2.07% stale. A variance that I'd say rules out your patch being the cause of any supposed increased stales.
theunforgiven
Newbie
*
Offline Offline

Activity: 13
Merit: 0


View Profile
June 27, 2011, 06:02:37 PM
 #77

I want to minimize the expression applying Karnaugh. So I need the main expression that is used on the kernel. But i can't figure out with it.
Hawkix
Hero Member
*****
Offline Offline

Activity: 531
Merit: 505



View Profile WWW
June 27, 2011, 06:09:12 PM
 #78

Seriously, the Ma() function is soo deeply burried, so that if it was wrong, by the principle of good hashing function like SHA256 is, all the hashes would fail.

So, if it can find some good results, all are, with 99.999999999999% probability correct, too.

Donations: 1Hawkix7GHym6SM98ii5vSHHShA3FUgpV6
http://btcportal.net/ - All about Bitcoin - coming soon!
bitless (OP)
Newbie
*
Offline Offline

Activity: 28
Merit: 0


View Profile
June 27, 2011, 06:16:07 PM
 #79

Seriously, the Ma() function is soo deeply burried, so that if it was wrong, by the principle of good hashing function like SHA256 is, all the hashes would fail.

So, if it can find some good results, all are, with 99.999999999999% probability correct, too.

More like 2^-128 if not less Smiley
Clipse
Hero Member
*****
Offline Offline

Activity: 504
Merit: 502


View Profile
June 27, 2011, 06:53:39 PM
 #80

Nice, avg about 2% mhash boost at same clocks. I notice no additional stales, still hovering at 1%

...In the land of the stale, the man with one share is king... >> Clipse

We pay miners at 130% PPS | Signup here : Bonus PPS Pool (Please read OP to understand the current process)
Pages: « 1 2 3 [4] 5 6 7 8 9 »  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!