joblo (OP)
Legendary
Offline
Activity: 1470
Merit: 1114
|
|
March 20, 2018, 09:39:40 PM |
|
...
can you link a post where someone explains how to run the miner. which command etc. that would be really nice. Or maybe link that specific post or instructions in the ANN post?
cpuminer-aes-sse42 -h replace cpuminer-aes-sse42 with the build your using, pools will also have quickstart commands/options listed ok. so i just have to type this when i'm in the specific path of the cpuminer. where do i know what build I'm using? README.txt
|
|
|
|
joblo (OP)
Legendary
Offline
Activity: 1470
Merit: 1114
|
|
March 21, 2018, 04:05:56 PM |
|
I am proposing fuurther canges to the Windows binaries suite to be better aligned with the CPU features actually used by cpuminer-opt. Comments are welcome. The problem: 1. AVX is meaningless to cpuminer-opt. AVX adds no useful 128 bit SIMD instructions, full 128 bit support only requires SSE4.2. As a result some CPUs are prevented from using optimzations they support. This also occurs when compiling from source. 2. cpuminer-sse is actually built with SSSE3. Some AMD CPUs with SSE2 do not have SSSE3 and can't run cpuminer. The proposal: 1. Eliminate cpuminer-aes-avx binary and eliminate AVX as a reportable feature and replace it with SSE4.2 cpuminer-aes-sse42 will include all optimizations from the deleted AVX build. 2. Remove SSSE3 from cpuminer-sse2 build. Pro/con: The only theoretical con is that Intel core2 CPUs will not make use of SSSE3 when using cpuminer-sse2 windows bnary. There are no significant differences with SSSE3 so no performance impact is expected. Some previously unsupported AMD CPUs will become supported. Some optimizations currently tagged as requiring AVX will become available on Intel Westmere CPUs and possibly some AMD CPUs with similar features. Fewer binary builds, should be less confusing for users. Current suite: cpuminer-sse2.exe "-march=core2" Core2, Nehalem cpuminer-aes-sse42.exe "-maes -msse4.2" Westmere cpuminer-aes-avx.exe "-march=corei7-avx" Sandybridge, Ivybridge cpuminer-avx2.exe "-march=core-avx2" Haswell... cpuminer-avx2-sha.exe "-march=core-avx2 -msha" Ryzen
Proposed: cpuminer-sse2.exe "-msse2" Core2, Nehalem cpuminer-aes-sse42.exe "-maes -msse4.2" Westmere, Sandybridge, Ivybridge cpuminer-avx2.exe "-march=core-avx2" Haswell... cpuminer-avx2-sha.exe "-march=core-avx2 -msha" Ryzen
|
|
|
|
|
ummite
Newbie
Offline
Activity: 1
Merit: 0
|
|
March 22, 2018, 05:11:22 AM |
|
Hi everyone,
I've contacted JayDDee last year and wanted to help porting the project to the latest visual studio edition, and improve performance. Here I am.
I'm now with vs 2017 community edition and having difficulty finding some files, at compile time. Example : Cannot open source file: 'algo\luffa.c': No such file or directory
I have around 50 files like these missing.
Is there a way to get the missing file easilly ? Like a zip package that add the missing files?
I would like to try to improve some c/c++ performance of some algorithms, but first I would like a stable build.
Thanks for any information about my issue,
|
|
|
|
4ward
Member
Offline
Activity: 473
Merit: 18
|
|
March 22, 2018, 09:19:04 AM |
|
Trying to mine SHA256t on Zpool, every share is rejected with "reject reason: Low difficulty share", unless using "-m 256"
I do wonder if its pool side issue or miner?
cpuminer-avx2.exe -o stratum+tcp://sha256t.mine.zpool.ca:3339 -u MM8RmXUgxDwHJxrC54muF7KHciSCFS3gx3 -p c=LTC -a sha256t
ps. tested oldest versions, and I see same issue in 3.5.9.1 and 3.6.3
|
|
|
|
stas260385
Newbie
Offline
Activity: 38
Merit: 0
|
|
March 22, 2018, 10:53:56 AM |
|
I am proposing fuurther canges to the Windows binaries suite to be better aligned with the CPU features actually used by cpuminer-opt. Comments are welcome. The problem: 1. AVX is meaningless to cpuminer-opt. AVX adds no useful 128 bit SIMD instructions, full 128 bit support only requires SSE4.2. As a result some CPUs are prevented from using optimzations they support. This also occurs when compiling from source. 2. cpuminer-sse is actually built with SSSE3. Some AMD CPUs with SSE2 do not have SSSE3 and can't run cpuminer. The proposal: 1. Eliminate cpuminer-aes-avx binary and eliminate AVX as a reportable feature and replace it with SSE4.2 cpuminer-aes-sse42 will include all optimizations from the deleted AVX build. 2. Remove SSSE3 from cpuminer-sse2 build. Pro/con: The only theoretical con is that Intel core2 CPUs will not make use of SSSE3 when using cpuminer-sse2 windows bnary. There are no significant differences with SSSE3 so no performance impact is expected. Some previously unsupported AMD CPUs will become supported. Some optimizations currently tagged as requiring AVX will become available on Intel Westmere CPUs and possibly some AMD CPUs with similar features. Fewer binary builds, should be less confusing for users. Current suite: cpuminer-sse2.exe "-march=core2" Core2, Nehalem cpuminer-aes-sse42.exe "-maes -msse4.2" Westmere cpuminer-aes-avx.exe "-march=corei7-avx" Sandybridge, Ivybridge cpuminer-avx2.exe "-march=core-avx2" Haswell... cpuminer-avx2-sha.exe "-march=core-avx2 -msha" Ryzen
Proposed: cpuminer-sse2.exe "-msse2" Core2, Nehalem cpuminer-aes-sse42.exe "-maes -msse4.2" Westmere, Sandybridge, Ivybridge cpuminer-avx2.exe "-march=core-avx2" Haswell... cpuminer-avx2-sha.exe "-march=core-avx2 -msha" Ryzen
And also would be great to add argon2d algos to the next build ))
|
|
|
|
joblo (OP)
Legendary
Offline
Activity: 1470
Merit: 1114
|
|
March 22, 2018, 12:06:17 PM |
|
Trying to mine SHA256t on Zpool, every share is rejected with "reject reason: Low difficulty share", unless using "-m 256"
I do wonder if its pool side issue or miner?
cpuminer-avx2.exe -o stratum+tcp://sha256t.mine.zpool.ca:3339 -u MM8RmXUgxDwHJxrC54muF7KHciSCFS3gx3 -p c=LTC -a sha256t
ps. tested oldest versions, and I see same issue in 3.5.9.1 and 3.6.3
It worked with the original coin that introduced the algo. That error often means the hash is incomplete but I've also seen it due to a pool config error. This could be a slightly different algo using the same name but I'd have to compare with a working miner.
|
|
|
|
joblo (OP)
Legendary
Offline
Activity: 1470
Merit: 1114
|
|
March 22, 2018, 12:08:53 PM |
|
I've contacted JayDDee last year and wanted to help porting the project to the latest visual studio edition, and improve performance. Here I am.
I told you at the time the project files would have to be rebuilt from scratch.
|
|
|
|
joblo (OP)
Legendary
Offline
Activity: 1470
Merit: 1114
|
|
March 22, 2018, 12:12:29 PM |
|
[a long unrelated post]
And also would be great to add argon2d algos to the next build )) It would be great if you didn't quote an entire, long, unrelated post and did some reading before posting.
|
|
|
|
segotiwul
Member
Offline
Activity: 322
Merit: 10
|
|
March 22, 2018, 01:40:52 PM |
|
To take advantage of AES_NI we have to optimize CPU first with AES_NI required we can just do. further explanation is already available in algos for that CPU with AVX and AVX2, Sandybridge and Haswell. if we are still difficulties then we diperilehkan to open the web.
|
|
|
|
joblo (OP)
Legendary
Offline
Activity: 1470
Merit: 1114
|
|
March 22, 2018, 02:54:56 PM |
|
Trying to mine SHA256t on Zpool, every share is rejected with "reject reason: Low difficulty share", unless using "-m 256"
I do wonder if its pool side issue or miner?
cpuminer-avx2.exe -o stratum+tcp://sha256t.mine.zpool.ca:3339 -u MM8RmXUgxDwHJxrC54muF7KHciSCFS3gx3 -p c=LTC -a sha256t
ps. tested oldest versions, and I see same issue in 3.5.9.1 and 3.6.3
It worked with the original coin that introduced the algo. That error often means the hash is incomplete but I've also seen it due to a pool config error. This could be a slightly different algo using the same name but I'd have to compare with a working miner. It looks like the original coin was revived. https://bitcointalk.org/index.php?topic=2313497.msg23484925#msg23484925It's a simple to change the difficulty targetting in software but I want some confirmation that zpool is correct before I make the change. Has anyone tried other pools?
|
|
|
|
nyo_x
|
|
March 22, 2018, 03:44:01 PM |
|
Hi joblo, any intentions to add sha224 / bismuth algo ?
thank you
|
|
|
|
4ward
Member
Offline
Activity: 473
Merit: 18
|
|
March 22, 2018, 04:09:43 PM |
|
Trying to mine SHA256t on Zpool, every share is rejected with "reject reason: Low difficulty share", unless using "-m 256"
I do wonder if its pool side issue or miner?
cpuminer-avx2.exe -o stratum+tcp://sha256t.mine.zpool.ca:3339 -u MM8RmXUgxDwHJxrC54muF7KHciSCFS3gx3 -p c=LTC -a sha256t
ps. tested oldest versions, and I see same issue in 3.5.9.1 and 3.6.3
It worked with the original coin that introduced the algo. That error often means the hash is incomplete but I've also seen it due to a pool config error. This could be a slightly different algo using the same name but I'd have to compare with a working miner. It looks like the original coin was revived. https://bitcointalk.org/index.php?topic=2313497.msg23484925#msg23484925It's a simple to change the difficulty targetting in software but I want some confirmation that zpool is correct before I make the change. Has anyone tried other pools? same on https://pool.nosekefik.com
|
|
|
|
joblo (OP)
Legendary
Offline
Activity: 1470
Merit: 1114
|
|
March 22, 2018, 04:33:49 PM |
|
That's good enough for me. It'll be fixed in the next release.
|
|
|
|
|
Voljanin
Newbie
Offline
Activity: 28
Merit: 0
|
|
March 23, 2018, 06:42:53 AM |
|
********** cpuminer-opt 3.8.4.1 *********** 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-3470 CPU @ 3.20GHz. SW built on Mar 23 2018 with GCC 5.4.0. CPU features: SSE2 AES AVX. SW features: SSE2 AES AVX. Algo features: SSE2 AVX SHA. Start mining with AVX. [2018-03-23 09:36:49] Starting Stratum on stratum+tcp://wavi.suprnova.cc:6762 [2018-03-23 09:36:49] 4 miner threads started, using 'yescryptr32' algorithm. [2018-03-23 09:36:49] Stratum difficulty set to 0.1 and freezes (linux and windows) wavi freeze cryply mine
|
|
|
|
4ward
Member
Offline
Activity: 473
Merit: 18
|
|
March 23, 2018, 06:58:51 AM |
|
********** cpuminer-opt 3.8.4.1 *********** 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-3470 CPU @ 3.20GHz. SW built on Mar 23 2018 with GCC 5.4.0. CPU features: SSE2 AES AVX. SW features: SSE2 AES AVX. Algo features: SSE2 AVX SHA. Start mining with AVX.
[2018-03-23 09:36:49] Starting Stratum on stratum+tcp://wavi.suprnova.cc:6762 [2018-03-23 09:36:49] 4 miner threads started, using 'yescryptr32' algorithm. [2018-03-23 09:36:49] Stratum difficulty set to 0.1
and freezes (linux and windows)
wavi freeze cryply mine
works fine on i5-7600k
|
|
|
|
joblo (OP)
Legendary
Offline
Activity: 1470
Merit: 1114
|
|
March 23, 2018, 01:11:17 PM |
|
It's not frozen, it's waiting for a block from the pool.
|
|
|
|
Gigi75
Newbie
Offline
Activity: 3
Merit: 0
|
|
March 23, 2018, 03:38:11 PM |
|
Hello,
I've got issue running it on Debian stretch. SIGSEGV on an external lib. (libcurl.so.4)
Which releases of Openssl and curl (libcurl / libcurl-gnutls / libcurl-openssl) are you using? Mine are listed at the end of this thread.
Nb. I've got exactly the same issue trying to run cpuminer-multi from tpruvot
Thank you for your work.
Guillaume
(chrooted_2)gigi@clevo:~/cpuminer-opt$ uname -a Linux clevo.gigi.edu 4.13.16+ #1 SMP Tue Jan 30 12:58:17 CET 2018 x86_64 GNU/Linux (chrooted_2)gigi@clevo:~/cpuminer-opt$ lsb_release -a No LSB modules are available. Distributor ID: Debian Description: Debian GNU/Linux 9.4 (stretch) Release: 9.4 Codename: stretch
(chrooted_2)gigi@clevo:~/cpuminer-opt$ ./cpuminer --benchmark -a cryptonight
********** cpuminer-opt 3.8.4.1 *********** 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) i7-7700K CPU @ 4.20GHz. SW built on Mar 23 2018 with GCC 6.3.0. CPU features: SSE2 AES AVX AVX2. SW features: SSE2 AES AVX AVX2. Algo features: SSE2 AES. Start mining with AES SSE2.
Segmentation fault (core dumped)
(chrooted_2)gigi@clevo:~/cpuminer-opt$ gdb cpuminer core GNU gdb (Debian 7.12-6) 7.12.0.20161007-git Copyright (C) 2016 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>. Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/>. For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from cpuminer...(no debugging symbols found)...done. [New LWP 12549] [New LWP 12548] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". Core was generated by `./cpuminer --benchmark -a neoscrypt'. Program terminated with signal SIGSEGV, Segmentation fault. #0 0x000015381bea7900 in _dl_name_match_p (name=0x55b113d1b551 "libcurl.so.4", map=map@entry=0x15381c0bc170) at dl-misc.c:289 289 dl-misc.c: No such file or directory. [Current thread is 1 (Thread 0x15381579d700 (LWP 12549))] (gdb) bt #0 0x000015381bea7900 in _dl_name_match_p (name=0x55b113d1b551 "libcurl.so.4", map=map@entry=0x15381c0bc170) at dl-misc.c:289 #1 0x000015381bea052b in do_lookup_x (undef_name=undef_name@entry=0x55b113d1b5c4 "curl_easy_init", new_hash=new_hash@entry=4223258079, old_hash=old_hash@entry=0x15381518b160, ref=0x55b113d1af68, result=result@entry=0x15381518b170, scope=<optimized out>, i=<optimized out>, version=0x15381c0a38e8, flags=5, skip=<optimized out>, type_class=1, undef_map=0x15381c0bc170) at dl-lookup.c:558 #2 0x000015381bea10c1 in _dl_lookup_symbol_x (undef_name=0x55b113d1b5c4 "curl_easy_init", undef_map=0x15381c0bc170, ref=ref@entry=0x15381518b228, symbol_scope=0x15381c0bc4c8, version=0x15381c0a38e8, type_class=type_class@entry=1, flags=5, skip_map=0x0) at dl-lookup.c:833 #3 0x000015381bea5c54 in _dl_fixup (l=<optimized out>, reloc_arg=<optimized out>) at ../elf/dl-runtime.c:111 #4 0x000015381bead35a in _dl_runtime_resolve_xsavec () at ../sysdeps/x86_64/dl-trampoline.h:125 #5 0x000055b113d23ebb in ?? () #6 0x000015381b5da494 in start_thread (arg=0x15381579d700) at pthread_create.c:333 #7 0x000015381a0fdacf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97 (gdb)
(chrooted_2)gigi@clevo:~/cpuminer-opt$ apt list |grep install | grep curl
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
curl/stable,now 7.52.1-5+deb9u4 amd64 [installed] curlftpfs/stable,now 0.9.2-9+b1 amd64 [installed] libcurl3/stable,now 7.52.1-5+deb9u4 amd64 [installed] libcurl3-gnutls/stable,now 7.52.1-5+deb9u4 amd64 [installed,automatic] libcurl4-openssl-dev/stable,now 7.52.1-5+deb9u4 amd64 [installed] (chrooted_2)gigi@clevo:~/cpuminer-opt$ apt list |grep install | grep ssl
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
libcurl4-openssl-dev/stable,now 7.52.1-5+deb9u4 amd64 [installed] libssl-dev/stable,now 1.1.0f-3+deb9u1 amd64 [installed] libssl-doc/stable,now 1.1.0f-3+deb9u1 all [installed,automatic] libssl1.0.2/stable,now 1.0.2l-2+deb9u2 amd64 [installed] libssl1.1/stable,now 1.1.0f-3+deb9u1 amd64 [installed] openssl/stable,now 1.1.0f-3+deb9u1 amd64 [installed,automatic]
|
|
|
|
joblo (OP)
Legendary
Offline
Activity: 1470
Merit: 1114
|
|
March 23, 2018, 05:16:03 PM |
|
Hello,
I've got issue running it on Debian stretch. SIGSEGV on an external lib. (libcurl.so.4)
Which releases of Openssl and curl (libcurl / libcurl-gnutls / libcurl-openssl) are you using? Mine are listed at the end of this thread.
Nb. I've got exactly the same issue trying to run cpuminer-multi from tpruvot
Thank you for your work.
Guillaume
The crash appears to be in curl_easy_init so it isn't getting very far. curl_easy_init doesn't take any input arguments so it isn't a bad pointer passed to it from the application. Other users have used Debian 9 successfully so there shouldn't be an issue with SW versions. The only thing I noticed was you used a crhooted environment, I've never used chroot so I don't know if it could be a contributor. Since the problem also occurs with cpuminer-multi it points to an issue in your system. Maybe HW, maybe SW corruption, just guessing. You could try reinstalling curl or try without chroot.
|
|
|
|
|