Bitcoin Forum
December 12, 2017, 11:22:45 AM *
News: Latest stable version of Bitcoin Core: 0.15.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: « 1 2 3 4 5 6 7 8 [9] 10 11 12 13 14 15 »  All
  Print  
Author Topic: [ANN] YACMiner - AMD GPU miner for Scrypt-Chacha, N-Scrypt, and Scrypt coins  (Read 46662 times)
Wolf0
Legendary
*
Offline Offline

Activity: 1764


Miner Developer


View Profile
November 18, 2014, 06:49:54 PM
 #161

Please,update YACminer for driver 14

You should also ask for a speed increase, lol. Dat chacha...

Code:
Donations: BTC: 1WoLFdwcfNEg64fTYsX1P25KUzzSjtEZC -- XMR: 45SLUTzk7UXYHmzJ7bFN6FPfzTusdUVAZjPRgmEDw7G3SeimWM2kCdnDQXwDBYGUWaBtZNgjYtEYA22aMQT4t8KfU3vHLHG
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1513077765
Hero Member
*
Offline Offline

Posts: 1513077765

View Profile Personal Message (Offline)

Ignore
1513077765
Reply with quote  #2

1513077765
Report to moderator
1513077765
Hero Member
*
Offline Offline

Posts: 1513077765

View Profile Personal Message (Offline)

Ignore
1513077765
Reply with quote  #2

1513077765
Report to moderator
taliya
Newbie
*
Offline Offline

Activity: 2


View Profile
November 19, 2014, 03:09:29 AM
 #162

is scrypt jane(scrypt chacha) nfactor is 12 ?how much the scrypt jane(scrypt chacha) nfactor?please excuse me my english is bad.
Wolf0
Legendary
*
Offline Offline

Activity: 1764


Miner Developer


View Profile
November 20, 2014, 08:44:20 PM
 #163

Oh, dear. That keccak, too... needs help.

EDIT: On second thought - it's not so bad. The chacha helped, but not as much as I thought. Looks like most improvements are non-obvious.

Code:
Donations: BTC: 1WoLFdwcfNEg64fTYsX1P25KUzzSjtEZC -- XMR: 45SLUTzk7UXYHmzJ7bFN6FPfzTusdUVAZjPRgmEDw7G3SeimWM2kCdnDQXwDBYGUWaBtZNgjYtEYA22aMQT4t8KfU3vHLHG
bitcodo
Hero Member
*****
Offline Offline

Activity: 509

Can't upload avatar


View Profile
November 21, 2014, 08:13:58 PM
 #164

is scrypt jane(scrypt chacha) nfactor is 12 ?how much the scrypt jane(scrypt chacha) nfactor?please excuse me my english is bad.

https://docs.google.com/spreadsheet/ccc?key=0Aj3vcsuY-JFNdC1ITWJrSG9VeWp6QXppbVgxcm0tbGc&usp=drive_web#gid=0




Oh, dear. That keccak, too... needs help.

EDIT: On second thought - it's not so bad. The chacha helped, but not as much as I thought. Looks like most improvements are non-obvious.

 Huh

can you explain
Wolf0
Legendary
*
Offline Offline

Activity: 1764


Miner Developer


View Profile
November 21, 2014, 08:34:37 PM
 #165

is scrypt jane(scrypt chacha) nfactor is 12 ?how much the scrypt jane(scrypt chacha) nfactor?please excuse me my english is bad.

https://docs.google.com/spreadsheet/ccc?key=0Aj3vcsuY-JFNdC1ITWJrSG9VeWp6QXppbVgxcm0tbGc&usp=drive_web#gid=0




Oh, dear. That keccak, too... needs help.

EDIT: On second thought - it's not so bad. The chacha helped, but not as much as I thought. Looks like most improvements are non-obvious.

 Huh

can you explain

I'm working on improving the code.

Code:
Donations: BTC: 1WoLFdwcfNEg64fTYsX1P25KUzzSjtEZC -- XMR: 45SLUTzk7UXYHmzJ7bFN6FPfzTusdUVAZjPRgmEDw7G3SeimWM2kCdnDQXwDBYGUWaBtZNgjYtEYA22aMQT4t8KfU3vHLHG
bitcodo
Hero Member
*****
Offline Offline

