Bitcoin Forum
November 07, 2024, 05:41:55 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 ... 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 [180] 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 »
  Print  
Author Topic: [LOCKED] cpuminer-opt v3.12.3, open source optimized multi-algo CPU miner  (Read 444060 times)
MiningTaken
Newbie
*
Offline Offline

Activity: 28
Merit: 0


View Profile
March 29, 2018, 08:12:16 AM
 #3581

Hi, need an enlightenment here.  Smiley
Does CPUminer-Opt has built-in command line options to set CPU affinity?
Thanks before.
andnet
Member
**
Offline Offline

Activity: 141
Merit: 10


View Profile
March 29, 2018, 04:55:09 PM
 #3582

Hi, need an enlightenment here.  Smiley
Does CPUminer-Opt has built-in command line options to set CPU affinity?
Thanks before.

start /affinity 55 cpuminer...... or   --cpu-affinity 0x55
MiningTaken
Newbie
*
Offline Offline

Activity: 28
Merit: 0


View Profile
March 29, 2018, 05:01:05 PM
 #3583

Hi, need an enlightenment here.  Smiley
Does CPUminer-Opt has built-in command line options to set CPU affinity?
Thanks before.

start /affinity 55 cpuminer...... or   --cpu-affinity 0x55

Got it. Thank you. Smiley
andnet
Member
**
Offline Offline

Activity: 141
Merit: 10


View Profile
March 29, 2018, 06:20:59 PM
 #3584

Hi, need an enlightenment here.  Smiley
Does CPUminer-Opt has built-in command line options to set CPU affinity?
Thanks before.

start /affinity 55 cpuminer...... or   --cpu-affinity 0x55

Got it. Thank you. Smiley

55 is 01010101  t 4  
use calc for youre cpu https://yadi.sk/i/AhXE0h9D3Ttd79
sleepdog
Full Member
***
Offline Offline

Activity: 183
Merit: 100


View Profile
March 30, 2018, 12:31:52 PM
 #3585

55 is 01010101  t 4  
use calc for youre cpu https://yadi.sk/i/AhXE0h9D3Ttd79

Do you have a link to the calculator itself?

EDIT: Found this useful page.
Andre100
Newbie
*
Offline Offline

Activity: 128
Merit: 0


View Profile
March 30, 2018, 09:38:18 PM
 #3586

cpuminer-opt-3.8.5
Added argon2d-crds and argon2d-dyn algos.
sha256t 8 way AVX2 & 4 way SSE4.2 optimized.
CPUs with SSE4.2 get optimizations previously reserved for AVX.

https://github.com/JayDDee/cpuminer-opt/releases/tag/v3.8.5

big move in cryptonight algo with Monero and other fork...
some move to V7, some not....
some be used antiAsic made by Monero Dev team, some(like Sumo Dev) go much deep with antiAsic and move to new algo cryptonight-heavy

can you make and add this algo to cpuminer-opt?
andnet
Member
**
Offline Offline

Activity: 141
Merit: 10


View Profile
March 30, 2018, 10:44:51 PM
 #3587

55 is 01010101  t 4  
use calc for youre cpu https://yadi.sk/i/AhXE0h9D3Ttd79

Do you have a link to the calculator itself?

http://calculatori.ru/perevod-chisel.html
ol92
Sr. Member
****
Offline Offline

Activity: 445
Merit: 255


View Profile
March 31, 2018, 01:36:31 PM
 #3588

cpuminer-opt-3.8.5

Added argon2d-crds and argon2d-dyn algos.
sha256t 8 way AVX2 & 4 way SSE4.2 optimized.
CPUs with SSE4.2 get optimizations previously reserved for AVX.

https://github.com/JayDDee/cpuminer-opt/releases/tag/v3.8.5



Hello, it seems that avx512 can make a big difference for argon2d: avx512 can reach very high hashrate according to https://docs.google.com/spreadsheets/d/1ZTbJWvvSUu-5ULL-FGCdCuDGwa4SJsj6lj4ns50lJYM/edit#gid=0
with a 7820x (6 cores) can surpass the amd 1950x.

For this processor : 36000 with avx512 versus 28500 with probably avx2.

 With beastpool avx2, I can reach 38 000 with my xeon E5 2696V3 @2,7 ghz.
Nokedli
Newbie
*
Offline Offline

Activity: 15
Merit: 0


View Profile
March 31, 2018, 02:31:12 PM
 #3589

Argon2 SOLO no any accepted block with 3.8.5
No error, cpu usage 100%, but no accepted block.
same with 2x2680v1/Manjaro and 1700x/W10

3.8.4.1 accepting blocks on both config.
joblo (OP)
Legendary
*
Offline Offline

Activity: 1470
Merit: 1114


View Profile
March 31, 2018, 03:55:55 PM
 #3590

Argon2 SOLO no any accepted block with 3.8.5
No error, cpu usage 100%, but no accepted block.
same with 2x2680v1/Manjaro and 1700x/W10

3.8.4.1 accepting blocks on both config.

I think I found the bug. Argon2 and Argon2d had many name conflicts so I renamed all the argon2
conflicting names, but missed one, so it was calling the wrong version of a function.
I haven't found a pool to test it but it should work in the next release.

AKA JayDDee, cpuminer-opt developer. https://github.com/JayDDee/cpuminer-opt
https://bitcointalk.org/index.php?topic=5226770.msg53865575#msg53865575
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
joblo (OP)
Legendary
*
Offline Offline

Activity: 1470
Merit: 1114


View Profile
March 31, 2018, 04:00:26 PM
 #3591


Hello, it seems that avx512 can make a big difference for argon2d: avx512 can reach very high hashrate according to https://docs.google.com/spreadsheets/d/1ZTbJWvvSUu-5ULL-FGCdCuDGwa4SJsj6lj4ns50lJYM/edit#gid=0
with a 7820x (6 cores) can surpass the amd 1950x.

For this processor : 36000 with avx512 versus 28500 with probably avx2.

 With beastpool avx2, I can reach 38 000 with my xeon E5 2696V3 @2,7 ghz.

So, where did this magnificent AVX512 code come from?

AKA JayDDee, cpuminer-opt developer. https://github.com/JayDDee/cpuminer-opt
https://bitcointalk.org/index.php?topic=5226770.msg53865575#msg53865575
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
ol92
Sr. Member
****
Offline Offline

Activity: 445
Merit: 255


View Profile
March 31, 2018, 04:13:01 PM
 #3592


Hello, it seems that avx512 can make a big difference for argon2d: avx512 can reach very high hashrate according to https://docs.google.com/spreadsheets/d/1ZTbJWvvSUu-5ULL-FGCdCuDGwa4SJsj6lj4ns50lJYM/edit#gid=0
with a 7820x (6 cores) can surpass the amd 1950x.

For this processor : 36000 with avx512 versus 28500 with probably avx2.

 With beastpool avx2, I can reach 38 000 with my xeon E5 2696V3 @2,7 ghz.

So, where did this magnificent AVX512 code come from?
It seems beastpool miner has a AVX512 version at least:
https://github.com/BeastPool/cpuminer-argon2d/releases
the sources are provided, with some info in the file avxdefs.h.

joblo (OP)
Legendary
*
Offline Offline

Activity: 1470
Merit: 1114


View Profile
March 31, 2018, 04:48:30 PM
 #3593


Hello, it seems that avx512 can make a big difference for argon2d: avx512 can reach very high hashrate according to https://docs.google.com/spreadsheets/d/1ZTbJWvvSUu-5ULL-FGCdCuDGwa4SJsj6lj4ns50lJYM/edit#gid=0
with a 7820x (6 cores) can surpass the amd 1950x.

For this processor : 36000 with avx512 versus 28500 with probably avx2.

 With beastpool avx2, I can reach 38 000 with my xeon E5 2696V3 @2,7 ghz.

So, where did this magnificent AVX512 code come from?
It seems beastpool miner has a AVX512 version at least:
https://github.com/BeastPool/cpuminer-argon2d/releases
the sources are provided, with some info in the file avxdefs.h.

What a farce!

I put the AVX512 code in avxdefs in early preparation for when I start converting the existing
AVX2 code to AVX512.

It's expemimental and ISN'T USED ANYWHERE.

So beastpool forks my code, assumes the AVX512 is active and claims it in his release.
That's either pretty stupid or deliberately deceptive.


AKA JayDDee, cpuminer-opt developer. https://github.com/JayDDee/cpuminer-opt
https://bitcointalk.org/index.php?topic=5226770.msg53865575#msg53865575
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
ol92
Sr. Member
****
Offline Offline

Activity: 445
Merit: 255


View Profile
March 31, 2018, 04:56:12 PM
 #3594


Hello, it seems that avx512 can make a big difference for argon2d: avx512 can reach very high hashrate according to https://docs.google.com/spreadsheets/d/1ZTbJWvvSUu-5ULL-FGCdCuDGwa4SJsj6lj4ns50lJYM/edit#gid=0
with a 7820x (6 cores) can surpass the amd 1950x.

For this processor : 36000 with avx512 versus 28500 with probably avx2.

 With beastpool avx2, I can reach 38 000 with my xeon E5 2696V3 @2,7 ghz.

