Bitcoin Forum
April 27, 2024, 02:49:24 AM *
News: Latest Bitcoin Core release: 27.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)
redcodenl
Newbie
*
Offline Offline

Activity: 12
Merit: 0



View Profile WWW
July 01, 2011, 12:31:57 PM
Last edit: July 01, 2011, 03:48:05 PM by redcodenl
 #141

Krypta:

I've seen that before as well, I didn't change it, but it sure looks like it shouldn't even compile!
I haven't tried the alterations yet, but will do so when I come home!

UPDATE: It works great, increase on both 6870's from 287 to 296 (> 3%!)
In order to achieve higher forum ranks, you need both activity points and merit points.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
Jen4538
Full Member
***
Offline Offline

Activity: 167
Merit: 100


View Profile
July 01, 2011, 12:52:55 PM
 #142

thank you very much , this has increased my rate


Jen
msb8r
Member
**
Offline Offline

Activity: 78
Merit: 10


View Profile WWW
July 01, 2011, 01:48:27 PM
 #143

Anyone tried this using guiminer?  I can see the file but not sure if I just edit the portion:

// Ma can also be implemented in terms of BFI_INT...
   #define Ma(x, y, z) amd_bytealign((y), (x | z), (z & x))

This patch works fine with guiminer as well. And yes, just edit the portion you posted.

New Bitcoin directory @ http://btcdir.org/
Fiyasko
Legendary
*
Offline Offline

Activity: 1428
Merit: 1001


Okey Dokey Lokey


View Profile
July 01, 2011, 04:34:36 PM
 #144

Seeing all these success stories makes me wonder if the file i downloaded was actually assembled correctly.
When apply this little 'tweak'
my mh/sec rate increses by seeming 2mhash/s per 6870 core But, the value at what im hashing at jumps all the fuck over the place. like 20-150-270-279-410-4-89.
It's rediculos

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
Fiyasko
Legendary
*
Offline Offline

Activity: 1428
Merit: 1001


Okey Dokey Lokey


View Profile
July 01, 2011, 04:41:52 PM
 #145

Seeing all these success stories makes me wonder if the file i downloaded was actually assembled correctly.
When apply this little 'tweak'
my mh/sec rate increses by seeming 2mhash/s per 6870 core But, the value at what im hashing at jumps all the fuck over the place. like 20-150-270-279-410-4-89.
It's rediculos

Yup, T'was compiled wrong.

Everyone update your GUIminer client
This beautiful tweak fix has been intergrated into the newest update, No weird fiddling required

And i can confirm that i've gained 10mh/s/core now 6870BE

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
ercolinux
Legendary
*
Offline Offline

Activity: 938
Merit: 1000



View Profile WWW
July 01, 2011, 11:06:50 PM
 #146

It works really well:: +3MHs on my 5770 at stock frequencies.

Bitrated user: ercolinux.
bitless (OP)
Newbie
*
Offline Offline

Activity: 28
Merit: 0


View Profile
July 02, 2011, 04:24:53 AM
 #147

Krypta - it looks like r0() and r1() aren't used; try deleting them if you like.

Note that they aren't used by the phatk kernel that I've got, and even though I can't think of circumstances in which r0() will compile correctly, still, be careful if your kernel is different!

Krypta
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
July 02, 2011, 06:20:46 AM
 #148

Thank you bitless, it seems you are right, they are never used, so I really don't know why these modifications halved my stales.

Here's another strange thing:

Code:
256	Vals[0]=H[0];
257 Vals[1]=H[1];
258 Vals[2]=H[2];
259 Vals[3]=H[3];
260 Vals[4]=H[4];
261 Vals[5]=H[5];
262 Vals[6]=H[6];
263 Vals[7]=H[7];
264
265 Vals[7] = 0xb0edbdd0 + K[0] + W[64] + 0x08909ae5U;
266 Vals[3] = 0xa54ff53a + 0xb0edbdd0 + K[0] + W[64];

I think we can comment out

Code:
259	//Vals[3]=H[3];
263 //Vals[7]=H[7];

because they are changed on lines 265 and 266 before they are used, am I right?

Thanks.
Krypta
bitless (OP)
Newbie
*
Offline Offline

Activity: 28
Merit: 0


View Profile
July 02, 2011, 06:28:16 AM
 #149

You may be right. May I suggest you run the kernel analyzer and see the disasm of both versions and see if the generated code is any different?

(This is because things like x=1; x=2; x=3; are easily converted by the compiler to just x=3;  )
joulesbeef
Sr. Member
****
Offline Offline

Activity: 476
Merit: 250


moOo


View Profile
July 02, 2011, 06:43:37 AM
 #150

put my 5830 up to 323.6.. very nice

mooo for rent
Krypta
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
July 02, 2011, 07:03:06 AM
 #151

You may be right. May I suggest you run the kernel analyzer and see the disasm of both versions and see if the generated code is any different?

(This is because things like x=1; x=2; x=3; are easily converted by the compiler to just x=3;  )
You are right, it's the same  Wink

No improvement then...

K.
Palmdetroit
Legendary
*
Offline Offline

Activity: 910
Merit: 1000


PHS 50% PoS - Stop mining start minting


View Profile
July 02, 2011, 07:13:14 AM
 #152

Thanks boosted mah 6770s ~3%

karoshi
Newbie
*
Offline Offline

Activity: 11
Merit: 0


View Profile
July 02, 2011, 08:38:29 AM
 #153

wow, thanks.

each of my cards is making 357 now instead of 347. I thought these kernels were optimized to the max.
dafuq
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
July 02, 2011, 09:20:11 AM
 #154

hehe will try it Cheesy thx
Gui_0
Newbie
*
Offline Offline

Activity: 41
Merit: 0


View Profile
July 02, 2011, 08:37:18 PM
 #155

my GPU usage (and thus hashrate) has always fluctuated like a small sine wave from 99% - 90% , after this patch, they all stay a straight line 99% , so that's way more than a 3% increase in hashrate for me.
What's weird, mine went from 90%-96% to 96% straight but the added performance adds 1.5C to the temperature, I might have to clock down a bit to get tot he previous 90C stable line, which means I am forfeiting the benefits of the above optimization. At least I use less energy, the Earth will thank us all...

You're still being more efficient and saving money by using less energy. His optimization made your load a constant 96% instead of 90%-96%, so your GPU has less time to cool. You should still get as many hashes as you did before, if not more, plus less energy Cheesy
Diapolo
Hero Member
*****
Offline Offline

Activity: 769
Merit: 500



View Profile WWW
July 02, 2011, 10:40:40 PM
 #156

Did you guys try my phatk kernel-mod from here: http://forum.bitcoin.org/index.php?topic=25135.0
I really would like to get some feedback Smiley.

Thanks,
Dia

Liked my former work for Bitcoin Core? Drop me a donation via:
1PwnvixzVAKnAqp8LCV8iuv7ohzX2pbn5x
bitcoin:1PwnvixzVAKnAqp8LCV8iuv7ohzX2pbn5x?label=Diapolo
Alan Lupton
Newbie
*
Offline Offline

Activity: 42
Merit: 0


View Profile
July 04, 2011, 07:10:40 AM
 #157

Did anybody experience more rejected packages? I used to be a 99.xx% guy, but now I'm down to 96.5 - 97%. I'm talking about 6 workers on 2 different systems. Coincidence?
xurious
Sr. Member
****
Offline Offline

Activity: 413
Merit: 250


View Profile
July 04, 2011, 11:44:40 AM
 #158

This worked for me on all my cards. Roughly 2-4% on 3x 6850's, 5870, and 5770. Thanks!

SiaMining.com -- First PPS SiaMining Pool! 3%, VarDiff, Stratum Support
Rob P.
Member
**
Offline Offline

Activity: 84
Merit: 10


View Profile WWW
July 05, 2011, 12:37:41 PM
 #159

put my 5830 up to 323.6.. very nice

Hmmm, that's a helluva rate for a 5830.  Can you share your voltage, GPU, and RAM clocks please?

--

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.
klaaster
Full Member
***
Offline Offline

Activity: 126
Merit: 100



View Profile
July 05, 2011, 12:57:34 PM
 #160

I'm getting 327 with this on a Sapphire Xtreme 5830.

Ubuntu11.04_64, 1030/300/1.2V/66°C

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!