Activity: 509

Can't upload avatar


View Profile
November 21, 2014, 08:57:25 PM
 #166

I'm working on improving the code.

Because
Anyone who wants to do it has the ability - the code is all on github.  I no longer have the time or ambition to work on it.
, you could post where we can follow your work. sgminer v5 thread? Any tests with R7 240 4GB?  Smiley
Bombadil
Hero Member
*****
Offline Offline

Activity: 644



View Profile
November 21, 2014, 09:03:53 PM
 #167

I'm working on improving the code.

Because
Anyone who wants to do it has the ability - the code is all on github.  I no longer have the time or ambition to work on it.
, you could post where we can follow your work. sgminer v5 thread? Any tests with R7 240 4GB?  Smiley

Don't get your hopes up yet Tongue
Wolf0
Legendary
*
Offline Offline

Activity: 1764


Miner Developer


View Profile
November 22, 2014, 01:09:19 AM
 #168

I'm working on improving the code.

Because
Anyone who wants to do it has the ability - the code is all on github.  I no longer have the time or ambition to work on it.
, you could post where we can follow your work. sgminer v5 thread? Any tests with R7 240 4GB?  Smiley

I don't have an R7 240 - I'm just working on making it faster.

Code:
Donations: BTC: 1WoLFdwcfNEg64fTYsX1P25KUzzSjtEZC -- XMR: 45SLUTzk7UXYHmzJ7bFN6FPfzTusdUVAZjPRgmEDw7G3SeimWM2kCdnDQXwDBYGUWaBtZNgjYtEYA22aMQT4t8KfU3vHLHG
Wolf0
Legendary
*
Offline Offline

Activity: 1764


Miner Developer


View Profile
November 23, 2014, 04:24:52 PM
 #169

Works on 14.9 now; not sure if it did before, though.

Code:
Donations: BTC: 1WoLFdwcfNEg64fTYsX1P25KUzzSjtEZC -- XMR: 45SLUTzk7UXYHmzJ7bFN6FPfzTusdUVAZjPRgmEDw7G3SeimWM2kCdnDQXwDBYGUWaBtZNgjYtEYA22aMQT4t8KfU3vHLHG
Thirtybird
Hero Member
*****
Offline Offline

Activity: 693



View Profile
December 08, 2014, 05:41:34 PM
 #170

Works on 14.9 now; not sure if it did before, though.

Are you sure you're posting in the right thread?  Are you saying you've updated YACMiner, or are you just trolling?

YACMiner: https://github.com/Thirtybird/YACMiner  N-Factor information : https://docs.google.com/spreadsheet/ccc?key=0Aj3vcsuY-JFNdC1ITWJrSG9VeWp6QXppbVgxcm0tbGc&usp=drive_web#gid=0
BTC: 183eSsaxG9y6m2ZhrDhHueoKnZWmbm6jfC  YAC: Y4FKiwKKYGQzcqn3M3u6mJoded6ri1UWHa
Thirtybird
Hero Member
*****
Offline Offline

Activity: 693



View Profile
December 08, 2014, 05:42:39 PM
 #171

I'm working on improving the code.

Because
Anyone who wants to do it has the ability - the code is all on github.  I no longer have the time or ambition to work on it.
, you could post where we can follow your work. sgminer v5 thread? Any tests with R7 240 4GB?  Smiley

The link to the github for this software is in my signature:

https://github.com/Thirtybird/YACMiner

YACMiner: https://github.com/Thirtybird/YACMiner  N-Factor information : https://docs.google.com/spreadsheet/ccc?key=0Aj3vcsuY-JFNdC1ITWJrSG9VeWp6QXppbVgxcm0tbGc&usp=drive_web#gid=0
BTC: 183eSsaxG9y6m2ZhrDhHueoKnZWmbm6jfC  YAC: Y4FKiwKKYGQzcqn3M3u6mJoded6ri1UWHa
Wolf0
Legendary
*
Offline Offline

Activity: 1764


Miner Developer


View Profile
December 08, 2014, 05:49:16 PM
 #172

Works on 14.9 now; not sure if it did before, though.

Are you sure you're posting in the right thread?  Are you saying you've updated YACMiner, or are you just trolling?

