Bitcoin Forum
April 26, 2024, 10:51:25 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1] 2 »
1  Alternate cryptocurrencies / Announcements (Altcoins) / Re: [ANN] NYXCOIN POW Masternode Complex Coin Project on: April 01, 2018, 02:44:04 AM
How often, more or less, are you receiving masternode payments for NYXCOIN?
2  Alternate cryptocurrencies / Mining (Altcoins) / Re: sgminer finds OpenCL on Configuration but doesn't on run on: February 27, 2018, 01:46:57 PM
Did you ever fix it? Facing the same issue.
3  Alternate cryptocurrencies / Mining (Altcoins) / --no-getwork for solo mining? on: February 13, 2018, 05:56:22 AM
Is it possible to add the following feature for solo mining?

      --no-getwork      disable getwork support
4  Alternate cryptocurrencies / Mining (Altcoins) / CPU SHA support for sha256d? on: February 13, 2018, 05:26:49 AM
Does cpuminer-opt support CPU SHA functions for sha256d algo? Below, it doesn't seem to be the case.


Code:
# ./cpuminer --benchmark -a sha256d

         **********  cpuminer-opt 3.8.0  ***********
     A CPU miner with multi algo support and optimized for CPUs
     with AES_NI and AVX2 and SHA extensions.
     BTC donation address: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT

CPU: AMD EPYC 7401P 24-Core Processor               .
SW built on Jan 25 2018 with GCC 7.2.0.
CPU features: SSE2 AES AVX AVX2 SHA.
SW features: SSE2 AES AVX AVX2.
Algo features: None.
Start mining with no optimizations.

[2018-02-13 05:20:19] 48 miner threads started, using 'sha256d' algorithm.
5  Alternate cryptocurrencies / Mining (Altcoins) / Re: [ANN]: cpuminer-opt v3.8.0, open source optimized multi-algo CPU miner on: February 04, 2018, 02:33:01 PM
Hi! can someone please make a full guide step by step on how to compile this miner static , on linux? thx

Did you try these instructions:

https://lxadm.com/Static_compilation_of_cpuminer
6  Alternate cryptocurrencies / Mining (Altcoins) / Re: [ANN]: cpuminer-opt v3.8.0, open source optimized multi-algo CPU miner on: February 04, 2018, 02:30:51 PM
Do anybody know  the lyra2z hashrate for "core i5 6400"?

Not exactly the same CPU - 4 of these cores:

Code:
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 158
model name      : Intel(R) Core(TM) i5-7440HQ CPU @ 2.80GHz
stepping        : 9
microcode       : 0x7c
cpu MHz         : 2800.000
cache size      : 6144 KB
physical id     : 0
siblings        : 4
core id         : 0
cpu cores       : 4
apicid          : 0
initial apicid  : 0
fpu             : yes
fpu_exception   : yes
cpuid level     : 22
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb invpcid_single pti intel_pt spec_ctrl tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm mpx rdseed adx smap clflushopt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp
bugs            : cpu_meltdown spectre_v1 spectre_v2
bogomips        : 5616.00
clflush size    : 64
cache_alignment : 64
address sizes   : 39 bits physical, 48 bits virtual
power management:


is giving me (on a laptop with several programs running, browsers with many tabs etc.):

Code:
$ ./cpuminer-opt-3.8.0-fast --benchmark -a lyra2z

         **********  cpuminer-opt 3.8.0  ***********
     A CPU miner with multi algo support and optimized for CPUs
     with AES_NI and AVX2 and SHA extensions.
     BTC donation address: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT

CPU: Intel(R) Core(TM) i5-7440HQ CPU @ 2.80GHz.
SW built on Jan 25 2018 with GCC 7.2.0.
CPU features: SSE2 AES AVX AVX2.
SW features: SSE2 AES AVX AVX2.
Algo features: AVX AVX2.
Start mining with AVX2.

[2018-02-04 23:28:02] 4 miner threads started, using 'lyra2z' algorithm.
[2018-02-04 23:28:05] CPU #3: 65.53 kH, 23.36 kH/s
[2018-02-04 23:28:05] Total: 65.53 kH, 23.36 kH/s, 44C
[2018-02-04 23:28:05] CPU #0: 65.53 kH, 22.18 kH/s
[2018-02-04 23:28:05] CPU #1: 65.53 kH, 21.49 kH/s
[2018-02-04 23:28:06] CPU #2: 65.53 kH, 17.79 kH/s
[2018-02-04 23:28:07] CPU #2: 17.79 kH, 18.85 kH/s
[2018-02-04 23:28:07] CPU #0: 44.36 kH, 23.52 kH/s
[2018-02-04 23:28:07] CPU #3: 46.71 kH, 22.99 kH/s
[2018-02-04 23:28:07] Total: 174.40 kH, 86.85 kH/s, 44C
[2018-02-04 23:28:08] CPU #1: 42.98 kH, 19.48 kH/s
[2018-02-04 23:28:11] CPU #1: 77.90 kH, 21.00 kH/s
[2018-02-04 23:28:12] CPU #3: 114.96 kH, 23.65 kH/s
[2018-02-04 23:28:12] Total: 255.01 kH, 87.01 kH/s, 44C
[2018-02-04 23:28:12] CPU #0: 117.59 kH, 23.64 kH/s
[2018-02-04 23:28:12] CPU #1: 21.00 kH, 23.64 kH/s
[2018-02-04 23:28:13] CPU #2: 94.23 kH, 17.06 kH/s
[2018-02-04 23:28:17] CPU #2: 68.23 kH, 13.95 kH/s
[2018-02-04 23:28:19] CPU #0: 118.18 kH, 17.96 kH/s
[2018-02-04 23:28:19] CPU #1: 118.20 kH, 17.74 kH/s
[2018-02-04 23:28:19] CPU #3: 118.23 kH, 16.74 kH/s
[2018-02-04 23:28:19] Total: 422.84 kH, 66.38 kH/s, 44C
[2018-02-04 23:28:22] CPU #1: 53.22 kH, 17.02 kH/s
[2018-02-04 23:28:22] CPU #3: 50.21 kH, 17.05 kH/s
[2018-02-04 23:28:22] Total: 289.84 kH, 65.98 kH/s, 44C
[2018-02-04 23:28:23] CPU #2: 69.73 kH, 12.83 kH/s
[2018-02-04 23:28:24] CPU #0: 53.88 kH, 9815.55 H/s
[2018-02-04 23:28:25] CPU #0: 29.45 kH, 24.28 kH/s
[2018-02-04 23:28:26] CPU #3: 85.27 kH, 19.96 kH/s
[2018-02-04 23:28:26] Total: 237.65 kH, 74.09 kH/s, 44C
[2018-02-04 23:28:26] CPU #1: 85.12 kH, 19.31 kH/s
[2018-02-04 23:28:27] CPU #2: 51.32 kH, 12.96 kH/s
[2018-02-04 23:28:27] CPU #1: 19.31 kH, 20.62 kH/s
[2018-02-04 23:28:27] CPU #3: 19.96 kH, 20.04 kH/s
[2018-02-04 23:28:27] Total: 120.03 kH, 77.90 kH/s, 44C
[2018-02-04 23:28:28] CPU #0: 48.55 kH, 20.79 kH/s
[2018-02-04 23:28:30] CPU #2: 64.78 kH, 19.26 kH/s
[2018-02-04 23:28:32] CPU #0: 83.15 kH, 18.63 kH/s
[2018-02-04 23:28:33] CPU #3: 100.22 kH, 18.88 kH/s
[2018-02-04 23:28:33] Total: 267.46 kH, 77.39 kH/s, 44C
[2018-02-04 23:28:33] CPU #1: 103.12 kH, 19.11 kH/s
[2018-02-04 23:28:33] CPU #2: 38.51 kH, 12.85 kH/s
[2018-02-04 23:28:36] CPU #2: 51.38 kH, 21.52 kH/s
[2018-02-04 23:28:36] CPU #1: 76.42 kH, 21.01 kH/s
[2018-02-04 23:28:37] CPU #3: 75.50 kH, 19.31 kH/s
[2018-02-04 23:28:37] Total: 286.45 kH, 80.47 kH/s, 45C
[2018-02-04 23:28:37] CPU #2: 21.52 kH, 17.81 kH/s
[2018-02-04 23:28:37] CPU #0: 93.16 kH, 18.68 kH/s
[2018-02-04 23:28:37] CPU #1: 21.00 kH, 24.06 kH/s
[2018-02-04 23:28:41] CPU #3: 96.55 kH, 20.38 kH/s
[2018-02-04 23:28:41] Total: 232.24 kH, 80.93 kH/s, 45C
[2018-02-04 23:28:42] CPU #0: 93.37 kH, 21.32 kH/s
[2018-02-04 23:28:42] CPU #2: 89.06 kH, 16.71 kH/s
[2018-02-04 23:28:43] CPU #3: 20.38 kH, 14.62 kH/s
[2018-02-04 23:28:43] Total: 223.82 kH, 76.71 kH/s, 45C
[2018-02-04 23:28:43] CPU #1: 120.31 kH, 20.39 kH/s
[2018-02-04 23:28:46] CPU #3: 58.47 kH, 17.43 kH/s
[2018-02-04 23:28:46] Total: 361.22 kH, 75.85 kH/s, 45C
[2018-02-04 23:28:47] CPU #2: 83.54 kH, 18.76 kH/s
[2018-02-04 23:28:47] CPU #0: 106.60 kH, 21.05 kH/s
[2018-02-04 23:28:47] CPU #3: 17.43 kH, 24.00 kH/s
[2018-02-04 23:28:47] Total: 327.88 kH, 84.20 kH/s, 45C
[2018-02-04 23:28:48] CPU #1: 81.55 kH, 18.48 kH/s
[2018-02-04 23:28:51] CPU #1: 73.90 kH, 20.35 kH/s
[2018-02-04 23:28:51] CPU #0: 105.25 kH, 22.69 kH/s
[2018-02-04 23:28:52] CPU #3: 120.00 kH, 23.60 kH/s
[2018-02-04 23:28:52] Total: 382.69 kH, 85.39 kH/s, 44C
7  Alternate cryptocurrencies / Pools (Altcoins) / Re: cryptohub.online - multipool + market / modern interface [NEW VERSION 1.3] on: January 18, 2018, 02:07:36 PM
Looks the pool died a couple of hours ago.
8  Alternate cryptocurrencies / Announcements (Altcoins) / Re: Feathercoin [FTC] on: January 15, 2018, 01:19:33 PM
Does Feathercoin have masternodes?
9  Alternate cryptocurrencies / Announcements (Altcoins) / solaris node vs mining rewards? on: January 14, 2018, 09:08:54 AM
What are solaris node rewards, vs mining rewards?

In other words - from each mined block - how much is going to the miners, and how much is going to node owners? is it documented anywhere?

Is it going to change in the near future?
10  Alternate cryptocurrencies / Mining (Altcoins) / Re: [ANN]: cpuminer-opt v3.7.6, open source optimized multi-algo CPU miner on: December 16, 2017, 04:32:47 PM
This is the proposed fix for the 32 cpu limit:

Code:
@@ -204,7 +204,7 @@
    for ( uint8_t i = 0; i < ncpus; i++ )
    {
       // cpu mask
-      if( (ncpus > 64) || ( mask & (1UL << i) ) )  CPU_SET( i, &set );
+      if( (ncpus > 64) || ( mask & (1ULL << i) ) )  CPU_SET( i, &set );
    }
    if ( id == -1 )
    {
@@ -1690,9 +1690,9 @@
       {
          if (opt_debug)
             applog( LOG_DEBUG, "Binding thread %d to cpu %d (mask %x)",
-                   thr_id, thr_id % num_cpus, ( 1 << (thr_id % num_cpus) ) );
+                   thr_id, thr_id % num_cpus, ( 1ULL << (thr_id % num_cpus) ) );
 
-         affine_to_cpu_mask( thr_id, 1 << (thr_id % num_cpus) );
+         affine_to_cpu_mask( thr_id, 1ULL << (thr_id % num_cpus) );
       }
       else if (opt_affinity != -1)
       {

All good now - all CPUs running with this patch, thanks!
11  Alternate cryptocurrencies / Mining (Altcoins) / Re: [ANN]: cpuminer-opt v3.7.6, open source optimized multi-algo CPU miner on: December 16, 2017, 05:31:52 AM
Stupid mistake, try this change in algo/lyra2/lyra2h.c line 34:

Code:
34c34
<         LYRA2Z( lyra2h_matrix, hash, 32, hash, 32, hash, 32, 16, 16, 16 );
---
>         LYRA2Z( lyra2h_matrix, hash, 32, hash, 32, hash, 32, 8, 8, 8);


I presume no news means it now works? I'd like confirmation.

With the following change it still only uses 32 CPUs:

Code:
--- algo/lyra2/lyra2h.c.orig    2017-12-14 23:28:51.000000000 +0000
+++ algo/lyra2/lyra2h.c 2017-12-16 05:29:48.295167452 +0000
@@ -31,7 +31,7 @@
         sph_blake256( &ctx_blake, input + 64, 16 );
         sph_blake256_close( &ctx_blake, hash );
 
-        LYRA2Z( lyra2h_matrix, hash, 32, hash, 32, hash, 32, 8, 8, 8);
+        LYRA2Z( lyra2h_matrix, hash, 32, hash, 32, hash, 32, 16, 16, 16);
 
     memcpy(state, hash, 32);
 }

Not sure if I should try your earlier changes as well? If so - could you send a patch in diff -u format?
12  Alternate cryptocurrencies / Mining (Altcoins) / Re: cpuminer-opt 3.7.6 only using 32 CPUs on a 48 CPU system? on: December 16, 2017, 02:23:30 AM
Can you try with a 48 bit affinity mask to see what that does?
Code:
 --cpu-affinity 0xffffffffffff


Using --cpu-affinity 0xffffffffffff makes it correctly run on 48 CPUs:

