Bitcoin Forum
September 25, 2018, 05:56:04 PM *
News: ♦♦ New info! Bitcoin Core users absolutely must upgrade to previously-announced 0.16.3 [Torrent]. All Bitcoin users should temporarily trust confirmations slightly less. More info.
 
   Home   Help Search Donate Login Register  
Pages: « 1 ... 129 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 »
  Print  
Author Topic: [ANN]: cpuminer-opt v3.8.8.1, open source optimized multi-algo CPU miner  (Read 414622 times)
4ward
Member
**
Online Online

Activity: 370
Merit: 16


View Profile
March 22, 2018, 09:19:04 AM
 #3561

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

1537898164
Hero Member
*
Offline Offline

Posts: 1537898164

View Profile Personal Message (Offline)

Ignore
1537898164
Reply with quote  #2

1537898164
Report to moderator
1537898164
Hero Member
*
Offline Offline

Posts: 1537898164

View Profile Personal Message (Offline)

Ignore
1537898164
Reply with quote  #2

1537898164
Report to moderator
1537898164
Hero Member
*
Offline Offline

Posts: 1537898164

View Profile Personal Message (Offline)

Ignore
1537898164
Reply with quote  #2

1537898164
Report to moderator
Make a difference with your Ether.
Donate Ether for the greater good.
SPRING.WETRUST.IO
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1537898164
Hero Member
*
Offline Offline

Posts: 1537898164

View Profile Personal Message (Offline)

Ignore
1537898164
Reply with quote  #2

1537898164
Report to moderator
stas260385
Newbie
*
Offline Offline

Activity: 37
Merit: 0


View Profile
March 22, 2018, 10:53:56 AM
 #3562

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:
Code:
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:
Code:
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 Smiley))
joblo
Legendary
*
Offline Offline

Activity: 1148
Merit: 1050


View Profile
March 22, 2018, 12:06:17 PM
 #3563

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.

cpuminer-opt developer, https://bitcointalk.org/index.php?topic=1326803.0
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
ETH: 0x72122edabcae9d3f57eab0729305a425f6fef6d0
joblo
Legendary
*
Offline Offline

Activity: 1148
Merit: 1050


View Profile
March 22, 2018, 12:08:53 PM
 #3564

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.

cpuminer-opt developer, https://bitcointalk.org/index.php?topic=1326803.0
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
ETH: 0x72122edabcae9d3f57eab0729305a425f6fef6d0
joblo
Legendary
*
Offline Offline

Activity: 1148
Merit: 1050


View Profile
March 22, 2018, 12:12:29 PM
 #3565

[a long unrelated post]

And also would be great to add argon2d algos to the next build Smiley))

It would be great if you didn't quote an entire, long, unrelated post and did some reading before
posting.

cpuminer-opt developer, https://bitcointalk.org/index.php?topic=1326803.0
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
ETH: 0x72122edabcae9d3f57eab0729305a425f6fef6d0
segotiwul
Member
**
Offline Offline

Activity: 252
Merit: 10


View Profile
March 22, 2018, 01:40:52 PM
 #3566

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
Legendary
*
Offline Offline

Activity: 1148
Merit: 1050


View Profile
March 22, 2018, 02:54:56 PM
 #3567

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#msg23484925

It'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?

cpuminer-opt developer, https://bitcointalk.org/index.php?topic=1326803.0
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
ETH: 0x72122edabcae9d3f57eab0729305a425f6fef6d0
nyo_x
Sr. Member
****
Offline Offline

Activity: 277
Merit: 250


View Profile
March 22, 2018, 03:44:01 PM
 #3568

Hi joblo,
any intentions to add sha224 / bismuth algo ?

thank you
4ward
Member
**
Online Online

Activity: 370
Merit: 16


View Profile
March 22, 2018, 04:09:43 PM
 #3569

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#msg23484925

It'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
Legendary
*
Offline Offline

Activity: 1148
Merit: 1050


View Profile
March 22, 2018, 04:33:49 PM
 #3570


That's good enough for me. It'll be fixed in the next release.

cpuminer-opt developer, https://bitcointalk.org/index.php?topic=1326803.0
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
ETH: 0x72122edabcae9d3f57eab0729305a425f6fef6d0
joblo
Legendary
*
Offline Offline

Activity: 1148
Merit: 1050


View Profile
March 22, 2018, 06:33:27 PM
 #3571

cpuminer-opt-3.8.4.1

