@migo77 : here you gave the linux cpuid, what was detected by JCE linux?
In all case you have great control on CPU:
Simple: --t N to force N threads, and --archi to set architecture (e.g. ryzen, athlon64, core2 ...)
Advanced: use manual config (examples are provided in the .zip)
So far most of my users are Windows CPU miners, GPU is far less (i've more competitors there) and Linux almost negligible
Hi JCE, yes I know about configuration options and I'm using them
I'm linux admin with experience
I'm interested in your high efficiency on old HW, but in some cases I cant' achieve it.
That old opteron is detected as generic_sse2 and speed is the same as xmr-stak that I'm using, it is around 150h/s with arch set to athlon64 I see nice increase in hr with JCE at 170h/s which is fine
and worth higher fee. That athlon reports sse4a instruction set, but your algorithm for sse4 doesn't work. I checked various thread/cache/multihash options and this is max I was able to achieve. Is there anything else we can do for more optimizations?
JCE runs fine on:
Dual Intel(R) Xeon(R) CPU E5450 @ 3.00GHz
Assembly codename: core2_sse4
SSE2 : Yes
SSE3 : Yes
SSE4 : Yes
AES : No
AVX : No
AVX2 : No
Found CPU 0, with:
L1 Cache: 32 KB
L2 Cache: 6144 KB, shared with CPU 2
Found CPU 2, with:
L1 Cache: 32 KB
L2 Cache: 6144 KB, shared with CPU 0
Found CPU 4, with:
L1 Cache: 32 KB
L2 Cache: 6144 KB, shared with CPU 6
Found CPU 6, with:
L1 Cache: 32 KB
L2 Cache: 6144 KB, shared with CPU 4
Found CPU 1, with:
L1 Cache: 32 KB
L2 Cache: 6144 KB, shared with CPU 3
Found CPU 3, with:
L1 Cache: 32 KB
L2 Cache: 6144 KB, shared with CPU 1
Found CPU 5, with:
L1 Cache: 32 KB
L2 Cache: 6144 KB, shared with CPU 7
Found CPU 7, with:
L1 Cache: 32 KB
L2 Cache: 6144 KB, shared with CPU 5
HTTP Local Server on port 16000
Preparing 8 Mining Threads...
+-- Thread 0 config ------------------------+
| Run on CPU: 0 |
| Use cache: yes |
| Multi-hash: no |
| Assembly module: core2_sse4 |
+-------------------------------------------+
+-- Thread 1 config ------------------------+
| Run on CPU: 1 |
| Use cache: yes |
| Multi-hash: no |
| Assembly module: core2_sse4 |
+-------------------------------------------+
+-- Thread 2 config ------------------------+
| Run on CPU: 2 |
| Use cache: yes |
| Multi-hash: no |
| Assembly module: core2_sse4 |
+-------------------------------------------+
+-- Thread 3 config ------------------------+
| Run on CPU: 3 |
| Use cache: yes |
| Multi-hash: no |
| Assembly module: core2_sse4 |
+-------------------------------------------+
+-- Thread 4 config ------------------------+
| Run on CPU: 4 |
| Use cache: yes |
| Multi-hash: no |
| Assembly module: core2_sse4 |
+-------------------------------------------+
+-- Thread 5 config ------------------------+
| Run on CPU: 5 |
| Use cache: yes |
| Multi-hash: no |
| Assembly module: core2_sse4 |
+-------------------------------------------+
+-- Thread 6 config ------------------------+
| Run on CPU: 6 |
| Use cache: yes |
| Multi-hash: no |
| Assembly module: core2_sse4 |
+-------------------------------------------+
+-- Thread 7 config ------------------------+
| Run on CPU: 7 |
| Use cache: yes |
| Multi-hash: no |
| Assembly module: core2_sse4 |
+-------------------------------------------+
Cryptonight Variation: Cryptonight V8 fork of Oct-2018
Starting CPU Thread 0, affinity: CPU 0
Thread 0 successfully bound to CPU 0
Allocated shared Large Page at: 0x7f556c800000
Allocated 2MB Cached Large Page Scratchpad Buffer at: 0x7f556c600000
Starting CPU Thread 1, affinity: CPU 1
Thread 1 successfully bound to CPU 1
Allocated 2MB Cached Large Page Scratchpad Buffer at: 0x7f556c400000
Starting CPU Thread 2, affinity: CPU 2
Thread 2 successfully bound to CPU 2
Allocated 2MB Cached Large Page Scratchpad Buffer at: 0x7f556c200000
Starting CPU Thread 3, affinity: CPU 3
Thread 3 successfully bound to CPU 3
Allocated 2MB Cached Large Page Scratchpad Buffer at: 0x7f5566400000
Starting CPU Thread 4, affinity: CPU 4
Thread 4 successfully bound to CPU 4
Allocated 2MB Cached Large Page Scratchpad Buffer at: 0x7f5565800000
Starting CPU Thread 5, affinity: CPU 5
Thread 5 successfully bound to CPU 5
Allocated 2MB Cached Large Page Scratchpad Buffer at: 0x7f5564c00000
Starting CPU Thread 6, affinity: CPU 6
Thread 6 successfully bound to CPU 6
Allocated 2MB Cached Large Page Scratchpad Buffer at: 0x7f5564000000
Starting CPU Thread 7, affinity: CPU 7
Thread 7 successfully bound to CPU 7
Allocated 2MB Cached Large Page Scratchpad Buffer at: 0x7f554b400000
Devfee for CPU is 3%
18:30:13 | Monero (XMR/XMV) Mining session starts!
During mining time, press:
h display hashrate for each mining thread.
r display full report.
p pause all.
q quit.
18:30:14 | Connecting to mining pool pool.supportxmr.com:5555 ...
18:30:14 | Connected to pool. Now logging in...
18:30:14 | Successfuly logged as 48DZQquvFBjGCi3KcVCGDUhHbCZpgaAjTC5siqZd9K7ogfAKajwbG2hLS8NBy4CjAuCsqAAUywpXMEN
vgv17YyP4RCWh94n
18:30:14 | Pool changes Difficulty to 10000.
18:30:30 | Pool sends a new Job.
18:30:44 | Hashrate CPU Thread 0: 27.73 h/s
18:30:44 | Hashrate CPU Thread 1: 27.72 h/s
18:30:44 | Hashrate CPU Thread 2: 27.72 h/s
18:30:44 | Hashrate CPU Thread 3: 27.72 h/s
18:30:44 | Hashrate CPU Thread 4: 27.72 h/s
18:30:44 | Hashrate CPU Thread 5: 27.73 h/s
18:30:44 | Hashrate CPU Thread 6: 27.72 h/s
18:30:44 | Hashrate CPU Thread 7: 27.72 h/s
18:30:44 | Total: 221.74 h/s - Max: 221.74 h/s
on this system is JCE faster 221h/s than XMR-stak 180h/s.
The BAD:
On other xeon boxes I can't achieve better performance than xmr-stak at all
e.g.:
{
"hashrate":
{
"thread_0": 18.95,
"thread_1": 18.95,
"thread_2": 18.95,
"thread_3": 18.94,
"thread_4": 19.04,
"thread_5": 19.04,
"thread_6": 19.04,
"thread_7": 19.03,
"thread_all": [18.95, 18.95, 18.95, 18.94, 19.04, 19.04, 19.04, 19.03],
"total": 151.89,
"max": 152.69
},
"result":
{
"reconnections": 0,
"currency": "Monero (XMR/XMV)",
"difficulty": 5000,
"shares": 5265,
"hashes": 26334400,
"uptime": "49:23:16",
"effective": 148.12
},
"miner":
{
"version": "jce/0.33f/cpu",
"platform": "Dual Intel(R) Xeon(R) CPU E5520 @ 2.27GHz",
"system": "Linux 64-bits",
"algorithm": "15"
}
}
On this system is hr same as with xmr-stak but fee is higher.
Another "problematic" system is:
Analyzing Processors topology...
Dual Intel(R) Xeon(R) CPU E5-2640 0 @ 2.50GHz
Assembly codename: generic_aes_avx
SSE2 : Yes
SSE3 : Yes
SSE4 : Yes
AES : Yes
AVX : Yes
AVX2 : No
Found CPU 0, with:
L1 Cache: 32 KB, shared with CPU 12
L2 Cache: 256 KB, shared with CPU 12
L3 Cache: 15360 KB, shared with CPU 12, 1, 13, 2, 14, 3, 15, 4, 16, 5, 17
Found CPU 12, with:
L1 Cache: 32 KB, shared with CPU 0
L2 Cache: 256 KB, shared with CPU 0
L3 Cache: 15360 KB, shared with CPU 0, 1, 13, 2, 14, 3, 15, 4, 16, 5, 17
Found CPU 1, with:
L1 Cache: 32 KB, shared with CPU 13
L2 Cache: 256 KB, shared with CPU 13
L3 Cache: 15360 KB, shared with CPU 0, 12, 13, 2, 14, 3, 15, 4, 16, 5, 17
Found CPU 13, with:
L1 Cache: 32 KB, shared with CPU 1
L2 Cache: 256 KB, shared with CPU 1
L3 Cache: 15360 KB, shared with CPU 0, 12, 1, 2, 14, 3, 15, 4, 16, 5, 17
Found CPU 2, with:
L1 Cache: 32 KB, shared with CPU 14
L2 Cache: 256 KB, shared with CPU 14
L3 Cache: 15360 KB, shared with CPU 0, 12, 1, 13, 14, 3, 15, 4, 16, 5, 17
Found CPU 14, with:
L1 Cache: 32 KB, shared with CPU 2
L2 Cache: 256 KB, shared with CPU 2
L3 Cache: 15360 KB, shared with CPU 0, 12, 1, 13, 2, 3, 15, 4, 16, 5, 17
Found CPU 3, with:
L1 Cache: 32 KB, shared with CPU 15
L2 Cache: 256 KB, shared with CPU 15
L3 Cache: 15360 KB, shared with CPU 0, 12, 1, 13, 2, 14, 15, 4, 16, 5, 17
Found CPU 15, with:
L1 Cache: 32 KB, shared with CPU 3
L2 Cache: 256 KB, shared with CPU 3
L3 Cache: 15360 KB, shared with CPU 0, 12, 1, 13, 2, 14, 3, 4, 16, 5, 17
Found CPU 4, with:
L1 Cache: 32 KB, shared with CPU 16
L2 Cache: 256 KB, shared with CPU 16
L3 Cache: 15360 KB, shared with CPU 0, 12, 1, 13, 2, 14, 3, 15, 16, 5, 17
Found CPU 16, with:
L1 Cache: 32 KB, shared with CPU 4
L2 Cache: 256 KB, shared with CPU 4
L3 Cache: 15360 KB, shared with CPU 0, 12, 1, 13, 2, 14, 3, 15, 4, 5, 17
Found CPU 5, with:
L1 Cache: 32 KB, shared with CPU 17
L2 Cache: 256 KB, shared with CPU 17
L3 Cache: 15360 KB, shared with CPU 0, 12, 1, 13, 2, 14, 3, 15, 4, 16, 17
Found CPU 17, with:
L1 Cache: 32 KB, shared with CPU 5
L2 Cache: 256 KB, shared with CPU 5
L3 Cache: 15360 KB, shared with CPU 0, 12, 1, 13, 2, 14, 3, 15, 4, 16, 5
Found CPU 6, with:
L1 Cache: 32 KB, shared with CPU 18
L2 Cache: 256 KB, shared with CPU 18
L3 Cache: 15360 KB, shared with CPU 18, 7, 19, 8, 20, 9, 21, 10, 22, 11, 23
Found CPU 18, with:
L1 Cache: 32 KB, shared with CPU 6
L2 Cache: 256 KB, shared with CPU 6
L3 Cache: 15360 KB, shared with CPU 6, 7, 19, 8, 20, 9, 21, 10, 22, 11, 23
Found CPU 7, with:
L1 Cache: 32 KB, shared with CPU 19
L2 Cache: 256 KB, shared with CPU 19
L3 Cache: 15360 KB, shared with CPU 6, 18, 19, 8, 20, 9, 21, 10, 22, 11, 23
Found CPU 19, with:
L1 Cache: 32 KB, shared with CPU 7
L2 Cache: 256 KB, shared with CPU 7
L3 Cache: 15360 KB, shared with CPU 6, 18, 7, 8, 20, 9, 21, 10, 22, 11, 23
Found CPU 8, with:
L1 Cache: 32 KB, shared with CPU 20
L2 Cache: 256 KB, shared with CPU 20
L3 Cache: 15360 KB, shared with CPU 6, 18, 7, 19, 20, 9, 21, 10, 22, 11, 23
Found CPU 20, with:
L1 Cache: 32 KB, shared with CPU 8
L2 Cache: 256 KB, shared with CPU 8
L3 Cache: 15360 KB, shared with CPU 6, 18, 7, 19, 8, 9, 21, 10, 22, 11, 23
Found CPU 9, with:
L1 Cache: 32 KB, shared with CPU 21
L2 Cache: 256 KB, shared with CPU 21
L3 Cache: 15360 KB, shared with CPU 6, 18, 7, 19, 8, 20, 21, 10, 22, 11, 23
Found CPU 21, with:
L1 Cache: 32 KB, shared with CPU 9
L2 Cache: 256 KB, shared with CPU 9
L3 Cache: 15360 KB, shared with CPU 6, 18, 7, 19, 8, 20, 9, 10, 22, 11, 23
Found CPU 10, with:
L1 Cache: 32 KB, shared with CPU 22
L2 Cache: 256 KB, shared with CPU 22
L3 Cache: 15360 KB, shared with CPU 6, 18, 7, 19, 8, 20, 9, 21, 22, 11, 23
Found CPU 22, with:
L1 Cache: 32 KB, shared with CPU 10
L2 Cache: 256 KB, shared with CPU 10
L3 Cache: 15360 KB, shared with CPU 6, 18, 7, 19, 8, 20, 9, 21, 10, 11, 23
Found CPU 11, with:
L1 Cache: 32 KB, shared with CPU 23
L2 Cache: 256 KB, shared with CPU 23
L3 Cache: 15360 KB, shared with CPU 6, 18, 7, 19, 8, 20, 9, 21, 10, 22, 23
Found CPU 23, with:
L1 Cache: 32 KB, shared with CPU 11
L2 Cache: 256 KB, shared with CPU 11
L3 Cache: 15360 KB, shared with CPU 6, 18, 7, 19, 8, 20, 9, 21, 10, 22, 11
HTTP Local Server on port 16000
Preparing 13 Mining Threads...
+-- Thread 0 config ------------------------+
| Run on CPU: 1 |
| Use cache: yes |
| Multi-hash: no |
| Assembly module: generic_aes_avx |
+-------------------------------------------+
+-- Thread 1 config ------------------------+
| Run on CPU: 2 |
| Use cache: yes |
| Multi-hash: no |
| Assembly module: generic_aes_avx |
+-------------------------------------------+
+-- Thread 2 config ------------------------+
| Run on CPU: 3 |
| Use cache: yes |
| Multi-hash: no |
| Assembly module: generic_aes_avx |
+-------------------------------------------+
+-- Thread 3 config ------------------------+
| Run on CPU: 4 |
| Use cache: yes |
| Multi-hash: no |
| Assembly module: generic_aes_avx |
+-------------------------------------------+
+-- Thread 4 config ------------------------+
| Run on CPU: 5 |
| Use cache: yes |
| Multi-hash: no |
| Assembly module: generic_aes_avx |
+-------------------------------------------+
+-- Thread 5 config ------------------------+
| Run on CPU: 6 |
| Use cache: yes |
| Multi-hash: no |
| Assembly module: generic_aes_avx |
+-------------------------------------------+
+-- Thread 6 config ------------------------+
| Run on CPU: 7 |
| Use cache: yes |
| Multi-hash: no |
| Assembly module: generic_aes_avx |
+-------------------------------------------+
+-- Thread 7 config ------------------------+
| Run on CPU: 8 |
| Use cache: yes |
| Multi-hash: no |
| Assembly module: generic_aes_avx |
+-------------------------------------------+
+-- Thread 8 config ------------------------+
| Run on CPU: 9 |
| Use cache: yes |
| Multi-hash: no |
| Assembly module: generic_aes_avx |
+-------------------------------------------+
+-- Thread 9 config ------------------------+
| Run on CPU: 10 |
| Use cache: yes |
| Multi-hash: no |
| Assembly module: generic_aes_avx |
+-------------------------------------------+
+-- Thread 10 config -----------------------+
| Run on CPU: 11 |
| Use cache: yes |
| Multi-hash: no |
| Assembly module: generic_aes_avx |
+-------------------------------------------+
+-- Thread 11 config -----------------------+
| Run on CPU: 0 |
| Use cache: yes |
| Multi-hash: no |
| Assembly module: generic_aes_avx |
+-------------------------------------------+
+-- Thread 12 config -----------------------+
| Run on CPU: 12 |
| Use cache: yes |
| Multi-hash: no |
| Assembly module: generic_aes_avx |
+-------------------------------------------+
Cryptonight Variation: Cryptonight V8 fork of Oct-2018
Starting CPU Thread 0, affinity: CPU 1
Thread 0 successfully bound to CPU 1
Allocated shared Large Page at: 0x7fcd5e800000
Allocated 2MB Cached Large Page Scratchpad Buffer at: 0x7fcd5e600000
Starting CPU Thread 1, affinity: CPU 2
Thread 1 successfully bound to CPU 2
Allocated 2MB Cached Large Page Scratchpad Buffer at: 0x7fcd5da00000
Starting CPU Thread 2, affinity: CPU 3
Thread 2 successfully bound to CPU 3
Allocated 2MB Cached Large Page Scratchpad Buffer at: 0x7fcd5ce00000
Starting CPU Thread 3, affinity: CPU 4
Thread 3 successfully bound to CPU 4
Allocated 2MB Cached Large Page Scratchpad Buffer at: 0x7fcd5c200000
Starting CPU Thread 4, affinity: CPU 5
Thread 4 successfully bound to CPU 5
Allocated 2MB Cached Large Page Scratchpad Buffer at: 0x7fcd47400000
Starting CPU Thread 5, affinity: CPU 6
Thread 5 successfully bound to CPU 6
Allocated 2MB Cached Large Page Scratchpad Buffer at: 0x7fcd46800000
Starting CPU Thread 6, affinity: CPU 7
Thread 6 successfully bound to CPU 7
Allocated 2MB Cached Large Page Scratchpad Buffer at: 0x7fcd45c00000
Starting CPU Thread 7, affinity: CPU 8
Thread 7 successfully bound to CPU 8
Allocated 2MB Cached Large Page Scratchpad Buffer at: 0x7fcd45000000
Starting CPU Thread 8, affinity: CPU 9
Thread 8 successfully bound to CPU 9
Allocated 2MB Cached Large Page Scratchpad Buffer at: 0x7fcd44400000
Starting CPU Thread 9, affinity: CPU 10
Thread 9 successfully bound to CPU 10
Allocated 2MB Cached Large Page Scratchpad Buffer at: 0x7fcd44200000
Starting CPU Thread 10, affinity: CPU 11
Thread 10 successfully bound to CPU 11
Allocated 2MB Cached Large Page Scratchpad Buffer at: 0x7fcd2ec00000
Starting CPU Thread 11, affinity: CPU 0
Thread 11 successfully bound to CPU 0
Allocated 2MB Cached Large Page Scratchpad Buffer at: 0x7fcd2e000000
Starting CPU Thread 12, affinity: CPU 12
Thread 12 successfully bound to CPU 12
Allocated 2MB Cached Large Page Scratchpad Buffer at: 0x7fcd2d400000
Devfee for CPU is 1.5%
20:08:43 | Monero (XMR/XMV) Mining session starts!
During mining time, press:
h display hashrate for each mining thread.
r display full report.
p pause all.
q quit.
20:08:43 | Connecting to mining pool pool.supportxmr.com:5555 ...
20:08:43 | Connected to pool. Now logging in...
20:08:44 | Successfuly logged as 48DZQquvFBjGCi3KcVCGDUhHbCZpgaAjTC5siqZd9K7ogfAKajwbG2hLS8NBy4CjAuCsqAAUywpXMEN
vgv17YyP4RCWh94n
20:08:44 | Pool changes Difficulty to 10000.
20:08:55 | CPU Thread 7 finds a Share, value 10000
20:08:55 | Accepted by the pool in 38 ms.
20:09:01 | Hashrate CPU Thread 0: 48.65 h/s
20:09:01 | Hashrate CPU Thread 1: 47.42 h/s
20:09:01 | Hashrate CPU Thread 2: 47.11 h/s
20:09:01 | Hashrate CPU Thread 3: 48.59 h/s
20:09:01 | Hashrate CPU Thread 4: 48.64 h/s
20:09:01 | Hashrate CPU Thread 5: 49.15 h/s
20:09:01 | Hashrate CPU Thread 6: 49.35 h/s
20:09:01 | Hashrate CPU Thread 7: 48.02 h/s
20:09:01 | Hashrate CPU Thread 8: 48.00 h/s
20:09:01 | Hashrate CPU Thread 9: 49.49 h/s
20:09:01 | Hashrate CPU Thread 10: 49.28 h/s
20:09:01 | Hashrate CPU Thread 11: 36.67 h/s
20:09:01 | Hashrate CPU Thread 12: 36.23 h/s
20:09:01 | Total: 606.55 h/s - Max: 606.55 h/s
With JCE is 607h/s maximal hr but with xmr-stak I'm on 650h/s. Tested with various core/thread/cache options. Can we do it better?
And I have 180 little core2duo miners on which can your miner shine, but I need version for old glib, because I can't upgrade env on this machines due users sw limitations. I've commented on bug reported and some guy compiled xmrig staticaly for me which works like this:
1|proxy-lo | 2018-11-16 18:27 +01:00: The proxy currently has 171 miners connected at 2294 h/s with an average diff of 134
1|proxy-lo | 2018-11-16 18:27 +01:00: The proxy currently has 171 miners connected at 2293 h/s with an average diff of 134
1|proxy-lo | 2018-11-16 18:27 +01:00: Received new block template from pool.supportxmr.com
1|proxy-lo | 2018-11-16 18:27 +01:00: The proxy currently has 171 miners connected at 2293 h/s with an average diff of 134
I can test for you if you have som experiments if needed and maybe we can make your miner better
If I'm bothering you with too much technical details let me know I'll stop.
Maybe you can suggest some options, optimizations or something that can help.
Thanx.