Code:
# ./cpuminer -c conf.conf -q -D  --cpu-affinity 0xffffffffffff

         **********  cpuminer-opt 3.7.6  ***********
     A CPU miner with multi algo support and optimized for CPUs
     with AES_NI and AVX2 and SHA extensions.
     BTC donation address: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT

CPU: AMD EPYC 7401P 24-Core Processor               .
SW built on Dec 16 2017 with GCC 5.4.0.
CPU features: SSE2 AES AVX AVX2 SHA.
SW features: SSE2 AES AVX AVX2 SHA.
Algo features: AVX AVX2.
Start mining with AVX2.

[2017-12-16 02:19:58] Starting Stratum on stratum+tcp://pool:80
[2017-12-16 02:19:58] Binding thread 0 to cpu mask ffffffff
[2017-12-16 02:19:58] Binding thread 1 to cpu mask ffffffff
[2017-12-16 02:19:58] Binding thread 2 to cpu mask ffffffff
[2017-12-16 02:19:58] Binding thread 3 to cpu mask ffffffff
[2017-12-16 02:19:58] Binding thread 4 to cpu mask ffffffff
[2017-12-16 02:19:58] Binding thread 5 to cpu mask ffffffff
[2017-12-16 02:19:58] Binding thread 6 to cpu mask ffffffff
[2017-12-16 02:19:58] Binding thread 7 to cpu mask ffffffff
[2017-12-16 02:19:58] Binding thread 8 to cpu mask ffffffff
[2017-12-16 02:19:58] Binding thread 9 to cpu mask ffffffff
[2017-12-16 02:19:58] Binding thread 10 to cpu mask ffffffff
[2017-12-16 02:19:58] Binding thread 11 to cpu mask ffffffff
[2017-12-16 02:19:58] Binding thread 12 to cpu mask ffffffff
[2017-12-16 02:19:58] Binding thread 13 to cpu mask ffffffff
[2017-12-16 02:19:58] Binding thread 14 to cpu mask ffffffff
[2017-12-16 02:19:58] Binding thread 15 to cpu mask ffffffff
[2017-12-16 02:19:58] Binding thread 16 to cpu mask ffffffff
[2017-12-16 02:19:58] Binding thread 17 to cpu mask ffffffff
[2017-12-16 02:19:58] Binding thread 18 to cpu mask ffffffff
[2017-12-16 02:19:58] Binding thread 19 to cpu mask ffffffff
[2017-12-16 02:19:58] Binding thread 20 to cpu mask ffffffff
[2017-12-16 02:19:58] Binding thread 21 to cpu mask ffffffff
[2017-12-16 02:19:58] Binding thread 22 to cpu mask ffffffff
[2017-12-16 02:19:58] Binding thread 23 to cpu mask ffffffff
[2017-12-16 02:19:58] Binding thread 24 to cpu mask ffffffff
[2017-12-16 02:19:58] Binding thread 25 to cpu mask ffffffff
[2017-12-16 02:19:58] Binding thread 26 to cpu mask ffffffff
[2017-12-16 02:19:58] Binding thread 27 to cpu mask ffffffff
[2017-12-16 02:19:58] Binding thread 28 to cpu mask ffffffff
[2017-12-16 02:19:58] Binding thread 29 to cpu mask ffffffff
[2017-12-16 02:19:58] Binding thread 30 to cpu mask ffffffff
[2017-12-16 02:19:58] Binding thread 31 to cpu mask ffffffff
[2017-12-16 02:19:58] Binding thread 33 to cpu mask ffffffff
[2017-12-16 02:19:58] Binding thread 32 to cpu mask ffffffff
[2017-12-16 02:19:58] Binding thread 34 to cpu mask ffffffff
[2017-12-16 02:19:58] Binding thread 35 to cpu mask ffffffff
[2017-12-16 02:19:58] Binding thread 36 to cpu mask ffffffff
[2017-12-16 02:19:58] Binding thread 37 to cpu mask ffffffff
[2017-12-16 02:19:58] Binding thread 38 to cpu mask ffffffff
[2017-12-16 02:19:58] Binding thread 39 to cpu mask ffffffff
[2017-12-16 02:19:58] Binding thread 40 to cpu mask ffffffff
[2017-12-16 02:19:58] Binding thread 41 to cpu mask ffffffff
[2017-12-16 02:19:58] Binding thread 42 to cpu mask ffffffff
[2017-12-16 02:19:58] Binding thread 43 to cpu mask ffffffff
[2017-12-16 02:19:58] Binding thread 44 to cpu mask ffffffff
[2017-12-16 02:19:58] Binding thread 45 to cpu mask ffffffff
[2017-12-16 02:19:58] Binding thread 46 to cpu mask ffffffff
[2017-12-16 02:19:58] 48 miner threads started, using 'lyra2z' algorithm.
[2017-12-16 02:19:58] Binding thread 47 to cpu mask ffffffff
[2017-12-16 02:19:59] Stratum session id: deadbeefcafebabe61fe000000000000
[2017-12-16 02:19:59] Stratum difficulty set to 10
[2017-12-16 02:20:00] Stratum difficulty set to 5
[2017-12-16 02:20:00] DEBUG: job_id='1ea2' extranonce2=00000000 ntime=5a34829d
[2017-12-16 02:20:00] Stratum difficulty set to 10 (0.03906)
[2017-12-16 02:20:04] DEBUG: job_id='1ea3' extranonce2=00000000 ntime=5a3482d4
[2017-12-16 02:20:04] Stratum difficulty set to 5 (0.01953)
(...)


If we don't use --cpu-affinity 0xffffffffffff, it runs on 32 CPUs (as observed in htop or top - it still fires 48 threads though):

Code:
# ./cpuminer -c conf.conf -q -D

         **********  cpuminer-opt 3.7.6  ***********
     A CPU miner with multi algo support and optimized for CPUs
     with AES_NI and AVX2 and SHA extensions.
     BTC donation address: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT

CPU: AMD EPYC 7401P 24-Core Processor               .
SW built on Dec 16 2017 with GCC 5.4.0.
CPU features: SSE2 AES AVX AVX2 SHA.
SW features: SSE2 AES AVX AVX2 SHA.
Algo features: AVX AVX2.
Start mining with AVX2.

[2017-12-16 02:22:34] Starting Stratum on stratum+tcp://pool:80
[2017-12-16 02:22:34] Binding thread 0 to cpu 0 (mask 1)
[2017-12-16 02:22:34] Binding thread 1 to cpu 1 (mask 2)
[2017-12-16 02:22:34] Binding thread 2 to cpu 2 (mask 4)
[2017-12-16 02:22:34] Binding thread 3 to cpu 3 (mask 8)
[2017-12-16 02:22:34] Binding thread 4 to cpu 4 (mask 10)
[2017-12-16 02:22:34] Binding thread 5 to cpu 5 (mask 20)
[2017-12-16 02:22:34] Binding thread 6 to cpu 6 (mask 40)
[2017-12-16 02:22:34] Binding thread 7 to cpu 7 (mask 80)
[2017-12-16 02:22:34] Binding thread 8 to cpu 8 (mask 100)
[2017-12-16 02:22:34] Binding thread 9 to cpu 9 (mask 200)
[2017-12-16 02:22:34] Binding thread 10 to cpu 10 (mask 400)
[2017-12-16 02:22:34] Binding thread 11 to cpu 11 (mask 800)
[2017-12-16 02:22:34] Binding thread 12 to cpu 12 (mask 1000)
[2017-12-16 02:22:34] Binding thread 13 to cpu 13 (mask 2000)
[2017-12-16 02:22:34] Binding thread 14 to cpu 14 (mask 4000)
[2017-12-16 02:22:34] Binding thread 15 to cpu 15 (mask 8000)
[2017-12-16 02:22:34] Binding thread 16 to cpu 16 (mask 10000)
[2017-12-16 02:22:34] Binding thread 17 to cpu 17 (mask 20000)
[2017-12-16 02:22:34] Binding thread 18 to cpu 18 (mask 40000)
[2017-12-16 02:22:34] Binding thread 19 to cpu 19 (mask 80000)
[2017-12-16 02:22:34] Binding thread 20 to cpu 20 (mask 100000)
[2017-12-16 02:22:34] Binding thread 21 to cpu 21 (mask 200000)
[2017-12-16 02:22:34] Binding thread 22 to cpu 22 (mask 400000)
[2017-12-16 02:22:34] Binding thread 23 to cpu 23 (mask 800000)
[2017-12-16 02:22:34] Binding thread 24 to cpu 24 (mask 1000000)
[2017-12-16 02:22:34] Binding thread 25 to cpu 25 (mask 2000000)
[2017-12-16 02:22:34] Binding thread 26 to cpu 26 (mask 4000000)
[2017-12-16 02:22:34] Binding thread 27 to cpu 27 (mask 8000000)
[2017-12-16 02:22:34] Binding thread 28 to cpu 28 (mask 10000000)
[2017-12-16 02:22:34] Binding thread 29 to cpu 29 (mask 20000000)
[2017-12-16 02:22:34] Binding thread 30 to cpu 30 (mask 40000000)
[2017-12-16 02:22:34] Binding thread 31 to cpu 31 (mask 80000000)
[2017-12-16 02:22:34] Binding thread 32 to cpu 32 (mask 1)
[2017-12-16 02:22:34] Binding thread 33 to cpu 33 (mask 2)
[2017-12-16 02:22:34] Binding thread 34 to cpu 34 (mask 4)
[2017-12-16 02:22:34] Binding thread 35 to cpu 35 (mask 8)
[2017-12-16 02:22:34] Binding thread 36 to cpu 36 (mask 10)
[2017-12-16 02:22:34] Binding thread 37 to cpu 37 (mask 20)
[2017-12-16 02:22:34] Binding thread 38 to cpu 38 (mask 40)
[2017-12-16 02:22:34] Binding thread 39 to cpu 39 (mask 80)
[2017-12-16 02:22:34] Binding thread 40 to cpu 40 (mask 100)
[2017-12-16 02:22:34] Binding thread 41 to cpu 41 (mask 200)
[2017-12-16 02:22:34] Binding thread 42 to cpu 42 (mask 400)
[2017-12-16 02:22:34] Binding thread 43 to cpu 43 (mask 800)
[2017-12-16 02:22:34] Binding thread 44 to cpu 44 (mask 1000)
[2017-12-16 02:22:34] Binding thread 45 to cpu 45 (mask 2000)
[2017-12-16 02:22:34] Binding thread 46 to cpu 46 (mask 4000)
[2017-12-16 02:22:34] 48 miner threads started, using 'lyra2z' algorithm.
[2017-12-16 02:22:34] Binding thread 47 to cpu 47 (mask 8000)
[2017-12-16 02:22:35] Stratum session id: deadbeefcafebabec147160000000000
[2017-12-16 02:22:35] Stratum difficulty set to 10
[2017-12-16 02:22:36] Stratum difficulty set to 5
[2017-12-16 02:22:36] DEBUG: job_id='1e9f' extranonce2=00000000 ntime=5a348344
[2017-12-16 02:22:36] Stratum difficulty set to 10 (0.03906)
[2017-12-16 02:22:52] DEBUG: job_id='1ea0' extranonce2=00000000 ntime=5a34837b
[2017-12-16 02:22:52] Stratum difficulty set to 5 (0.01953)
(...)
13  Alternate cryptocurrencies / Mining (Altcoins) / Re: cpuminer-opt 3.7.6 only using 32 CPUs on a 48 CPU system? on: December 16, 2017, 01:29:00 AM
I presume this is the same system using both versions of cpuminer-opt.

Of course I'm seeing these results on the same system.


I've reviewed the changes I made for 64 CPU support and they should only have an effect when
there are more than 64 vcores. It's as simple as if num_cpus > 64 do something different else
do as usual.

The issue must be somewhere in cpu-miner.c.

If we copy cpu-miner.c from v3.7.5.tar.gz to 3.7.6 and compile it, all 48 CPUs are used.

If we copy cpu-miner.c from v3.7.6.tar.gz to 3.7.5 and compile it, only 32 CPUs are used.
14  Alternate cryptocurrencies / Mining (Altcoins) / Re: cpuminer-opt 3.7.6 only using 32 CPUs on a 48 CPU system? on: December 16, 2017, 01:08:10 AM
I presume this is the same system using both versions of cpuminer-opt.

I've reviewed the changes I made for 64 CPU support and they should only have an effect when
there are more than 64 vcores. It's as simple as if num_cpus > 64 do something different else
do as usual.

I can find no reason why it behaves differently or why it maxes at 32.

Test both versions with -D, the debug output may provide a clue.

Edit: Also is there anything unusual about that system? Any virtualization or NUMA?

Tried 3.7.5 vs 3.7.6 - 3.7.5 runs on all CPUs, 3.7.6 only works on 32 CPUs and gives lower hash rates.

Both versions start the same number of threads:

Code:
# ps -eLf|grep -c cpuminer
52


Both versions start in the same way with -D:

Code:
[2017-12-16 01:03:56] Starting Stratum on stratum+tcp://ip:port
[2017-12-16 01:03:56] Binding thread 0 to cpu 0 (mask 1)
[2017-12-16 01:03:56] Binding thread 1 to cpu 1 (mask 2)
[2017-12-16 01:03:56] Binding thread 2 to cpu 2 (mask 4)
[2017-12-16 01:03:56] Binding thread 3 to cpu 3 (mask 8)
[2017-12-16 01:03:56] Binding thread 4 to cpu 4 (mask 10)
[2017-12-16 01:03:56] Binding thread 5 to cpu 5 (mask 20)
[2017-12-16 01:03:56] Binding thread 6 to cpu 6 (mask 40)
[2017-12-16 01:03:56] Binding thread 7 to cpu 7 (mask 80)
[2017-12-16 01:03:56] Binding thread 8 to cpu 8 (mask 100)
[2017-12-16 01:03:56] Binding thread 9 to cpu 9 (mask 200)
[2017-12-16 01:03:56] Binding thread 10 to cpu 10 (mask 400)
[2017-12-16 01:03:56] Binding thread 11 to cpu 11 (mask 800)
[2017-12-16 01:03:56] Binding thread 12 to cpu 12 (mask 1000)
[2017-12-16 01:03:56] Binding thread 13 to cpu 13 (mask 2000)
[2017-12-16 01:03:56] Binding thread 14 to cpu 14 (mask 4000)
[2017-12-16 01:03:56] Binding thread 15 to cpu 15 (mask 8000)
[2017-12-16 01:03:56] Binding thread 16 to cpu 16 (mask 10000)
[2017-12-16 01:03:56] Binding thread 17 to cpu 17 (mask 20000)
[2017-12-16 01:03:56] Binding thread 18 to cpu 18 (mask 40000)
[2017-12-16 01:03:56] Binding thread 19 to cpu 19 (mask 80000)
[2017-12-16 01:03:56] Binding thread 20 to cpu 20 (mask 100000)
[2017-12-16 01:03:56] Binding thread 21 to cpu 21 (mask 200000)
[2017-12-16 01:03:56] Binding thread 22 to cpu 22 (mask 400000)
[2017-12-16 01:03:56] Binding thread 23 to cpu 23 (mask 800000)
[2017-12-16 01:03:56] Binding thread 24 to cpu 24 (mask 1000000)
[2017-12-16 01:03:56] Binding thread 25 to cpu 25 (mask 2000000)
[2017-12-16 01:03:56] Binding thread 26 to cpu 26 (mask 4000000)
[2017-12-16 01:03:56] Binding thread 27 to cpu 27 (mask 8000000)
[2017-12-16 01:03:56] Binding thread 28 to cpu 28 (mask 10000000)
[2017-12-16 01:03:56] Binding thread 29 to cpu 29 (mask 20000000)
[2017-12-16 01:03:56] Binding thread 30 to cpu 30 (mask 40000000)
[2017-12-16 01:03:56] Binding thread 31 to cpu 31 (mask 80000000)
[2017-12-16 01:03:56] Binding thread 32 to cpu 32 (mask 1)
[2017-12-16 01:03:56] Binding thread 33 to cpu 33 (mask 2)
[2017-12-16 01:03:56] Binding thread 34 to cpu 34 (mask 4)
[2017-12-16 01:03:56] Binding thread 35 to cpu 35 (mask 8)
[2017-12-16 01:03:56] Binding thread 36 to cpu 36 (mask 10)
[2017-12-16 01:03:56] Binding thread 37 to cpu 37 (mask 20)
[2017-12-16 01:03:56] Binding thread 38 to cpu 38 (mask 40)
[2017-12-16 01:03:56] Binding thread 39 to cpu 39 (mask 80)
[2017-12-16 01:03:56] Binding thread 40 to cpu 40 (mask 100)
[2017-12-16 01:03:56] Binding thread 41 to cpu 41 (mask 200)
[2017-12-16 01:03:56] Binding thread 42 to cpu 42 (mask 400)
[2017-12-16 01:03:56] Binding thread 43 to cpu 43 (mask 800)
[2017-12-16 01:03:56] Binding thread 44 to cpu 44 (mask 1000)
[2017-12-16 01:03:56] Binding thread 45 to cpu 45 (mask 2000)
[2017-12-16 01:03:56] Binding thread 46 to cpu 46 (mask 4000)
[2017-12-16 01:03:56] 48 miner threads started, using 'lyra2z' algorithm.
[2017-12-16 01:03:56] Binding thread 47 to cpu 47 (mask 8000)
[2017-12-16 01:03:57] Stratum session id: deadbeefcafebabef76c160000000000
[2017-12-16 01:03:57] Stratum difficulty set to 10
[2017-12-16 01:03:58] Stratum difficulty set to 5
[2017-12-16 01:03:58] DEBUG: job_id='1e40' extranonce2=00000000 ntime=5a3470e6
[2017-12-16 01:03:58] Stratum difficulty set to 10 (0.03906)
(...)




Edit: Also is there anything unusual about that system? Any virtualization or NUMA?


There isn't anything unusual about this system, no virtualization, no multiple sockets etc.
15  Alternate cryptocurrencies / Mining (Altcoins) / Re: cpuminer-opt 3.7.6 only using 32 CPUs on a 48 CPU system? on: December 15, 2017, 10:04:52 PM
I've tried running cpuminer-opt 3.7.6 with lyra2z on a 48 CPU system - unfortunately, only 32 CPUs are used.

The program says "48 miner threads started, using 'lyra2z' algorithm", with or without -t 48 option.

cpuminer-opt 3.7.3 behaves correctly and runs on all 48 cores.

Can you clarify? Does it start 48 threads and run 2 on some cores? Posting the program output would help.
What kind of CPU architecture do you have, multisocket?

Edit: also what OS and please post command line. I always need this, I shouldn't have to ask.

Ubuntu 16.04.

When I start cpuminer-opt 3.7.6 on a 48 CPU system, in top/htop I can see only 32 CPUs are used (unexpected).
When I start cpuminer-opt 3.7.3 on a 48 CPU system, in top/htop I can see 48 CPUs are used (expected).

Didn't try other versions.


Command line:

Code:
# ./cpuminer -c config.conf -q
         **********  cpuminer-opt 3.7.6  ***********
     A CPU miner with multi algo support and optimized for CPUs
     with AES_NI and AVX2 and SHA extensions.
     BTC donation address: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT

CPU: AMD EPYC 7401P 24-Core Processor               .
SW built on Dec 15 2017 with GCC 5.4.0.
CPU features: SSE2 AES AVX AVX2 SHA.
SW features: SSE2 AES AVX AVX2 SHA.
Algo features: AVX AVX2.
Start mining with AVX2.

[2017-12-15 22:06:13] Starting Stratum on stratum+tcp://address:port
[2017-12-15 22:06:13] 48 miner threads started, using 'lyra2z' algorithm.
[2017-12-15 22:06:13] Stratum difficulty set to 10


config.conf:

Code:
{

    "url" : "some-url:port",
    "user" : "some.01234.worker",
    "pass" : "pass",

    "algo" : "lyra2z",
    "api-bind" : 0
}

CPU: AMD Epyc (single CPU): http://www.amd.com/en/products/cpu/amd-epyc-7401p

Code:
# grep -c processor /proc/cpuinfo 
48

Code:
processor       : 47
vendor_id       : AuthenticAMD
cpu family      : 23
model           : 1
model name      : AMD EPYC 7401P 24-Core Processor
stepping        : 2
microcode       : 0x8001207
cpu MHz         : 2000.000
cache size      : 512 KB
physical id     : 0
siblings        : 48
core id         : 0
cpu cores       : 24
apicid          : 61
initial apicid  : 61
fpu             : yes
fpu_exception   : yes
cpuid level     : 13
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc extd_apicid amd_dcm aperfmperf pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw skinit wdt tce topoext perfctr_core perfctr_nb bpext perfctr_l2 mwaitx cpb hw_pstate vmmcall fsgsbase bmi1 avx2 smep bmi2 rdseed adx smap clflushopt sha_ni xsaveopt xsavec xgetbv1 xsaves clzero irperf arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold avic overflow_recov succor smca
bugs            : fxsave_leak sysret_ss_attrs null_seg
bogomips        : 3992.21
TLB size        : 2560 4K pages
clflush size    : 64
cache_alignment : 64
address sizes   : 48 bits physical, 48 bits virtual
power management: ts ttp tm hwpstate cpb eff_freq_ro [13] [14]
16  Alternate cryptocurrencies / Mining (Altcoins) / cpuminer-opt 3.7.6 only using 32 CPUs on a 48 CPU system? on: December 15, 2017, 05:03:07 PM
I've tried running cpuminer-opt 3.7.6 with lyra2z on a 48 CPU system - unfortunately, only 32 CPUs are used.

The program says "48 miner threads started, using 'lyra2z' algorithm", with or without -t 48 option.

cpuminer-opt 3.7.3 behaves correctly and runs on all 48 cores.
17  Alternate cryptocurrencies / Mining (Altcoins) / Re: [ANN]: cpuminer-opt v3.7.6, open source optimized multi-algo CPU miner on: December 15, 2017, 04:13:41 PM
https://www.scaleway.com/

They have 3 EUR / month ARM servers with 4 CPU cores.

So I was wondering how good or bad they perform.
18  Alternate cryptocurrencies / Mining (Altcoins) / Re: [ANN]: cpuminer-opt v3.7.6, open source optimized multi-algo CPU miner on: December 15, 2017, 06:11:13 AM
Has anyone tried to compile cpuminer-opt on ARM architecture? I've tried, but it fails miserably...
19  Alternate cryptocurrencies / Mining (Altcoins) / Re: Vertcoin CPU miner for Linux X64 with static linked libraries? on: November 24, 2017, 06:57:37 PM
Try static cpuminer compilation instructions here:

https://lxadm.com/Static_compilation_of_cpuminer
20  Alternate cryptocurrencies / Mining (Altcoins) / Re: Cpuminer-Multi Static Build on: November 24, 2017, 06:42:25 PM
Try these instructions:

https://lxadm.com/Static_compilation_of_cpuminer
Pages: [1] 2 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!