So, where did this magnificent AVX512 code come from?
It seems beastpool miner has a AVX512 version at least:
https://github.com/BeastPool/cpuminer-argon2d/releases
the sources are provided, with some info in the file avxdefs.h.

What a farce!

I put the AVX512 code in avxdefs in early preparation for when I start converting the existing
AVX2 code to AVX512.

It's expemimental and ISN'T USED ANYWHERE.

So beastpool forks my code, assumes the AVX512 is active and claims it in his release.
That's either pretty stupid or deliberately deceptive.



Or they didn't release the sources for their avx512 code... Now I have some doubts.

The miner included in the wallet pretend to have avx 512 code too:
https://github.com/duality-solutions/Dynamic
joblo (OP)
Legendary
*
Offline Offline

Activity: 1470
Merit: 1114


View Profile
March 31, 2018, 04:57:06 PM
 #3595

cpuminer-opt-3.8.6

Fixed argon2 regression in v3.8.5.
Added x16s algo for Pigeoncoin.
Some code cleanup.

https://github.com/JayDDee/cpuminer-opt/releases/tag/v3.8.6

I plan to remove the AVX Windows binary in the next release.
Please report any concerns with supporting data.

AKA JayDDee, cpuminer-opt developer. https://github.com/JayDDee/cpuminer-opt
https://bitcointalk.org/index.php?topic=5226770.msg53865575#msg53865575
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
ol92
Sr. Member
****
Offline Offline

Activity: 445
Merit: 255


View Profile
March 31, 2018, 05:06:35 PM
 #3596


Hello, it seems that avx512 can make a big difference for argon2d: avx512 can reach very high hashrate according to https://docs.google.com/spreadsheets/d/1ZTbJWvvSUu-5ULL-FGCdCuDGwa4SJsj6lj4ns50lJYM/edit#gid=0
with a 7820x (6 cores) can surpass the amd 1950x.

For this processor : 36000 with avx512 versus 28500 with probably avx2.

 With beastpool avx2, I can reach 38 000 with my xeon E5 2696V3 @2,7 ghz.

So, where did this magnificent AVX512 code come from?
It seems beastpool miner has a AVX512 version at least:
https://github.com/BeastPool/cpuminer-argon2d/releases
the sources are provided, with some info in the file avxdefs.h.

What a farce!

I put the AVX512 code in avxdefs in early preparation for when I start converting the existing
AVX2 code to AVX512.

It's expemimental and ISN'T USED ANYWHERE.

So beastpool forks my code, assumes the AVX512 is active and claims it in his release.
That's either pretty stupid or deliberately deceptive.



Or they didn't release the sources for their avx512 code... Now I have some doubts.

The miner included in the wallet pretend to have avx 512 code too:
https://github.com/duality-solutions/Dynamic


In the wallet miner code (not beastpool miner but the dyn wallet miner): file opt.c, I find this code:
#if defined(__AVX512F__)
static void fill_block(__m512i *state, const block *ref_block,
                       block *next_block, int with_xor) {
    __m512i block_XY[ARGON2_512BIT_WORDS_IN_BLOCK];
    unsigned int i;

    if (with_xor) {
        for (i = 0; i < ARGON2_512BIT_WORDS_IN_BLOCK; i++) {
            state = _mm512_xor_si512(
                state, _mm512_loadu_si512((const __m512i *)ref_block->v + i));
            block_XY = _mm512_xor_si512(
                state, _mm512_loadu_si512((const __m512i *)next_block->v + i));
        }
    } else {
        for (i = 0; i < ARGON2_512BIT_WORDS_IN_BLOCK; i++) {
            block_XY = state = _mm512_xor_si512(
                state, _mm512_loadu_si512((const __m512i *)ref_block->v + i));
        }
    }

    for (i = 0; i < 2; ++i) {
        BLAKE2_ROUND_1(
            state[8 * i + 0], state[8 * i + 1], state[8 * i + 2], state[8 * i + 3],
            state[8 * i + 4], state[8 * i + 5], state[8 * i + 6], state[8 * i + 7]);
    }

    for (i = 0; i < 2; ++i) {
        BLAKE2_ROUND_2(
            state[2 * 0 + i], state[2 * 1 + i], state[2 * 2 + i], state[2 * 3 + i],
            state[2 * 4 + i], state[2 * 5 + i], state[2 * 6 + i], state[2 * 7 + i]);
    }

    for (i = 0; i < ARGON2_512BIT_WORDS_IN_BLOCK; i++) {
        state = _mm512_xor_si512(state, block_XY);
        _mm512_storeu_si512((__m512i *)next_block->v + i, state);
    }
}

And there is some avx512 code in blamka-round-opt.h too.
joblo (OP)
Legendary
*
Offline Offline

Activity: 1470
Merit: 1114


View Profile
March 31, 2018, 05:09:02 PM
 #3597


Hello, it seems that avx512 can make a big difference for argon2d: avx512 can reach very high hashrate according to https://docs.google.com/spreadsheets/d/1ZTbJWvvSUu-5ULL-FGCdCuDGwa4SJsj6lj4ns50lJYM/edit#gid=0
with a 7820x (6 cores) can surpass the amd 1950x.

For this processor : 36000 with avx512 versus 28500 with probably avx2.

 With beastpool avx2, I can reach 38 000 with my xeon E5 2696V3 @2,7 ghz.

So, where did this magnificent AVX512 code come from?
It seems beastpool miner has a AVX512 version at least:
https://github.com/BeastPool/cpuminer-argon2d/releases
the sources are provided, with some info in the file avxdefs.h.

What a farce!

I put the AVX512 code in avxdefs in early preparation for when I start converting the existing
AVX2 code to AVX512.

It's expemimental and ISN'T USED ANYWHERE.

So beastpool forks my code, assumes the AVX512 is active and claims it in his release.
That's either pretty stupid or deliberately deceptive.



Or they didn't release the sources for their avx512 code... Now I have some doubts.

The miner included in the wallet pretend to have avx 512 code too:
https://github.com/duality-solutions/Dynamic


It appears the AVX512 in the wallet is legitimate but if you look at the beastpool miners page
there's no evidence of any supercharged stratum miners.

AKA JayDDee, cpuminer-opt developer. https://github.com/JayDDee/cpuminer-opt
https://bitcointalk.org/index.php?topic=5226770.msg53865575#msg53865575
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
ol92
Sr. Member
****
Offline Offline

Activity: 445
Merit: 255


View Profile
March 31, 2018, 08:35:35 PM
 #3598


Hello, it seems that avx512 can make a big difference for argon2d: avx512 can reach very high hashrate according to https://docs.google.com/spreadsheets/d/1ZTbJWvvSUu-5ULL-FGCdCuDGwa4SJsj6lj4ns50lJYM/edit#gid=0
with a 7820x (6 cores) can surpass the amd 1950x.

For this processor : 36000 with avx512 versus 28500 with probably avx2.

 With beastpool avx2, I can reach 38 000 with my xeon E5 2696V3 @2,7 ghz.

So, where did this magnificent AVX512 code come from?
It seems beastpool miner has a AVX512 version at least:
https://github.com/BeastPool/cpuminer-argon2d/releases
the sources are provided, with some info in the file avxdefs.h.

What a farce!

I put the AVX512 code in avxdefs in early preparation for when I start converting the existing
AVX2 code to AVX512.

It's expemimental and ISN'T USED ANYWHERE.

So beastpool forks my code, assumes the AVX512 is active and claims it in his release.
That's either pretty stupid or deliberately deceptive.



Or they didn't release the sources for their avx512 code... Now I have some doubts.

The miner included in the wallet pretend to have avx 512 code too:
https://github.com/duality-solutions/Dynamic


It appears the AVX512 in the wallet is legitimate but if you look at the beastpool miners page
there's no evidence of any supercharged stratum miners.

I have just checked more carefully on beastpool github: they have added avx512 code (I didn't check if there are some difference with the in wallet miner code for the same opt.c file):

https://github.com/BeastPool/cpuminer-argon2d/blob/master/algo/argon2d/argon2d/opt.c.

Regards,
joblo (OP)
Legendary
*
Offline Offline

Activity: 1470
Merit: 1114


View Profile
April 01, 2018, 01:13:26 AM
 #3599

I have just checked more carefully on beastpool github: they have added avx512 code (I didn't check if there are some difference with the in wallet miner code for the same opt.c file):

https://github.com/BeastPool/cpuminer-argon2d/blob/master/algo/argon2d/argon2d/opt.c.

Regards,

Yes the code is there but it didn't make it into the release even though the commits match.
I can import the code but can't test it.

AKA JayDDee, cpuminer-opt developer. https://github.com/JayDDee/cpuminer-opt
https://bitcointalk.org/index.php?topic=5226770.msg53865575#msg53865575
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
CryptoCoin101
Newbie
*
Offline Offline

Activity: 140
Merit: 0


View Profile WWW
April 02, 2018, 02:40:38 PM
 #3600

Does it run in 32 bit computers?
Pages: « 1 ... 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 [180] 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 »
  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!