I've done some work on the OpenCL, but nothing on the host code.

Code:
Donations: BTC: 1WoLFdwcfNEg64fTYsX1P25KUzzSjtEZC -- XMR: 45SLUTzk7UXYHmzJ7bFN6FPfzTusdUVAZjPRgmEDw7G3SeimWM2kCdnDQXwDBYGUWaBtZNgjYtEYA22aMQT4t8KfU3vHLHG
Thirtybird
Hero Member
*****
Offline Offline

Activity: 693



View Profile
December 08, 2014, 05:55:40 PM
 #173

Works on 14.9 now; not sure if it did before, though.

Are you sure you're posting in the right thread?  Are you saying you've updated YACMiner, or are you just trolling?

I've done some work on the OpenCL, but nothing on the host code.

Ahhh.  Other then the chacha-flexible branch of yacminer, I haven't really touched it since Mikaelh did some optimizing, and only then it was just updates so that lookup-gap wasn't compiled into the binary and could be changed in the host during runtime.

YACMiner: https://github.com/Thirtybird/YACMiner  N-Factor information : https://docs.google.com/spreadsheet/ccc?key=0Aj3vcsuY-JFNdC1ITWJrSG9VeWp6QXppbVgxcm0tbGc&usp=drive_web#gid=0
BTC: 183eSsaxG9y6m2ZhrDhHueoKnZWmbm6jfC  YAC: Y4FKiwKKYGQzcqn3M3u6mJoded6ri1UWHa
Wolf0
Legendary
*
Offline Offline

Activity: 1764


Miner Developer


View Profile
December 08, 2014, 06:03:14 PM
 #174

Works on 14.9 now; not sure if it did before, though.

Are you sure you're posting in the right thread?  Are you saying you've updated YACMiner, or are you just trolling?

I've done some work on the OpenCL, but nothing on the host code.

Ahhh.  Other then the chacha-flexible branch of yacminer, I haven't really touched it since Mikaelh did some optimizing, and only then it was just updates so that lookup-gap wasn't compiled into the binary and could be changed in the host during runtime.

I'm surprised that 64-bit rotate works as well as it does; perhaps it's newer drivers. The chi step in Keccak is slow, though, and while this doesn't matter for performance, what in the flying fuck is this?

Code:
uint Nfactor = 0;
uint tmp = N >> 1;

/* Determine the Nfactor */
while ((tmp & 1) == 0) {
tmp >>= 1;
Nfactor++;
}

That shit just bugs me. It's far simpler to do this:

Code:
const uint Nfactor = 31 - clz((N >> 1) & -(N >> 1));

Code:
Donations: BTC: 1WoLFdwcfNEg64fTYsX1P25KUzzSjtEZC -- XMR: 45SLUTzk7UXYHmzJ7bFN6FPfzTusdUVAZjPRgmEDw7G3SeimWM2kCdnDQXwDBYGUWaBtZNgjYtEYA22aMQT4t8KfU3vHLHG
Thirtybird
Hero Member
*****
Offline Offline

Activity: 693



View Profile
December 08, 2014, 07:25:14 PM
 #175


I'm surprised that 64-bit rotate works as well as it does; perhaps it's newer drivers. The chi step in Keccak is slow, though, and while this doesn't matter for performance, what in the flying fuck is this?

Code:
uint Nfactor = 0;
uint tmp = N >> 1;

/* Determine the Nfactor */
while ((tmp & 1) == 0) {
tmp >>= 1;
Nfactor++;
}

That shit just bugs me. It's far simpler to do this:

Code:
const uint Nfactor = 31 - clz((N >> 1) & -(N >> 1));

I'm guessing because looping and incrementing is easier to grok than bitwise comparison?  Heck, looking at what you've written, I had to do the manual look-and-see to even know that it comes up with the same answer, but then again, C is not my native language.  Today I learned the CLZ function... wouldn't a simpler formula:

Code:
const uint Nfactor = 31 - clz(N >> 1);

or even

Code:
const uint Nfactor = 30 - clz(N);

give the same result as flipping the number and bitwise-anding it?

