Author

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

sr. member
Activity: 312
Merit: 250
If anyone wants to squeeze a bit more "easy" speed out of their binaries, I wrote a technique that I was using a couple of years ago by combining multiple compilers: https://steemit.com/development/@alexgr/creating-faster-c-c-binaries-without-changing-a-single-line-of-code

That's mainly for multi-algo setups where there are C implementations - and there might be speed differences in how these are executed from different compilers. Obviously, when we have machines running 24/7, even 2-5-10% makes a difference.
Guess that is for Lunux?
Do you test it on your compile?
What are the speed diff's with default compile and your method?
hero member
Activity: 700
Merit: 500
I was able to compile with gcc 6.1.
any git available please ?


not until now, cpuminer-opt code is on git from nicehash (with modifications i guess) here: https://github.com/nicehash/cpuminer-opt and from myself to more easily distribute to my miners on linux: https://github.com/felixbrucker/cpuminer-opt (though 3.4.6 is still missing because of benchmark bug, will upload it when 3.4.7 is out as i dont want to do any changes to the code myself)

cheers
newbie
Activity: 42
Merit: 0
I was able to compile with gcc 6.1.
any git available please ?
legendary
Activity: 1470
Merit: 1114
Is it possible to use this miner for Solo Mining? If so, how? Thanks

Only stratum is supported.
legendary
Activity: 1470
Merit: 1114
Hi - are there any plans to make this work with ARM NEON extensions as well as SSE? Would like to get it running on an Odroid XU4. Can build and run tpruvot's version but want it for scrypt-N and this version works better on my other machines
thanks!

If you only need scrypt-n use TPruvot, cpuminer-opt is no faster. You can then get a skilled ARM coder to optimize it for you.
I have no interest in supporting ARM in cpuminer-opt.
member
Activity: 61
Merit: 10
Is it possible to use this miner for Solo Mining? If so, how? Thanks
full member
Activity: 201
Merit: 100
Hi - are there any plans to make this work with ARM NEON extensions as well as SSE? Would like to get it running on an Odroid XU4. Can build and run tpruvot's version but want it for scrypt-N and this version works better on my other machines
thanks!
legendary
Activity: 1708
Merit: 1049
If anyone wants to squeeze a bit more "easy" speed out of their binaries, I wrote a technique that I was using a couple of years ago by combining multiple compilers: https://steemit.com/development/@alexgr/creating-faster-c-c-binaries-without-changing-a-single-line-of-code

That's mainly for multi-algo setups where there are C implementations - and there might be speed differences in how these are executed from different compilers. Obviously, when we have machines running 24/7, even 2-5-10% makes a difference.
sr. member
Activity: 312
Merit: 250
In another post it was mentioned that Intel-AMD compile was broken. I presume that means compiling an AMD load on an Intel CPU.
If that is the case it doesn't look like I will be able to provide optimum AMD binaries.

You presume correct.  Smiley
With Intel-AMD compile, I do mean AMD binary compiled on Intel CPU.

I suggest you keep up the great work with the miner itself and the windows binaries compiled on you Intel CPU.
For every average user your Windows binaries should be fast enough (even not optimal).
After all it's not your fault that Intel decided to criple down binaries for AMD CPU's.  Wink

For others like me that like to tinker, to squeeze every little bit of extra hash from their AMD CPU,
I've shared my MinGW64 install that works nice on AMD's.
That way every one that want to get dirty a bit more can share their results here and everyone can test and try to improve the them.
legendary
Activity: 1470
Merit: 1114
also interestingly 3.4.5 compile fails with multiple error about "PACKAGE_NAME" (being undeclared, expected ',' or ';' before, expected ')' before etc) while 3.4.6 compiles just fine

though i noticed no real improvement on my tiny A6-6400K compared to the AVX core-i build i used previously when utilizing only AES and SSE2, however when using AVX the game changed and speedup was a little over 100% (18->45 H/s)

cheers


I've been following this discussion and I have no explanation for the compile error in v3.4.5. PACKAGE_NAME is defined in configure
and there are no changes to that file, other than updating PACKAGE_VERSION every release.

In another post it was mentioned that Intel-AMD compile was broken. I presume that means compiling an AMD load on an Intel CPU.
If that is the case it doesn't look like I will be able to provide optimum AMD binaries.

I'll keep following the progress and comment when appropriate.
hero member
Activity: 700
Merit: 500
On a tangent I'm curious about the mining performance of the A6's IGPU. The CPU alone is weak but CPU+IGPU
might make up for it.

i can now deliver: best it can do (as of now) is 0.00005404 BTC/Day with nicehash and blake256r8vnl
i just ran the NHM benchmark, other algos and other pools might change it a bit but you might get an idea from this

cheers
hero member
Activity: 700
Merit: 500
thanks will try Wink

about the includes etc: i noticed only the bin path is declared in profile file, include and lib64 dirs are somewhere else?

cheers
sr. member
Activity: 312
Merit: 250
also interestingly 3.4.5 compile fails with multiple error about "PACKAGE_NAME" (being undeclared, expected ',' or ';' before, expected ')' before etc) while 3.4.6 compiles just fine

though i noticed no real improvement on my tiny A6-6400K compared to the AVX core-i build i used previously when utilizing only AES and SSE2, however when using AVX the game changed and speedup was a little over 100% (18->45 H/s)

cheers

I had issues with 3.4.5 too.
I never had a successful build for windows, but 3.4.6 came fast so I don't feel the need to report it.