Fixed sha256t low difficulty rejects.
Fixed compile error on CPUs with AVX512.

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

cpuminer-opt developer, https://bitcointalk.org/index.php?topic=1326803.0
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
ETH: 0x72122edabcae9d3f57eab0729305a425f6fef6d0
Voljanin
Newbie
*
Offline Offline

Activity: 16
Merit: 0


View Profile
March 23, 2018, 06:42:53 AM
 #3572

cpuminer-opt-3.8.4.1

Fixed sha256t low difficulty rejects.
Fixed compile error on CPUs with AVX512.

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

        **********  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
**
Online Online

Activity: 370
Merit: 16


View Profile
March 23, 2018, 06:58:51 AM
 #3573


        **********  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
Legendary
*
Offline Offline

Activity: 1148
Merit: 1050


View Profile
March 23, 2018, 01:11:17 PM
 #3574

It's not frozen, it's waiting for a block from the pool.

cpuminer-opt developer, https://bitcointalk.org/index.php?topic=1326803.0
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
ETH: 0x72122edabcae9d3f57eab0729305a425f6fef6d0
Gigi75
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
March 23, 2018, 03:38:11 PM
 #3575

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
Legendary
*
Offline Offline

Activity: 1148
Merit: 1050


View Profile
March 23, 2018, 05:16:03 PM
 #3576

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.

cpuminer-opt developer, https://bitcointalk.org/index.php?topic=1326803.0
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
ETH: 0x72122edabcae9d3f57eab0729305a425f6fef6d0
guytechie
Hero Member
*****
Offline Offline

Activity: 644
Merit: 500


View Profile
March 24, 2018, 03:36:54 AM
 #3577

Sorry, been out of the loop for a while.  Any new algo optimizations between 3.8.3.3 and 3.8.4.1?

Looks like some bug fixes, an API feature, and a new algo (yescryptr32).

So far, I don't see anything I would benefit from so far mining on Windows using zergpool, ahashpool, blazepool, and MPH.

Put something in my tip jar if I made your day. Smiley
BTC:
1MkmBHDjonAFXui6JEx9ZmEemfMtUo9Cmu
Gigi75
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
March 26, 2018, 09:23:07 AM
 #3578

@joblo
I've already tried re-installing libcurl and libssl / libcrypto (different versions) and modify LD_LIBRARY_PATH & LD_RUN_PATH without any results.
I use a chrooted env. because it's easier for modyfing everything but basicaly I have exactly the same isssu on my bare Ubuntu 16.10
I know it's for sure a problem of bad shared library compatibility but i cannot figure out which one are the root cause of the issu.

What are the shared lib. version does cpuminer use?
Can you send me the result of 'ldd cpuminer-opt' in your working system?
It'll be a great help to overcome this issue!

Thank you for your help,
Guillaume
joblo
Legendary
*
Offline Offline

Activity: 1148
Merit: 1050


View Profile
March 26, 2018, 04:30:10 PM
 #3579

@joblo
I've already tried re-installing libcurl and libssl / libcrypto (different versions) and modify LD_LIBRARY_PATH & LD_RUN_PATH without any results.
I use a chrooted env. because it's easier for modyfing everything but basicaly I have exactly the same isssu on my bare Ubuntu 16.10
I know it's for sure a problem of bad shared library compatibility but i cannot figure out which one are the root cause of the issu.

What are the shared lib. version does cpuminer use?
Can you send me the result of 'ldd cpuminer-opt' in your working system?
It'll be a great help to overcome this issue!

Thank you for your help,
Guillaume

Providing my shared lib lineup won't help because it's a different OS release, you meed the default for
what you have. The best way to do that is build a virgin Ubuntu 16.10 or Debian VM and make sure it
works with all defaults. Then apply your mods one at a time until it breaks.


cpuminer-opt developer, https://bitcointalk.org/index.php?topic=1326803.0
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
ETH: 0x72122edabcae9d3f57eab0729305a425f6fef6d0
felixbrucker
Hero Member
*****
Offline Offline

Activity: 672
Merit: 500


View Profile WWW
March 26, 2018, 07:50:09 PM
 #3580

one thing you could try: execute the build in docker, iirc there already is a docker file ready

then once it is built and everything works you can check the libs inside the docker container and compare them to your ones

         nicehash
      
                     BUY & SELL hashing power
    Mine bitcoin, ethereum, monero, zcash, dash, litecoin and others
      
       LEARN MORE
       at nicehash.com
      
Pages: « 1 ... 129 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 »
  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!