YACMiner: https://github.com/Thirtybird/YACMiner  N-Factor information : https://docs.google.com/spreadsheet/ccc?key=0Aj3vcsuY-JFNdC1ITWJrSG9VeWp6QXppbVgxcm0tbGc&usp=drive_web#gid=0
BTC: 183eSsaxG9y6m2ZhrDhHueoKnZWmbm6jfC  YAC: Y4FKiwKKYGQzcqn3M3u6mJoded6ri1UWHa
Wolf0
Legendary
*
Offline Offline

Activity: 1764


Miner Developer


View Profile
December 08, 2014, 07:32:04 PM
 #176


I'm surprised that 64-bit rotate works as well as it does; perhaps it's newer drivers. The chi step in Keccak is slow, though, and while this doesn't matter for performance, what in the flying fuck is this?

Code:
uint Nfactor = 0;
uint tmp = N >> 1;

/* Determine the Nfactor */
while ((tmp & 1) == 0) {
tmp >>= 1;
Nfactor++;
}

That shit just bugs me. It's far simpler to do this:

Code:
const uint Nfactor = 31 - clz((N >> 1) & -(N >> 1));

I'm guessing because looping and incrementing is easier to grok than bitwise comparison?  Heck, looking at what you've written, I had to do the manual look-and-see to even know that it comes up with the same answer, but then again, C is not my native language.  Today I learned the CLZ function... wouldn't a simpler formula:

Code:
const uint Nfactor = 31 - clz(N >> 1);

or even

Code:
const uint Nfactor = 30 - clz(N);

give the same result as flipping the number and bitwise-anding it?


Nope. First, clz counts LEADING zeroes, we're trying to count trailing zeroes. Now, imagine we have 1001001 - using clz by itself and subtracting wouldn't work because it would stop at the first 1 it encounters, and there may be more. Not downshifting will screw it up, too - what if the bit we lop off by downshifting happened to be 1? Might work practically, though, not sure.

Code:
Donations: BTC: 1WoLFdwcfNEg64fTYsX1P25KUzzSjtEZC -- XMR: 45SLUTzk7UXYHmzJ7bFN6FPfzTusdUVAZjPRgmEDw7G3SeimWM2kCdnDQXwDBYGUWaBtZNgjYtEYA22aMQT4t8KfU3vHLHG
Thirtybird
Hero Member
*****
Offline Offline

Activity: 693



View Profile
December 08, 2014, 08:20:32 PM
 #177

Nope. First, clz counts LEADING zeroes, we're trying to count trailing zeroes. Now, imagine we have 1001001 - using clz by itself and subtracting wouldn't work because it would stop at the first 1 it encounters, and there may be more. Not downshifting will screw it up, too - what if the bit we lop off by downshifting happened to be 1? Might work practically, though, not sure.

The nice thing about working with factors of 2 - there will only ever be a single 1 in the binary, so not much really matters.  In VS, the following does give the right answer for all the iterations of N.

Code:
Nfactor = __lzcnt(N >> 1 );

either way, I'm glad someone is interested in improving this portion of the miner.

YACMiner: https://github.com/Thirtybird/YACMiner  N-Factor information : https://docs.google.com/spreadsheet/ccc?key=0Aj3vcsuY-JFNdC1ITWJrSG9VeWp6QXppbVgxcm0tbGc&usp=drive_web#gid=0
BTC: 183eSsaxG9y6m2ZhrDhHueoKnZWmbm6jfC  YAC: Y4FKiwKKYGQzcqn3M3u6mJoded6ri1UWHa
Wolf0
Legendary
*
Offline Offline

Activity: 1764


Miner Developer


View Profile
December 08, 2014, 08:28:30 PM
 #178

Nope. First, clz counts LEADING zeroes, we're trying to count trailing zeroes. Now, imagine we have 1001001 - using clz by itself and subtracting wouldn't work because it would stop at the first 1 it encounters, and there may be more. Not downshifting will screw it up, too - what if the bit we lop off by downshifting happened to be 1? Might work practically, though, not sure.

The nice thing about working with factors of 2 - there will only ever be a single 1 in the binary, so not much really matters.  In VS, the following does give the right answer for all the iterations of N.

Code:
Nfactor = __lzcnt(N >> 1 );

either way, I'm glad someone is interested in improving this portion of the miner.

Ah, I see. Nice.

Code:
Donations: BTC: 1WoLFdwcfNEg64fTYsX1P25KUzzSjtEZC -- XMR: 45SLUTzk7UXYHmzJ7bFN6FPfzTusdUVAZjPRgmEDw7G3SeimWM2kCdnDQXwDBYGUWaBtZNgjYtEYA22aMQT4t8KfU3vHLHG
reb0rn21
Legendary
*
Offline Offline

Activity: 1246


View Profile
December 15, 2014, 03:08:23 AM
 #179

I just tested with latest 14.12 omega drivers, I have 2x 290, one works fine even 5% faster, but the GPU in primary slot whatever I try give me:
Error -4: Enqueueing kernel onto command queue. (clEnqueueNDRangeKernel)

Also I had to drop GPU memory usage a lot by 15% (from ~3500Mb to 3070Mb) but still speed is better by 5%

With 13.12 both works fine

So far I tried -d 0 and 1 and only the one in second slot works, also tried connecting monitor just to intel integrated GPU and not using ATI for display, same...

Anyone have any idea can I try something?

... PLAY SHARE EARN...
.LBRY...
                            __¦¦¦__
                        __¦¦¦¦¦¯¦¦¦¦¦__
                    __¦¦¦¦¦¯¯     ¯¯¦¦¦¦¦__
                __¦¦¦¦¦¯¯             ¯¯¦¦¦¦¦__
            __¦¦¦¦¦¯¯                     ¯¯¦¦¦¦¦__
        __¦¦¦¦¦¯¯                             ¯¯¦¦¦¦¦__
    __¦¦¦¦¦¯¯                                     ¯¯¦¦¦
__¦¦¦¦¦¯¯                                         __¦¦¦
¦¦¦¯¯                                         __¦¦¦¦¦¯¯
¦¦¦     ¦__                               __¦¦¦¦¦¯¯
¦¦¦     ¦¦¦¦¦__                       __¦¦¦¦¦¯¯  ________
¦¦¦       ¯¯¦¦¦¦¦__               __¦¦¦¦¦¯¯       ¦¦¦¦¦¦
¦¦¦¦¦__       ¯¯¦¦¦¦¦__       __¦¦¦¦¦¯¯       __¦¦¦¦¦¦¦
  ¯¯¦¦¦¦¦__       ¯¯¦¦¦¦¦___¦¦¦¦¦¯¯       __¦¦¦¦¦¯¯ ¦¦
      ¯¯¦¦¦¦¦__       ¯¯¦¦¦¦¦¯¯       __¦¦¦¦¦¯¯
          ¯¯¦¦¦¦¦__       ¯       __¦¦¦¦¦¯¯
              ¯¯¦¦¦¦¦__       __¦¦¦¦¦¯¯
                  ¯¯¦¦¦¦¦___¦¦¦¦¦¯¯
                      ¯¯¦¦¦¦¦¯¯
                          ¯
Thirtybird
Hero Member
*****
Offline Offline

Activity: 693



View Profile
December 15, 2014, 04:18:17 AM
 #180

I've noticed you can always allocate more memory to a single GPU than you can get away with allocating to 4.  On my rig, I was able to allocate 3800 to one card, but had to drop below 3600 to allocate to all 4.  I can't explain why, and I can't explain why the new drivers do what they do, I'm riding on 13.12 until I pull the plug on my farm.  I have also, noted that on every 4 card rig I have, GPU 2 need to run at either a lower frequency or a lower intensity or with a lower memory allocation.  Always assumed it was because it was the one driving the display, but didn't dig into it.

YACMiner: https://github.com/Thirtybird/YACMiner  N-Factor information : https://docs.google.com/spreadsheet/ccc?key=0Aj3vcsuY-JFNdC1ITWJrSG9VeWp6QXppbVgxcm0tbGc&usp=drive_web#gid=0
BTC: 183eSsaxG9y6m2ZhrDhHueoKnZWmbm6jfC  YAC: Y4FKiwKKYGQzcqn3M3u6mJoded6ri1UWHa
Pages: « 1 2 3 4 5 6 7 8 [9] 10 11 12 13 14 15 »  All
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!