About the improvement I was sure that Intel-AMD compile is cripled somehow.
I think I said that few posts back.

Anyway, glad to be of help for a fellow AMD (AB)user Smiley

EDIT: I manage to my AMD build a little faster by using these dll's:
Code:
http://pc.cd/pMyotalK

These are the last version of win64 prebuild dll's for libcurl, OpenSSL, jansson and pthreads.
Code:
libcurl/7.50.1 OpenSSL/1.0.2h zlib/1.2.8 WinIDN libssh2/1.7.0 nghttp2/1.13.0
jansson/2.6 pthreads/2.9.1.0

pthreads for me is better than winpthreads dll that I used before.
sr. member
Activity: 312
Merit: 250
it seems i need to add some dirs to PATH, is this correct?

when using the 7z archive and starting winbuild.sh "no suitable compiler" is found, so i added /d/msys/opt/windows_64/bin to the PATH and it got further, just to display it cant find curl/curl.h

where do i add this path definition for includes and later libs? (/d/msys/opt/windows_64/include [...]/lib etc)

cheers


edit: just did it, my first ever successful compile on windows, i inserted the dirs into the winbuild.sh like so (-I/d/msys/opt/windows_64/include -L/d/msys/opt/windows_64/lib64) but there has to be a "better" systemwide setting for this, right?

thanks for your support!
Do you change your extract drive from C to D?
It looks that way.

All path definition are in this TXT file DRIVE:\msys\etc\profile
hero member
Activity: 700
Merit: 500
also interestingly 3.4.5 compile fails with multiple error about "PACKAGE_NAME" (being undeclared, expected ',' or ';' before, expected ')' before etc) while 3.4.6 compiles just fine

though i noticed no real improvement on my tiny A6-6400K compared to the AVX core-i build i used previously when utilizing only AES and SSE2, however when using AVX the game changed and speedup was a little over 100% (18->45 H/s)

cheers
hero member
Activity: 700
Merit: 500
it seems i need to add some dirs to PATH, is this correct?

when using the 7z archive and starting winbuild.sh "no suitable compiler" is found, so i added /d/msys/opt/windows_64/bin to the PATH and it got further, just to display it cant find curl/curl.h

where do i add this path definition for includes and later libs? (/d/msys/opt/windows_64/include [...]/lib etc)

cheers


edit: just did it, my first ever successful compile on windows, i inserted the dirs into the winbuild.sh like so (-I/d/msys/opt/windows_64/include -L/d/msys/opt/windows_64/lib64) but there has to be a "better" systemwide setting for this, right?

thanks for your support!
sr. member
Activity: 312
Merit: 250
Under Windows I use my own mingw64 build environment with these:

mind to share the steps to reproduce such a windows build environment? i was unsuccessful the last time i tried this

especially helpful are exact download links to the installers/packages used as it seems my mingw setup differed from joblos (and possibly yours as well)

cheers

I will try to find the step by step guide that I used to make it work.
If I don't find it I will post a link to my MSYS install that works. AFAIK it should work to any Win system after extracting.

In the meantime I found newer MinGW64-4.9.2 build environment for cpuminer on tpruvot's ccminer.org
http://ccminer.org/mingw64/MinGW64-4.9.2-cpuminer.7z

I will try it in the weekend.

thanks, this is so much appreciated

You are welcome! Smiley

Since it seems I've misplaced the tutorial I followed when building my custom MinGW64 envinonment MinGW64,
I've made a complete 7zip archive to the MSYS folder.

Download it here:
Code:
http://pc.cd/0TyotalK

Just extract to C:\msys and make shortcut on Desktop with target
Code:
C:\msys\msys.cmd -norxvt

I am pretty sure that it should work.
hero member
Activity: 700
Merit: 500
Under Windows I use my own mingw64 build environment with these:

mind to share the steps to reproduce such a windows build environment? i was unsuccessful the last time i tried this

especially helpful are exact download links to the installers/packages used as it seems my mingw setup differed from joblos (and possibly yours as well)

cheers

I will try to find the step by step guide that I used to make it work.
If I don't find it I will post a link to my MSYS install that works. AFAIK it should work to any Win system after extracting.

In the meantime I found newer MinGW64-4.9.2 build environment for cpuminer on tpruvot's ccminer.org
http://ccminer.org/mingw64/MinGW64-4.9.2-cpuminer.7z

I will try it in the weekend.

thanks, this is so much appreciated
sr. member
Activity: 312
Merit: 250
Under Windows I use my own mingw64 build environment with these:

mind to share the steps to reproduce such a windows build environment? i was unsuccessful the last time i tried this

especially helpful are exact download links to the installers/packages used as it seems my mingw setup differed from joblos (and possibly yours as well)

cheers

I will try to find the step by step guide that I used to make it work.
If I don't find it I will post a link to my MSYS install that works. AFAIK it should work to any Win system after extracting.

In the meantime I found newer MinGW64-4.9.2 build environment for cpuminer on tpruvot's ccminer.org
http://ccminer.org/mingw64/MinGW64-4.9.2-cpuminer.7z

I will try it in the weekend.
hero member
Activity: 700
Merit: 500
Under Windows I use my own mingw64 build environment with these:

mind to share the steps to reproduce such a windows build environment? i was unsuccessful the last time i tried this

especially helpful are exact download links to the installers/packages used as it seems my mingw setup differed from joblos (and possibly yours as well)

cheers
Jump to: