Pages:
Author

Topic: [ANN]: cpuminer-opt v3.8.8.1, open source optimized multi-algo CPU miner - page 90. (Read 444067 times)

member
Activity: 85
Merit: 10
LOL. Which algo?
Yet they do not believe  Undecided
AMD FX-6300 t-5 example
hmq1725   90 -  95
zoin        201 - 210
TimeTrav 360 - 385
Although the transition has been with GCC 6.2  GCC 6.3
Is he able to influence?
full member
Activity: 144
Merit: 100
Eager to learn
yes  , good advice    only that multiminer doesnt support hmq1725 yet  , maybe in future releases  hopefully

thank you
legendary
Activity: 1470
Merit: 1114
the algos which gonna fail

miner stops after checking first block , crash is then reported by miner as illegal instruction

3.5.11 tested , same results as in 3.5.10 nothing changes for Amd cpu

Thanks for testing. I think I've done all I can to get thosre old AMDs to work.

An illegal instruction usually means the CPU hasn't implemented it, often when trying to
ue AES instructions on a CPU that doesn't support AES. In this case it appears these AMD
CPUs don't have the full SSE2 implementation.

Even if there was a way for the compiler to detect this condition the result would be a build
without any optimizations, ie it would be the same as cpuminer-multi.

My recommendation is to use cpuminer-multi on those algos.
full member
Activity: 144
Merit: 100
Eager to learn
fine , then you can count yourself to the lucky one´s

we´ve talked about this config

Xubuntu 16.04LTS GCC 5.4.1  AMD Athlon II x2 240

Cpuminer-opt 3.5.10

hmq1725 and some other x-variants , also the hashrate is lower at about 10kh/s compared to 3.5.9 on timetravel makes around 8% in my case
legendary
Activity: 1470
Merit: 1114
cpuminer-opt 3.5.11 is released. No optimizations, just bug fixes. Details in OP.
He's lying, lying  Grin
I'm on my 3.5.11 compilation gcc 6.3 speed became higher by 3-5% than at the same 3.5.10

LOL. Which algo?
member
Activity: 85
Merit: 10
cpuminer-opt 3.5.11 is released. No optimizations, just bug fixes. Details in OP.
He's lying, lying  Grin
I'm on my 3.5.11 compilation gcc 6.3 speed became higher by 3-5% than at the same 3.5.10
full member
Activity: 144
Merit: 100
Eager to learn
the algos which gonna fail

miner stops after checking first block , crash is then reported by miner as illegal instruction

3.5.11 tested , same results as in 3.5.10 nothing changes for Amd cpu
legendary
Activity: 1470
Merit: 1114
I was able to compile the miner using the "-O3" flag in the compiler.. Whatever that means Smiley

I've created a pull request to add support for onecoin (OC):

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

Coin:
https://bitcointalksearch.org/topic/annoc-onecoin-no-premine-fair-launch-sha256-triple-1801129



I'm not sure what went wrong with your compile, but it was really messed up. -O3  is optimizaration
level 3, just a short cut to enable a bunch of individual options.

I'll take a look at your pull request.
legendary
Activity: 2688
Merit: 1240
I was able to compile the miner using the "-O3" flag in the compiler.. Whatever that means Smiley

I've created a pull request to add support for onecoin (OC):

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

Coin:
https://bitcointalksearch.org/topic/annoc-onecoin-no-premine-fair-launch-sha256-triple-1801129

legendary
Activity: 2688
Merit: 1240
I'm getting this error when trying to compile:

cpuminer-cpu-miner.o: In function `check_cpu_capability':
cpu-miner.c:(.text+0x8696): undefined reference to `set_incl'
cpu-miner.c:(.text+0x86a8): undefined reference to `set_incl'
cpu-miner.c:(.text+0x86ba): undefined reference to `set_incl'
algo/argon2/cpuminer-argon2a.o: In function `argon2hash':
argon2a.c:(.text+0x256): undefined reference to `argon_call'
algo/luffa/sse2/cpuminer-luffa_for_sse2.o: In function `update_luffa':
luffa_for_sse2.c:(.text+0x1dc): undefined reference to `mm_byteswap_epi32'
luffa_for_sse2.c:(.text+0x1f2): undefined reference to `mm_byteswap_epi32'
luffa_for_sse2.c:(.text+0x237): undefined reference to `mm_byteswap_epi32'
algo/luffa/sse2/cpuminer-luffa_for_sse2.o: In function `update_and_final_luffa':
luffa_for_sse2.c:(.text+0x595): undefined reference to `mm_byteswap_epi32'
luffa_for_sse2.c:(.text+0x5ab): undefined reference to `mm_byteswap_epi32'
algo/luffa/sse2/cpuminer-luffa_for_sse2.o:luffa_for_sse2.c:(.text+0x5ec): more undefined references to `mm_byteswap_epi32' follow
algo/luffa/sse2/cpuminer-luffa_for_sse2.o: In function `finalization512':
luffa_for_sse2.c:(.text+0x17853): undefined reference to `mm256_byteswap_epi32'
luffa_for_sse2.c:(.text+0x179ef): undefined reference to `mm256_byteswap_epi32'
algo/lyra2/cpuminer-lyra2.o: In function `LYRA2RE':
lyra2.c:(.text+0xd9e): undefined reference to `memset_zero_m256i'
algo/lyra2/cpuminer-sponge.o: In function `squeeze':
sponge.c:(.text+0x1d6): undefined reference to `memcpy_m256i'
sponge.c:(.text+0xd9d): undefined reference to `memcpy_m256i'
algo/lyra2/cpuminer-lyra2rev2.o: In function `lyra2rev2_thread_init':
lyra2rev2.c:(.text+0xb43): undefined reference to `memset_zero_m256i'
algo/lyra2/cpuminer-zcoin.o: In function `zcoin_thread_init':
zcoin.c:(.text+0x752): undefined reference to `memset_zero_m256i'
algo/lyra2/cpuminer-zoin.o: In function `zoin_thread_init':
zoin.c:(.text+0x564): undefined reference to `memset_zero_m256i'
algo/cpuminer-m7m.o: In function `swit2_':
m7m.c:(.text+0x1b3): undefined reference to `exp_n'
m7m.c:(.text+0x1e4): undefined reference to `exp_n'
algo/cpuminer-timetravel.o: In function `next_permutation':
timetravel.c:(.text+0x189): undefined reference to `tt_swap'
timetravel.c:(.text+0x19c): undefined reference to `reverse'
timetravel.c:(.text+0x1bb): undefined reference to `reverse'
collect2: error: ld returned 1 exit status
Makefile:1347: recipe for target 'cpuminer' failed
make[2]: *** [cpuminer] Error 1



Really weird.. What am I missing there ?
newbie
Activity: 37
Merit: 0
Thanks. That was a lot of work, very much appreciated. It will help with my testing.
I don't often test for these architectures.

Edit:

I've tested the algos that failed for you on a i7-6700K compiled with gcc 4.8 using -march=core2 and they work.
You can retest hmq1275 in the next release. Some of the other algos have the same bug that caused x11 to crash
on Windows
(The x11 bug affected only AVX2, not an issue on your x2). How did those algos fail?
Did the miner crash? Produce rejects? Do something else?

I'm trying on an Athlon64 X2 4000+ with gcc-5.2.1 using CFLAGS "-fomit-frame-pointer -Ofast -march=core2 -Wall". I made a super quick and dirty Python script which assumes that the algo works if it can run in the benchmark for 10 seconds:

- axiom: Fail
- bastion: Fail
- blake: OK
- blakecoin: Fail
- blake2s: OK
- bmw: Fail
- c11: Fail
- cryptolight: OK
- cryptonight: OK
- decred: OK
- deep: OK
- drop: OK
- fresh: Fail
- groestl: OK
- heavy: Fail
- hmq1725: Fail
- hodl: OK
- keccak: Fail
- lbry: OK
- luffa: Fail
- lyra2re: OK
- lyra2rev2: OK
- lyra2z: Fail
- lyra2zoin: Fail
- m7m: OK
- myr-gr: OK
- neoscrypt: OK
- nist5: OK
- pluck: Fail
- pentablake: OK
- quark: OK
- qubit: Fail
- scrypt: OK
- scryptjane:nf: Fail  <- Not sure how to test this.
- sha256d: OK
- shavite3: Fail
- skein: OK
- skein2: OK
- timetravel: Fail
- vanilla: Fail
- veltor: Fail
- whirlpool: Fail
- whirlpoolx: Fail
- x11: Fail
- x11evo: Fail
- x11gost: Fail
- x13: Fail
- x14: Fail
- x15: Fail
- x17: Fail
- xevan: Fail
- yescrypt: Fail
- zr5: OK

When failing it's always "Illegal instruction (core dumped)".

Quote
CPU: 
CPU features: SSE2
SW built on Mar  1 2017 with GCC 5.2.1
SW features: SSE2
Algo features: SSE2
Start mining with SSE2
legendary
Activity: 1470
Merit: 1114
cpuminer-opt 3.5.11 is released. No optimizations, just bug fixes. Details in OP.
legendary
Activity: 1470
Merit: 1114
Report as been asked for

Xubuntu 16.04LTS GCC 5.4.1  AMD Athlon II x2 240

Cpuminer-opt 3.5.10

Built with -march=btver1    compiling with -march=core2 makes no difference , same result   both arches choosen working on this CPU

algos they work or not    

timetravel  OK
neoscrypt   OK
decred        OK
blake2s      OK
x17             Fail
m7m          OK
c11             Fail
blakecoin   OK
sib              Fail
x11evo       Fail
veltor         OK
yescrypt     Fail
nist5           OK
groestl        OK
Qubit          Fail
x13             Fail
x14             Fail
x15             Fail
Quark         OK
myr-gr        OK
skein          OK
keccak       OK
xevan        Fail
hmq1725   Fail
lyra2rev2   OK
lyra2z        Fail

hope this help someone

Thanks. That was a lot of work, very much appreciated. It will help with my testing.
I don't often test for these architectures.

Edit:

I've tested the algos that failed for you on a i7-6700K compiled with gcc 4.8 using -march=core2 and they work.
You can retest hmq1275 in the next release. Some of the other algos have the same bug that caused x11 to crash
on Windows
(The x11 bug affected only AVX2, not an issue on your x2). How did those algos fail?
Did the miner crash? Produce rejects? Do something else?


full member
Activity: 144
Merit: 100
Eager to learn
Report as been asked for

Xubuntu 16.04LTS GCC 5.4.1  AMD Athlon II x2 240

Cpuminer-opt 3.5.10

Built with -march=btver1    compiling with -march=core2 makes no difference , same result   both arches choosen working on this CPU

algos they work or not    

timetravel  OK
neoscrypt   OK
decred        OK
blake2s      OK
x17             Fail
m7m          OK
c11             Fail
blakecoin   OK
sib              Fail
x11evo       Fail
veltor         OK
yescrypt     Fail
nist5           OK
groestl        OK
Qubit          Fail
x13             Fail
x14             Fail
x15             Fail
Quark         OK
myr-gr        OK
skein          OK
keccak       OK
xevan        Fail
hmq1725   Fail
lyra2rev2   OK
lyra2z        Fail

hope this help someone
legendary
Activity: 1470
Merit: 1114
Having some error when compiling:

These files do not exist in GIT.
What are the solutions?

Obviously those files do exist, you can look for yourself. It would help it you said what you did.

Here - https://github.com/JayDDee/cpuminer-opt I have not found these files.
I have tried to assemble these sources in VC + +2015.
Previously download them via GIT.
As well as simply by downloading the archive.
The content was identical.

Read the instructions before posting stupid questions.
full member
Activity: 216
Merit: 100
Having some error when compiling:

These files do not exist in GIT.
What are the solutions?

Obviously those files do exist, you can look for yourself. It would help it you said what you did.

Here - https://github.com/JayDDee/cpuminer-opt I have not found these files.
I have tried to assemble these sources in VC + +2015.
Previously download them via GIT.
As well as simply by downloading the archive.
The content was identical.
legendary
Activity: 1470
Merit: 1114
Having some error when compiling:

These files do not exist in GIT.
What are the solutions?

Obviously those files do exist, you can look for yourself. It would help it you said what you did.
legendary
Activity: 1470
Merit: 1114
Wanna to report another minor issue.

It seems that there's a visible speed drop in case of locking (Win+L) Windows with the miner being active. E.g., on windows 7 & cryptolite, the speed drop is ~370 H/s >> ~310 H/s while the computer is locked, and the speed restores after unlocking. Tested several times to be sure. No issues with other mining software found (yam, xmr-stack, claymore). All possible power-saving options are disabled on my desktops, miner is launched from admin.

Should I try something, or it's really on the miner side?

It's your screensaver running, turn it off and just use power management. If you need to lock the PC
you may have to live with the lower hahrate.
full member
Activity: 216
Merit: 100
Having some error when compiling:

algo\sha3\sph_gost.c: No such file or directory
algo\sha3\sph_whirlpool.c: No such file or directory
algo\sha3\sph_hamsi.c: No such file or directory
algo\sse2\skein.c: No such file or directory
algo\sha3\sph_skein.c: No such file or directory
algo\sse2\vect128\vector.c: No such file or directory
algo\sse2\vect128\nist.c: No such file or directory
algo\sha3\sph_simd.c: No such file or directory
algo\sha3\sph_shavite.c: No such file or directory
algo\sha3\sph_shabal.c: No such file or directory
algo\sse2\luffa_for_sse2.c: No such file or directory
algo\sha3\sph_luffa.c: No such file or directory
algo\sse2\keccak.c: No such file or directory
algo\sha3\sph_keccak.c: No such file or directory
algo\sha3\sph_jh.c: No such file or directory
algo\aes_ni\groestl\hash-groestl.c: No such file or directory
algo\sha3\sph_groestl.c: No such file or directory
algo\sha3\sph_fugue.c: No such file or directory
algo\aes_ni\echo512\hash.c: No such file or directory
algo\sse2\echo.c: No such file or directory
algo\sha3\sph_echo.c: No such file or directory
algo\sse2\cubehash_sse2.c: No such file or directory
algo\sha3\sph_cubehash.c: No such file or directory
algo\sse2\bmw.c: No such file or directory
algo\sha3\sph_bmw.c: No such file or directory
algo\sha3\mod_blakecoin.c: No such file or directory
algo\sha3\sph_blake.c: No such file or directory
 cpuminer-config.h: No such file or directory
algo\x15_sse2.c: No such file or directory
algo\x15_aes.c: No such file or directory
algo\x15.c: No such file or directory cpuminer
algo\x14_sse2.c: No such file or directory
algo\x14_aes.c: No such file or directory
algo\x14.c: No such file or directory cpuminer
algo\x13_sse2.c: No such file or directory
algo\x13_aes.c: No such file or directory
algo\x13.c: No such file or directory cpuminer
algo\x11_sse2.c: No such file or directory
algo\x11_aes.c: No such file or directory
algo\x11.c: No such file or directory cpuminer
algo\skein2.c: No such file or directory
algo\skein.c: No such file or directory
algo\sibcoin.c: No such file or directory
 cpuminer-config.h: No such file or directory
algo\sha2.c: No such file or directory
 cpuminer-config.h: No such file or directory
algo\qubit_sse2.c: No such file or directory
algo\qubit_aes.c: No such file or directory
algo\qubit.c: No such file or directory
algo\quark_sse2.c: No such file or directory
algo\quark_aes.c: No such file or directory
algo\quark.c: No such file or directory
 cpuminer-config.h: No such file or directory
algo\pentablake.c: No such file or directory
 cpuminer-config.h: No such file or directory
 cpuminer-config.h: No such file or directory
algo\myr-groestl.c: No such file or directory
 cpuminer-config.h: No such file or directory
 cpuminer-config.h: No such file or directory
algo\luffa.c: No such file or directory
algo\ink.c: No such file or directory
algo\keccak.c: No such file or directory
algo\heavy.c: No such file or directory
algo\groestl.c: No such file or directory
 cpuminer-config.h: No such file or directory
 cpuminer-config.h: No such file or directory
algo\cryptonight.c: No such file or directory
algo\cryptolight.c: No such file or directory
algo\c11.c: No such file or directory
algo\bmw256.c: No such file or directory
algo\blake2.c: No such file or directory
algo\blakecoin.c: No such file or directory
algo\blake.c: No such file or directory
 cpuminer-config.h: No such file or directory
 cpuminer-config.h: No such file or directory
algo\sha3\sph_hefty1.c: No such file or directory
 mm_malloc.h: No such file or directory
 cpuminer-config.h: No such file or directory
 cpuminer-config.h: No such file or directory
 openssl/sha.h: No such file or directory

These files do not exist in GIT.
What are the solutions?
full member
Activity: 187
Merit: 100
Cryptocurrency enthusiast
Wanna to report another minor issue.

It seems that there's a visible speed drop in case of locking (Win+L) Windows with the miner being active. E.g., on windows 7 & cryptolite, the speed drop is ~370 H/s >> ~310 H/s while the computer is locked, and the speed restores after unlocking. Tested several times to be sure. No issues with other mining software found (yam, xmr-stack, claymore). All possible power-saving options are disabled on my desktops, miner is launched from admin.

Should I try something, or it's really on the miner side?
Pages:
Jump to: