Bitcoin Forum
April 23, 2024, 08:56:09 AM *
News: Latest Bitcoin Core release: 27.0 [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 192 ... 197 »
  Print  
Author Topic: [LOCKED] cpuminer-opt v3.12.3, open source optimized multi-algo CPU miner  (Read 443958 times)
adamantasaurus
Sr. Member
****
Offline Offline

Activity: 700
Merit: 255


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

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
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1713862569
Hero Member
*
Offline Offline

Posts: 1713862569

View Profile Personal Message (Offline)

Ignore
1713862569
Reply with quote  #2

1713862569
Report to moderator
1713862569
Hero Member
*
Offline Offline

Posts: 1713862569

View Profile Personal Message (Offline)

Ignore
1713862569
Reply with quote  #2

1713862569
Report to moderator
spider703
Full Member
***
Offline Offline

Activity: 1764
Merit: 148



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

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 1Hof999zuqUKpifmzrSABv7tNr4nRaoJKM LTC Lf2L6DTBr2gXT38d7cVRqDQiHMndtXQyNW or write me in https://t.me/spider703
joblo (OP)
Legendary
*
Offline Offline

Activity: 1470
Merit: 1114


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

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

AKA JayDDee, cpuminer-opt developer. https://github.com/JayDDee/cpuminer-opt
https://bitcointalk.org/index.php?topic=5226770.msg53865575#msg53865575
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
NameTaken
Hero Member
*****
Offline Offline

Activity: 630
Merit: 502


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

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

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

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

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 (OP)
Legendary
*
Offline Offline

Activity: 1470
Merit: 1114


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

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.

AKA JayDDee, cpuminer-opt developer. https://github.com/JayDDee/cpuminer-opt
https://bitcointalk.org/index.php?topic=5226770.msg53865575#msg53865575
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
felixbrucker
Hero Member
*****
Offline Offline

Activity: 700
Merit: 500


View Profile WWW
November 14, 2017, 11:05:57 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

LGTM
kicherkarl
Newbie
*
Offline Offline

Activity: 1
Merit: 0


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

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 (OP)
Legendary
*
Offline Offline

Activity: 1470
Merit: 1114


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

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.

AKA JayDDee, cpuminer-opt developer. https://github.com/JayDDee/cpuminer-opt
https://bitcointalk.org/index.php?topic=5226770.msg53865575#msg53865575
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
joblo (OP)
Legendary
*
Offline Offline

Activity: 1470
Merit: 1114


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

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.

AKA JayDDee, cpuminer-opt developer. https://github.com/JayDDee/cpuminer-opt
https://bitcointalk.org/index.php?topic=5226770.msg53865575#msg53865575
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
stevascha
Member
**
Offline Offline

Activity: 312
Merit: 10


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

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

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/)
4ward
Member
**
Offline Offline

Activity: 473
Merit: 18


View Profile
November 15, 2017, 08:07:58 PM
 #2835

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
Quote
Legacy version 3.5.9.1 May provide better performance on some algos with older CPUs that
don't have AES NI. Most users should not use it.
Your cpu doesn't support AES, so try the legacy version

joblo (OP)
Legendary
*
Offline Offline

Activity: 1470
Merit: 1114


View Profile
November 16, 2017, 05:13:33 AM
 #2836

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
Quote
Legacy version 3.5.9.1 May provide better performance on some algos with older CPUs that
don't have AES NI. Most users should not use it.
Your cpu doesn't support AES, so try the legacy version

Thanks for pitching in helping new users. Your close this time but not quite correct.

The legacy version doesn't help with incompatible CPUs, it just provides a little better performance on compatible non-AES CPUs.

The real problem is described in the errrata section in the OP but was not included in the README.txt included with the Windows
binary package. It will be added in the next release. Here it is:

Quote
AMD CPUs older than Piledriver, including Athlon x2 and Phenom II x4, are not
supported by cpuminer-opt due to an incompatible implementation of SSE2 on
these CPUs. Some algos may crash the miner with an invalid instruction.
Users are recommended to use an unoptimized miner such as cpuminer-multi.

Also it's a Sempron which, like Intel's Celeron, has fewer features than the high end CPUs of the same vintage.

The bottom line is the CPU is not compatible with cpuminer-opt.

AKA JayDDee, cpuminer-opt developer. https://github.com/JayDDee/cpuminer-opt
https://bitcointalk.org/index.php?topic=5226770.msg53865575#msg53865575
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
lncm
Member
**
Offline Offline

Activity: 388
Merit: 13


View Profile
November 16, 2017, 11:10:41 AM
 #2837

I'm using precompiled windows binaries with a Ryzen 7 1700, trying to mine Verium.

My bat file starts with cpuminer-aes-avx2 -a scrypt:1048576 -o stratum+tcp://eu2.poolinat0r.com:7103

However, it only uses SSE 2 as far as I can see.



What am I doing wrong?

Where can I download precompiled binaries optimized for ryzen?

Thanks.

4ward
Member
**
Offline Offline

Activity: 473
Merit: 18


View Profile
November 16, 2017, 11:44:41 AM
 #2838

I'm using precompiled windows binaries with a Ryzen 7 1700, trying to mine Verium.

My bat file starts with cpuminer-aes-avx2 -a scrypt:1048576 -o stratum+tcp://eu2.poolinat0r.com:7103

However, it only uses SSE 2 as far as I can see.



What am I doing wrong?

Where can I download precompiled binaries optimized for ryzen?

Thanks.



because the algo supports only sse2

lncm
Member
**
Offline Offline

Activity: 388
Merit: 13


View Profile
November 16, 2017, 02:58:34 PM
 #2839

I'm using precompiled windows binaries with a Ryzen 7 1700, trying to mine Verium.

My bat file starts with cpuminer-aes-avx2 -a scrypt:1048576 -o stratum+tcp://eu2.poolinat0r.com:7103

However, it only uses SSE 2 as far as I can see.



What am I doing wrong?

Where can I download precompiled binaries optimized for ryzen?

Thanks.



because the algo supports only sse2

Oh, I see. Is this the correct algo, then?

I'm asking because my old Xeon E5645 with v3.4.6. gives me almost double H/s per core than my Ryzen 1700, so I guess something is wrong.
4ward
Member
**
Offline Offline

Activity: 473
Merit: 18


View Profile
November 16, 2017, 03:18:51 PM
 #2840

I'm using precompiled windows binaries with a Ryzen 7 1700, trying to mine Verium.

My bat file starts with cpuminer-aes-avx2 -a scrypt:1048576 -o stratum+tcp://eu2.poolinat0r.com:7103

However, it only uses SSE 2 as far as I can see.



What am I doing wrong?

Where can I download precompiled binaries optimized for ryzen?

Thanks.



because the algo supports only sse2

Oh, I see. Is this the correct algo, then?

I'm asking because my old Xeon E5645 with v3.4.6. gives me almost double H/s per core than my Ryzen 1700, so I guess something is wrong.

Yes, thats the correct algo from what i remember.
And the speed might depend on instruction implementation in the processor, hyperthreading, core speed and cache size.
I don't know how much the specific algo benefit from each of those, but it might be logical

On some algos i get higher hash rate on core i7-6700@3.4GHz probably due to HT and larger cache, while some are faster on core i5-7600@4.5Ghz due to higher clock

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 192 ... 197 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!