Pages:
Author

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

sr. member
Activity: 1246
Merit: 274
Testing this on the tribus algorithm, seems to work very well. Thank you dev.

I'm curious about your results. What hashrate did you get and which CPU did you test on?  I tested on an Intel i7 6700K (stock clocks) and got ~200 Kh/s per thread but only got ~175 Kh/s per thread on an AMD R7 1700X (stock clocks). Typically my Ryzen CPU beats the i7 very easily, even if set to use the same number of threads, so these results surprised me a little bit.  (I used aes-avx2 for both CPUs with the best results compared to other options).
member
Activity: 228
Merit: 10
Cannot compile 3.6.6 ):
Code:
x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I.  -fno-strict-aliasing  -I.  -Wno-pointer-sign
 -Wno-pointer-to-int-cast   -O3 -mtune=broadwell -pipe  -c -o algo/groestl/aes_ni/cpuminer-ha
sh-groestl.o `test -f 'algo/groestl/aes_ni/hash-groestl.c' || echo './'`algo/groestl/aes_ni/hash-gro
estl.c
In file included from algo/echo/aes_ni/vperm.h:20:0,
                 from algo/echo/aes_ni/hash.c:21:
algo/echo/aes_ni/hash.c: In function ‘Compress’:
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/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)
 ^

... and many similar errors
full member
Activity: 192
Merit: 101
Testing this on the tribus algorithm, seems to work very well. Thank you dev.
newbie
Activity: 8
Merit: 0

This error flies out when ./build.sh  Linux ARM GCC5

ARM is not supported.
Why then asm _arm_ ?
legendary
Activity: 1470
Merit: 1114

This error flies out when ./build.sh  Linux ARM GCC5

ARM is not supported.
newbie
Activity: 8
Merit: 0
cpuminer-opt-3.6.6 is released.

git: https://github.com/JayDDee/cpuminer-opt

tarball: https://drive.google.com/file/d/0B0lVSGQYLJIZV2NBRjF5bVJUeHc/view?usp=sharing

Windows binaries: https://drive.google.com/file/d/0B0lVSGQYLJIZNHhCeE5iUHluUUE/view?usp=sharing

New in v3.6.6

added tribus algo for Denarius (DNR).

configure removed from .gitignore. This should allow source cloned from git to compile
on Windows/mingw when aclocal is not available.

Fixed CPU temperature monitoring on some CPUs (Linux only).

Fixed a compile error on FreeBSD. FreeBSD is not officially supported, ymmv.
Reluctance to disappoint, added a parenthesis and a semicolon ");" .but still:

sysinfo.c:120:2: error: impossible constraint in "asm"
asm volatile("cpuid" : "=a"(a), "=b"(b), "=c"(c), "=d"(d) : "a"(functionnumber), "c"(0));
 Grin

I don't understand the error, that code did not change. How did you compile?
This error flies out when ./build.sh  Linux ARM GCC5
legendary
Activity: 1470
Merit: 1114
cpuminer-opt-3.6.6 is released.

git: https://github.com/JayDDee/cpuminer-opt

tarball: https://drive.google.com/file/d/0B0lVSGQYLJIZV2NBRjF5bVJUeHc/view?usp=sharing

Windows binaries: https://drive.google.com/file/d/0B0lVSGQYLJIZNHhCeE5iUHluUUE/view?usp=sharing

New in v3.6.6

added tribus algo for Denarius (DNR).

configure removed from .gitignore. This should allow source cloned from git to compile
on Windows/mingw when aclocal is not available.

Fixed CPU temperature monitoring on some CPUs (Linux only).

Fixed a compile error on FreeBSD. FreeBSD is not officially supported, ymmv.
Reluctance to disappoint, added a parenthesis and a semicolon ");" .but still:

sysinfo.c:120:2: error: impossible constraint in "asm"
asm volatile("cpuid" : "=a"(a), "=b"(b), "=c"(c), "=d"(d) : "a"(functionnumber), "c"(0));
 Grin

I don't understand the error, that code did not change. How did you compile?
newbie
Activity: 8
Merit: 0
cpuminer-opt-3.6.6 is released.

git: https://github.com/JayDDee/cpuminer-opt

tarball: https://drive.google.com/file/d/0B0lVSGQYLJIZV2NBRjF5bVJUeHc/view?usp=sharing

Windows binaries: https://drive.google.com/file/d/0B0lVSGQYLJIZNHhCeE5iUHluUUE/view?usp=sharing

New in v3.6.6

added tribus algo for Denarius (DNR).

configure removed from .gitignore. This should allow source cloned from git to compile
on Windows/mingw when aclocal is not available.

Fixed CPU temperature monitoring on some CPUs (Linux only).

Fixed a compile error on FreeBSD. FreeBSD is not officially supported, ymmv.
Reluctance to disappoint, added a parenthesis and a semicolon ");" .but still:

sysinfo.c:120:2: error: impossible constraint in "asm"
asm volatile("cpuid" : "=a"(a), "=b"(b), "=c"(c), "=d"(d) : "a"(functionnumber), "c"(0));
 Grin
newbie
Activity: 84
Merit: 0
How fast is this for tribus DNR?

go and test it my friend
you will be surprised for sure if compare it with the regular version for the algo

 Wink

legendary
Activity: 1848
Merit: 1018
How fast is this for tribus DNR?
newbie
Activity: 84
Merit: 0
cpuminer-opt-3.6.6 is released.

git: https://github.com/JayDDee/cpuminer-opt

tarball: https://drive.google.com/file/d/0B0lVSGQYLJIZV2NBRjF5bVJUeHc/view?usp=sharing

Windows binaries: https://drive.google.com/file/d/0B0lVSGQYLJIZNHhCeE5iUHluUUE/view?usp=sharing

New in v3.6.6

added tribus algo for Denarius (DNR).

configure removed from .gitignore. This should allow source cloned from git to compile
on Windows/mingw when aclocal is not available.

Fixed CPU temperature monitoring on some CPUs (Linux only).

Fixed a compile error on FreeBSD. FreeBSD is not officially supported, ymmv.

OMG thanks joblo for adding tribus algo
will try it when arriving home

you rock!
Smiley

tequila toast in your name!

legendary
Activity: 1470
Merit: 1114
cpuminer-opt-3.6.6 is released.

git: https://github.com/JayDDee/cpuminer-opt

tarball: https://drive.google.com/file/d/0B0lVSGQYLJIZV2NBRjF5bVJUeHc/view?usp=sharing

Windows binaries: https://drive.google.com/file/d/0B0lVSGQYLJIZNHhCeE5iUHluUUE/view?usp=sharing

New in v3.6.6

added tribus algo for Denarius (DNR).

configure removed from .gitignore. This should allow source cloned from git to compile
on Windows/mingw when aclocal is not available.

Fixed CPU temperature monitoring on some CPUs (Linux only).

Fixed a compile error on FreeBSD. FreeBSD is not officially supported, ymmv.
newbie
Activity: 84
Merit: 0
Op, i know you are busy and somehow you are selective about what you optimize but please, how about...
is it possible that you could optimize this cpuminer version below for this awesome algo that its using this incredible DNR cryptocurrency? Its a new algo: tribus

The cpuminer they use is the classic one but its suitable to be optimized because it runs with the same base you are working your version,
 it is 3 of the top NIST5 algos and its being used to mine Denarius [DNR] Not to be confused with the old coin of two years ago aprox, this one its new algo, new dev, new project: tribus algo
the links to the sources if you are curious to optimize it:

binary `argh, they remove the link as its an exe but its in the main thread`
source https://github.com/tpruvot/cpuminer-multi
the main thread of the new algo https://bitcointalksearch.org/topic/ann-denarius-dnr-pow-algo-tribus-1969480

hope you like it the optimization idea for us the little cpu miners
thanks for reading
legendary
Activity: 1470
Merit: 1114
AMD just announced Ryzen PRO with "Built-in AES 128-bit Encryption engine" so will that have any impact on mining?

I found the announcement, it would have been nice if you had posted the link.

https://www.amd.com/en/ryzen-pro

It's all marketing speak so I have no idea what it means technically. AES_NI is already a 128 bit encryption
and decryption engine so I have no idea what improvements are implied, maybe a faster implementation.

Another implied improvement is the mention of low-latency cache. Intel cache performance is currently better
than AMD so maybe the're catching up. That combined with the larger-than-Intel cache size could further give
an edge to AMD in the CPU market.

With Ryzen they have pulled ahead of Intel with threads, price, cache size, HW SHA. Between Threadripper
(4 channel DDR4, more threads, even bigger cache) and whatever improvements come in the Ryzen Pro there's
not much left where Intel has an edge.

It's nice to see some real competition in the CPU market. It will be interesting to see how Intel will respond.

On a bit of a tangent...

I am still curious about AVX2 performance on Ryzen. I have read that their implementation isn't native but I haven't
seen any performance comparisons. If anyone has a Ryzen I would be interested in a performance comparison of
AVX vs AVX2 on algos that have AVX2 optimizations.
hero member
Activity: 630
Merit: 502
AMD just announced Ryzen PRO with "Built-in AES 128-bit Encryption engine" so will that have any impact on mining?
newbie
Activity: 8
Merit: 0
cpuminer-opt It is possible to run on Odroid C2 arm ?
To use NEON instructions, add "-mfpu=neon" to CFLAGS.

error: impossible constraint in "asm"
asm volatile("cpuid" : "=a"(a), "=b"(b), "=c"(c), "=d"(d) : "a"(functionnumber), "c"(0);

newbie
Activity: 8
Merit: 0
I got a problem with the good time of day.

algo/m7m.c:5:17: fatal error: gmp.h: Heт тaкoгo фaйлa или кaтaлoгa
 #include
                 ^
compilation terminated.
Makefile:2821: oшибкa выпoлнeния peцeптa для цeли «algo/cpuminer-m7m.o»
make[2]: *** [algo/cpuminer-m7m.o] Oшибкa 1
make[2]: выxoд из кaтaлoгa «/home/dima/Дoкyмeнты/Miner/cpuminer-opt-master»
Makefile:3446: oшибкa выпoлнeния peцeптa для цeли «all-recursive»
make[1]: *** [all-recursive] Oшибкa 1
make[1]: выxoд из кaтaлoгa «/home/dima/Дoкyмeнты/Miner/cpuminer-opt-master»
Makefile:662: oшибкa выпoлнeния peцeптa для цeли «all»
make: *** [all] Oшибкa 2


 Ubuntu 17.04 Gnome intel core i7

Missing gmp dev package.

install gmp-dev

timetravel10.c:(.text+0x1bb): undefined reference to `reverse'
collect2: error: ld returned 1 exit status
Makefile:1313: oшибкa выпoлнeния peцeптa для цeли «cpuminer»
make[2]: *** [cpuminer] Oшибкa 1
make[2]: выxoд из кaтaлoгa «/home/dima/Дoкyмeнты/Miner/cpuminer-opt-master»
Makefile:3446: oшибкa выпoлнeния peцeптa для цeли «all-recursive»
make[1]: *** [all-recursive] Oшибкa 1
make[1]: выxoд из кaтaлoгa «/home/dima/Дoкyмeнты/Miner/cpuminer-opt-master»
Makefile:662: oшибкa выпoлнeния peцeптa для цeли «all»
make: *** [all] Oшибкa 2


Is the configuration correct?  ./configure CFLAGS="-march=native" --with-crypto --with-curl

CFLAGS="-O3 -march=native -Wall" CXXFLAGS="$CFLAGS -std=gnu++11" ./configure --with-curl
Too an error

Everything worked

What did you do to get it to work? Does build.sh work or did you change some options?
I am an amateur and my goal was to try cpuminer-opt.And did not remember what I was doing, I searched everything on the Internet, especially since I do not know English and the Google translator helped me.
newbie
Activity: 84
Merit: 0
hey guys, perfomance with nist5 its awesome so thanks to the op
 but now a question...
 
its this normal? (see pic)

8mins or more without shares, sometimes even more time?

i am using aes-avx version of 3.6.5, i have amd

http://imgur.com/a/e00CS

my command its this
cpuminer-aes-avx.exe -a Nist5 -o stratum+tcp://yiimp.ccminer.org:3833 -u myaddressofc -p c=symbol -t 1


The stratum difficulty is too high for CPU mining. If the pool uses vardiff it should adjust over time. Some pools
offer a low-diff port and others (like yiimp) allow the diff to be specified in the command line password.

oh, thanks joblo,
 i have done that before with sgminer and gpu but i didnt put the diff in the password when cpu mining,

honestly i never thought it would be necessary with cpuminer, will try it now

 Smiley
legendary
Activity: 1470
Merit: 1114
I got a problem with the good time of day.

algo/m7m.c:5:17: fatal error: gmp.h: Heт тaкoгo фaйлa или кaтaлoгa
 #include
                 ^
compilation terminated.
Makefile:2821: oшибкa выпoлнeния peцeптa для цeли «algo/cpuminer-m7m.o»
make[2]: *** [algo/cpuminer-m7m.o] Oшибкa 1
make[2]: выxoд из кaтaлoгa «/home/dima/Дoкyмeнты/Miner/cpuminer-opt-master»
Makefile:3446: oшибкa выпoлнeния peцeптa для цeли «all-recursive»
make[1]: *** [all-recursive] Oшибкa 1
make[1]: выxoд из кaтaлoгa «/home/dima/Дoкyмeнты/Miner/cpuminer-opt-master»
Makefile:662: oшибкa выпoлнeния peцeптa для цeли «all»
make: *** [all] Oшибкa 2


 Ubuntu 17.04 Gnome intel core i7

Missing gmp dev package.

install gmp-dev

timetravel10.c:(.text+0x1bb): undefined reference to `reverse'
collect2: error: ld returned 1 exit status
Makefile:1313: oшибкa выпoлнeния peцeптa для цeли «cpuminer»
make[2]: *** [cpuminer] Oшибкa 1
make[2]: выxoд из кaтaлoгa «/home/dima/Дoкyмeнты/Miner/cpuminer-opt-master»
Makefile:3446: oшибкa выпoлнeния peцeптa для цeли «all-recursive»
make[1]: *** [all-recursive] Oшибкa 1
make[1]: выxoд из кaтaлoгa «/home/dima/Дoкyмeнты/Miner/cpuminer-opt-master»
Makefile:662: oшибкa выпoлнeния peцeптa для цeли «all»
make: *** [all] Oшибкa 2


Is the configuration correct?  ./configure CFLAGS="-march=native" --with-crypto --with-curl

CFLAGS="-O3 -march=native -Wall" CXXFLAGS="$CFLAGS -std=gnu++11" ./configure --with-curl
Too an error

Everything worked

What did you do to get it to work? Does build.sh work or did you change some options?
newbie
Activity: 8
Merit: 0
I got a problem with the good time of day.

algo/m7m.c:5:17: fatal error: gmp.h: Heт тaкoгo фaйлa или кaтaлoгa
 #include
                 ^
compilation terminated.
Makefile:2821: oшибкa выпoлнeния peцeптa для цeли «algo/cpuminer-m7m.o»
make[2]: *** [algo/cpuminer-m7m.o] Oшибкa 1
make[2]: выxoд из кaтaлoгa «/home/dima/Дoкyмeнты/Miner/cpuminer-opt-master»
Makefile:3446: oшибкa выпoлнeния peцeптa для цeли «all-recursive»
make[1]: *** [all-recursive] Oшибкa 1
make[1]: выxoд из кaтaлoгa «/home/dima/Дoкyмeнты/Miner/cpuminer-opt-master»
Makefile:662: oшибкa выпoлнeния peцeптa для цeли «all»
make: *** [all] Oшибкa 2


 Ubuntu 17.04 Gnome intel core i7

Missing gmp dev package.

install gmp-dev

timetravel10.c:(.text+0x1bb): undefined reference to `reverse'
collect2: error: ld returned 1 exit status
Makefile:1313: oшибкa выпoлнeния peцeптa для цeли «cpuminer»
make[2]: *** [cpuminer] Oшибкa 1
make[2]: выxoд из кaтaлoгa «/home/dima/Дoкyмeнты/Miner/cpuminer-opt-master»
Makefile:3446: oшибкa выпoлнeния peцeптa для цeли «all-recursive»
make[1]: *** [all-recursive] Oшибкa 1
make[1]: выxoд из кaтaлoгa «/home/dima/Дoкyмeнты/Miner/cpuminer-opt-master»
Makefile:662: oшибкa выпoлнeния peцeптa для цeли «all»
make: *** [all] Oшибкa 2


Is the configuration correct?  ./configure CFLAGS="-march=native" --with-crypto --with-curl

CFLAGS="-O3 -march=native -Wall" CXXFLAGS="$CFLAGS -std=gnu++11" ./configure --with-curl
Too an error

Everything worked
Pages:
Jump to: