Bitcoin Forum
April 21, 2019, 03:25:04 PM *
News: Latest Bitcoin Core release: 0.17.1 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 ... 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 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 191 »
  Print  
Author Topic: [ANN]: cpuminer-opt v3.8.8.1, open source optimized multi-algo CPU miner  (Read 419387 times)
4ward
Member
**
Offline Offline

Activity: 451
Merit: 17


View Profile
November 09, 2017, 08:17:29 AM
 #2821

Should I be worried that my CPU, software, algo all supports AVX but it's not being used? Or does using AVX2 mean that AVX doesn't matter?

Code:
CPU: Intel(R) Xeon(R) CPU E5-2650 v3 @ 2.30GHz
CPU features: SSE2 AES AVX AVX2
SW built on Nov  2 2017 with GCC 5.4.0
SW features: SSE2 AES AVX AVX2
Algo features: SSE2 AES AVX AVX2
Start mining with SSE2 AES AVX2
it uses the best available implementation, so yes, AVX doesn't matter when you have AVX2

Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1555860304
Hero Member
*
Offline Offline

Posts: 1555860304

View Profile Personal Message (Offline)

Ignore
1555860304
Reply with quote  #2

1555860304
Report to moderator
1555860304
Hero Member
*
Offline Offline

Posts: 1555860304

View Profile Personal Message (Offline)

Ignore
1555860304
Reply with quote  #2

1555860304
Report to moderator
double-mint
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
November 09, 2017, 08:48:49 AM
 #2822

it uses the best available implementation, so yes, AVX doesn't matter when you have AVX2

Thanks for confirming.
runningwithbeer
Newbie
*
Offline Offline

Activity: 11
Merit: 0


View Profile
November 09, 2017, 04:06:36 PM
 #2823

Not getting this to work on CentOS7. Any ideas folks? I think I've got all the dependencies...

Build.sh output...
Code:
[b]algo/m7m.c:4:17: fatal error: gmp.h: No such file or directory
 #include <gmp.h>
                 ^
compilation terminated.[/b]
gcc -std=gnu99 -DHAVE_CONFIG_H -I.  -Iyes/include -fno-strict-aliasing -I./compa                                             t/jansson -I. -Iyes/include -Wno-pointer-sign -Wno-pointer-to-int-cast   -O3 -ma                                             rch=native -Wall  -Iyes/include -MT algo/cpuminer-nist5.o -MD -MP -MF algo/.deps                                             /cpuminer-nist5.Tpo -c -o algo/cpuminer-nist5.o `test -f 'algo/nist5.c' || echo                                              './'`algo/nist5.c
In file included from algo/nist5.c:15:0:
./algo/keccak/sse2/keccak.c:780:2: warning: multi-line comment [-Wcomment]
  //kekDECL_STATE \
  ^
algo/nist5.c: In function ??nist5hash??:
algo/nist5.c:69:6: warning: right shift count >= width of type [enabled by defau                                             lt]
      JH_H;
      ^
algo/nist5.c:69:6: warning: right shift count >= width of type [enabled by defau                                             lt]
algo/nist5.c:69:6: warning: right shift count >= width of type [enabled by defau                                             lt]
algo/nist5.c:69:6: warning: right shift count >= width of type [enabled by defau                                             lt]
make[2]: *** [algo/cpuminer-m7m.o] Error 1
make[2]: *** Waiting for unfinished jobs....
mv -f algo/heavy/.deps/cpuminer-bastion.Tpo algo/heavy/.deps/cpuminer-bastion.Po
mv -f algo/.deps/cpuminer-neoscrypt.Tpo algo/.deps/cpuminer-neoscrypt.Po
mv -f algo/.deps/cpuminer-nist5.Tpo algo/.deps/cpuminer-nist5.Po
make[2]: Leaving directory `/root/cpuminer-opt'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/cpuminer-opt'
make: *** [all] Error 2
strip: 'cpuminer': No such file
[root@CENTOS7 cpuminer-opt]#

4ward
Member
**
Offline Offline

Activity: 451
Merit: 17


View Profile
November 09, 2017, 05:14:12 PM
 #2824

Not getting this to work on CentOS7. Any ideas folks? I think I've got all the dependencies...

Build.sh output...
Code:
[b]algo/m7m.c:4:17: fatal error: gmp.h: No such file or directory
 #include <gmp.h>
                 ^
compilation terminated.[/b]
gcc -std=gnu99 -DHAVE_CONFIG_H -I.  -Iyes/include -fno-strict-aliasing -I./compa                                             t/jansson -I. -Iyes/include -Wno-pointer-sign -Wno-pointer-to-int-cast   -O3 -ma                                             rch=native -Wall  -Iyes/include -MT algo/cpuminer-nist5.o -MD -MP -MF algo/.deps                                             /cpuminer-nist5.Tpo -c -o algo/cpuminer-nist5.o `test -f 'algo/nist5.c' || echo                                              './'`algo/nist5.c
In file included from algo/nist5.c:15:0:
./algo/keccak/sse2/keccak.c:780:2: warning: multi-line comment [-Wcomment]
  //kekDECL_STATE \
  ^
algo/nist5.c: In function ??nist5hash??:
algo/nist5.c:69:6: warning: right shift count >= width of type [enabled by defau                                             lt]
      JH_H;
      ^
algo/nist5.c:69:6: warning: right shift count >= width of type [enabled by defau                                             lt]
algo/nist5.c:69:6: warning: right shift count >= width of type [enabled by defau                                             lt]
algo/nist5.c:69:6: warning: right shift count >= width of type [enabled by defau                                             lt]
make[2]: *** [algo/cpuminer-m7m.o] Error 1
make[2]: *** Waiting for unfinished jobs....
mv -f algo/heavy/.deps/cpuminer-bastion.Tpo algo/heavy/.deps/cpuminer-bastion.Po
mv -f algo/.deps/cpuminer-neoscrypt.Tpo algo/.deps/cpuminer-neoscrypt.Po
mv -f algo/.deps/cpuminer-nist5.Tpo algo/.deps/cpuminer-nist5.Po
make[2]: Leaving directory `/root/cpuminer-opt'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/cpuminer-opt'
make: *** [all] Error 2
strip: 'cpuminer': No such file
[root@CENTOS7 cpuminer-opt]#


algo/m7m.c:4:17: fatal error: gmp.h: No such file or directory

you are missing gmp library
i would guess that its gmp-devel that you need to install




runningwithbeer
Newbie
*
Offline Offline

Activity: 11
Merit: 0


View Profile
November 09, 2017, 05:38:12 PM
 #2825

I had the wrong package for CentOS. Thanks for the push in the right direction.
Bluecheese
Member
**
Offline Offline

Activity: 100
Merit: 10


View Profile
November 09, 2017, 10:19:50 PM
 #2826

Has anyone made a build for a Mac or can point me in the right direction for compiling?

adamantasaurus
Sr. Member
****
Offline Offline

Activity: 560
Merit: 255



View Profile WWW
November 10, 2017, 01:51:38 AM
 #2827

Hey All,

I downloaded the windows binaries but when I extract it and then open any of the cpuminer app files nothing happens a window opens for one second and then closes how do I get this miner running?

Thanks


             ▐█████▄
            ▐█████████        ▄▄▄
            ▐████  ▐█████   ▀▀▀  █▌
            ▐███  ▐███████      ▐█▌
            ▐██▌   ▀█████▀     ▐█▀
       ▂▄▄▐██▌     ▀▀▀      ▐█▌
    ▐██████████████▄▄▄▄▄     ▄█▌
  ▐███       ▐███▀▀█████▄▄▄ ▐██
   ▐█▌        ▐███    ▀▀▀███████▄▄▄
    ▀▀▀        ▐███        ▐██▀█████▄▄
                ▐███      ▐██▌    ▀▀███▄▄
                 ▐███    ▐██▌  ▄▄▄▄▄  ███▄
         ▄████▄   ▐██▌  ▐███  ▐███████████
       ▐████████▌  ▐██▌▐██▌   ▐████████▀▀
        ▀██████▀    ▐████▀     ▀████▀
         ▐███▀     ▄█▐███
        ▐███▀   ▄████▌▀███
        ▐██████████▀    ▐█▌    █
         ▀████▀▀         ▐█▌  ██
                           ▀▀▀▀





























DPOS Financial Ecosystem
Hybrid-decentralized exchange














▶  FACEBOOK
▶  TWITTER
▶  TELEGRAM
▶  BITCOINTALK
▶  BLOG
▶  FORUM
▶  WHITEPAPER
▶  GITTER
▶  GITHUB
▶  SLACK
▶  REDDIT
spider703
Full Member
***
Offline Offline

Activity: 252
Merit: 100



View Profile WWW
November 10, 2017, 06:28:59 AM
 #2828

Hey All,

I downloaded the windows binaries but when I extract it and then open any of the cpuminer app files nothing happens a window opens for one second and then closes how do I get this miner running?

Thanks
cpuminer-aes-avx -a m7m -o stratum+tcp://m7m.mine.zpool.ca:6033 -u 1J6ERS9LjhRhXkifkVfdpbP56aY7TLqEoe -p x -t 4
t4 - this 4 core

BTC- 1ETPsixbwuDNJH5XvDb3kMrCr69ZFePSdK ETH- 0xDd48FE784Ac7d4e39C8cEE96BF0dB5269753b22E LTC- LL5d4Nk5CuLy8vRRH2iD4sYq8eRdiamG7H if need you can write me https://t.me/Spider703
joblo
Legendary
*
Offline Offline

Activity: 1148
Merit: 1050


View Profile
November 14, 2017, 07:46:13 PM
 #2829

A pull request has been received to change the dockerfile.

There are 2 changes, one to address an issue with line continuation, but also a change that claims to
reduce the image size.

Since I know very little about docker I defer to the community for review of the change. If there are any
concerns with the change, please raise them. If there are no objections the changes will be included in
the next release.

https://github.com/JayDDee/cpuminer-opt/pull/41

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

Activity: 630
Merit: 502


View Profile
November 14, 2017, 08:01:00 PM
 #2830

A pull request has been received to change the dockerfile.

There are 2 changes, one to address an issue with line continuation, but also a change that claims to
reduce the image size.

Since I know very little about docker I defer to the community for review of the change. If there are any
concerns with the change, please raise them. If there are no objections the changes will be included in
the next release.

https://github.com/JayDDee/cpuminer-opt/pull/41
The Docker image could be smaller by using Alpine Linux as the base. Alpine uses libressl by default but also have openssl-1.0.2 in its repo so I'm not sure about any impact on performance.
filoozom
Newbie
*
Offline Offline

Activity: 11
Merit: 0


View Profile
November 14, 2017, 08:13:28 PM
 #2831

A pull request has been received to change the dockerfile.

There are 2 changes, one to address an issue with line continuation, but also a change that claims to
reduce the image size.

Since I know very little about docker I defer to the community for review of the change. If there are any
concerns with the change, please raise them. If there are no objections the changes will be included in
the next release.

https://github.com/JayDDee/cpuminer-opt/pull/41
The Docker image could be smaller by using Alpine Linux as the base. Alpine uses libressl by default but also have openssl-1.0.2 in its repo so I'm not sure about any impact on performance.

Yes, it could, but didn't quite manage to compile it on alpine yet. If you have more info, please share!

Just for info, this image with the multi-stage build process is 55Mb compressed compared to 160Mb for all other images on Docker Hub.
You can try it easily over here: https://hub.docker.com/r/filoozom/cpuminer-opt/
NameTaken
Hero Member
*****
Offline Offline

Activity: 630
Merit: 502


View Profile
November 14, 2017, 08:19:27 PM
 #2832

A pull request has been received to change the dockerfile.

There are 2 changes, one to address an issue with line continuation, but also a change that claims to
reduce the image size.

Since I know very little about docker I defer to the community for review of the change. If there are any
concerns with the change, please raise them. If there are no objections the changes will be included in
the next release.

https://github.com/JayDDee/cpuminer-opt/pull/41
The Docker image could be smaller by using Alpine Linux as the base. Alpine uses libressl by default but also have openssl-1.0.2 in its repo so I'm not sure about any impact on performance.

Yes, it could, but didn't quite manage to compile it on alpine yet. If you have more info, please share!
I just tried compiling but got the error

Code:
In file included from algo/echo/aes_ni/hash.c:21:0:
algo/echo/aes_ni/vperm.h:53:7: note: called from here
  x  = _mm_shuffle_epi8(*((__m128i*)table + 0), x);\
       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
algo/echo/aes_ni/hash.c:385:4: note: in expansion of macro 'TRANSFORM'
    TRANSFORM(_state[i][j], _k_opt, t1, t2);
    ^~~~~~~~~
In file included from algo/echo/aes_ni/vperm.h:20:0,
                 from algo/echo/aes_ni/hash.c:21:
/usr/lib/gcc/x86_64-alpine-linux-musl/6.4.0/include/tmmintrin.h:136:1: error: inlining failed in call to always_inline '_mm_shuffle_epi8': target specific option mismatch
 _mm_shuffle_epi8 (__m128i __X, __m128i __Y)
 ^~~~~~~~~~~~~~~~
In file included from algo/echo/aes_ni/hash.c:21:0:
algo/echo/aes_ni/vperm.h:52:5: note: called from here
  t1 = _mm_shuffle_epi8(*((__m128i*)table + 1), t1);\

algo/echo/aes_ni/hash.c:385:4: note: in expansion of macro 'TRANSFORM'
    TRANSFORM(_state[i][j], _k_opt, t1, t2);
    ^~~~~~~~~
source='algo/hodl/aes.c' object='algo/hodl/cpuminer-aes.o' libtool=no \
DEPDIR=.deps depmode=none /bin/sh ./depcomp \
gcc -DHAVE_CONFIG_H -I.  -Iyes/include -Iyes/include -fno-strict-aliasing  -I. -Iyes/include -Iyes/include -Wno-pointer-sign -Wno-pointer-to-int-cast   -g -O2  -Iyes/include -Iyes/include -c -o algo/hodl/cpuminer-aes.o `test -f 'algo/hodl/aes.c' || echo './'`algo/hodl/aes.c
make[2]: *** [Makefile:2491: algo/echo/aes_ni/cpuminer-hash.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/cpuminer-opt'
make[1]: *** [Makefile:3506: all-recursive] Error 1
make[1]: Leaving directory '/cpuminer-opt'
make: *** [Makefile:665: all] Error 2

v3t3r4n0
Newbie
*
Offline Offline

Activity: 1
Merit: 0


View Profile
November 14, 2017, 08:52:51 PM
 #2833

Hello guys. I am a domestic miner and I live in Brazil - Rio de Janeiro. My English is not very good. Congratulations Mr. Joblo for the excellent work with the multi-algorithm mining. I am a GNU / Linux Debian user. cpuminer-opt works perfectly on Debian and I'm very satisfied. I recently bought a PC with the AMD Ryzen 7 1700 processor. I intend to do some testing on Windows 10. I would like an orientation. There are 5 executable files in the Windows binary package. To perform the XMR mining and not underutilize the performance of my AMD Ryzen should I test each of the executables and check the performance or would one of you recommend me a specific executable? I thank you all.
joblo
Legendary
*
Offline Offline

Activity: 1148
Merit: 1050


View Profile
November 14, 2017, 10:45:22 PM
 #2834

Hello guys. I am a domestic miner and I live in Brazil - Rio de Janeiro. My English is not very good. Congratulations Mr. Joblo for the excellent work with the multi-algorithm mining. I am a GNU / Linux Debian user. cpuminer-opt works perfectly on Debian and I'm very satisfied. I recently bought a PC with the AMD Ryzen 7 1700 processor. I intend to do some testing on Windows 10. I would like an orientation. There are 5 executable files in the Windows binary package. To perform the XMR mining and not underutilize the performance of my AMD Ryzen should I test each of the executables and check the performance or would one of you recommend me a specific executable? I thank you all.

You answered your own question, use the fastest one that doesn't crash. In the case of Ryzen it should be AES-AVX2.
However, none of the builds can take advantage of SHA acceleration on supported algos, you need to compile on Linux to get that.

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

Activity: 700
Merit: 500


View Profile WWW
November 14, 2017, 11:05:57 PM
 #2835

A pull request has been received to change the dockerfile.

There are 2 changes, one to address an issue with line continuation, but also a change that claims to
reduce the image size.

Since I know very little about docker I defer to the community for review of the change. If there are any
concerns with the change, please raise them. If there are no objections the changes will be included in
the next release.

https://github.com/JayDDee/cpuminer-opt/pull/41

LGTM
kicherkarl
Newbie
*
Offline Offline

Activity: 1
Merit: 0


View Profile
November 15, 2017, 12:00:28 AM
 #2836

I just want to share my little test results.

algo: lyra2z
CPU: Ryzen 1800x stock settings
options: -t 16

AVX: 600 kH/s, 67°C
AVX2: 852 kH/s, 72°C

Is there any overview over the options? Or where can I find them in code?
at which temperatures are you mining?
joblo
Legendary
*
Offline Offline

Activity: 1148
Merit: 1050


View Profile
November 15, 2017, 03:47:47 AM
 #2837

I just tried compiling but got the error

Code:
In file included from algo/echo/aes_ni/hash.c:21:0:
algo/echo/aes_ni/vperm.h:53:7: note: called from here
  x  = _mm_shuffle_epi8(*((__m128i*)table + 0), x);\
       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
algo/echo/aes_ni/hash.c:385:4: note: in expansion of macro 'TRANSFORM'
    TRANSFORM(_state[i][j], _k_opt, t1, t2);
    ^~~~~~~~~
In file included from algo/echo/aes_ni/vperm.h:20:0,
                 from algo/echo/aes_ni/hash.c:21:
/usr/lib/gcc/x86_64-alpine-linux-musl/6.4.0/include/tmmintrin.h:136:1: error: inlining failed in call to always_inline '_mm_shuffle_epi8': target specific option mismatch
 _mm_shuffle_epi8 (__m128i __X, __m128i __Y)
 ^~~~~~~~~~~~~~~~
In file included from algo/echo/aes_ni/hash.c:21:0:
algo/echo/aes_ni/vperm.h:52:5: note: called from here
  t1 = _mm_shuffle_epi8(*((__m128i*)table + 1), t1);\

algo/echo/aes_ni/hash.c:385:4: note: in expansion of macro 'TRANSFORM'
    TRANSFORM(_state[i][j], _k_opt, t1, t2);
    ^~~~~~~~~
source='algo/hodl/aes.c' object='algo/hodl/cpuminer-aes.o' libtool=no \
DEPDIR=.deps depmode=none /bin/sh ./depcomp \
gcc -DHAVE_CONFIG_H -I.  -Iyes/include -Iyes/include -fno-strict-aliasing  -I. -Iyes/include -Iyes/include -Wno-pointer-sign -Wno-pointer-to-int-cast   -g -O2  -Iyes/include -Iyes/include -c -o algo/hodl/cpuminer-aes.o `test -f 'algo/hodl/aes.c' || echo './'`algo/hodl/aes.c
make[2]: *** [Makefile:2491: algo/echo/aes_ni/cpuminer-hash.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/cpuminer-opt'
make[1]: *** [Makefile:3506: all-recursive] Error 1
make[1]: Leaving directory '/cpuminer-opt'
make: *** [Makefile:665: all] Error 2


This could be CPU related, especially if it's an AMD, and even worse an old AMD. I have found that many strange compile errors
with SIMD intrinsics are due to architecture issues where the intrinsic isn't recognized as such and gets "implicitly declared" at compile
time assuming type int instead of __m128i. After that any reference to the intrinsic causes the compiler to spit out strange error messages.
You can confirm this is you find previous implicit declaration warnings related to SIMD intrinsic functions.

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
November 15, 2017, 03:53:36 AM
 #2838

A pull request has been received to change the dockerfile.

There are 2 changes, one to address an issue with line continuation, but also a change that claims to
reduce the image size.

Since I know very little about docker I defer to the community for review of the change. If there are any
concerns with the change, please raise them. If there are no objections the changes will be included in
the next release.

https://github.com/JayDDee/cpuminer-opt/pull/41

LGTM

Then it's good enough for me. It will be included in the next release but might be merged in git before then
as there are no immediate plans for a new release.

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

Activity: 314
Merit: 10


View Profile
November 15, 2017, 08:21:35 AM
 #2839

hi joblo, how to use hyperthreading in v3.7.2? especially ivybridge

YENTEN - YescryptR16 - NO PREMINE - ASIC RESISTANT - WALLET MINING - COMMUNITY MANAGED - ADULT MALES
Yenten is a Japanese cryptocurrency of the cpu, by the cpu, for the cpu.
No ASIC. ASIC is for girls and kids. Join us!
cappy176
Jr. Member
*
Offline Offline

Activity: 83
Merit: 3


View Profile
November 15, 2017, 07:26:33 PM
 #2840

Hey guys so Im trying to run the miner but with every cpuminer sse aes sse42 etc etc. It crashes after a few seconds says cpuminer is not responding and closes my .bat file like it froze does anyone know what I can do to fix this?

Also I'm trying to mine using an old acer desktop with windows 10 and AMD cempron 145 processor 2.80 ghz if that info helps?

Thank you

★ PRiVCY ➢ Own Your Privacy! ➢ Best privacy crypto-market! ★
✈✈✈[PoW/PoS]✅[Tor]✅[Airdrop]✈✈✈ (https://privcy.io/)
Pages: « 1 ... 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 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 191 »
  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!