Pages:
Author

Topic: [ANN] CPU Miner Advanced v5.0.2.0 Beta By Spoetnik - page 3. (Read 10040 times)

legendary
Activity: 1540
Merit: 1011
FUD Philanthropist™
added new version built for Haswell cpu's again..

edit:
changed a preview pic with the new version showing some minor changes. (first one shown)
legendary
Activity: 1540
Merit: 1011
FUD Philanthropist™
well i screwed stuff up making the 32bit version which is slow as hell..
i have to re-install MINGW etc

even though i can see it is configured for x64 now it still is making 32bit .exe's grrrrrrr  Angry

pretty sure i hosed my install trying to flip back and forth cross compiling and copying folders around etc

the only advice i have gotten from anyone on this stuff (even after asking millions of times) was from two tutorials i found
i got last year that only mentioned x64 and i had used that as s tarting point..
and recently i found a revised version of it on Google (no idea who made them)

since it's a bitch to get help with this stuff i will re-post the tutorials here so that some other guy holding clumps of hair can read them lol
i will post the newer one only because it basically repeats the older one so..
hopefully it will help some people.

SOURCE: http://pastebin.com/p2cRgHxd

Quote
Detailed Windows build instructions, using MinGW (64-bit):
   Install MinGW and the MSYS Developer Tool Kit (http://www.mingw.org/)
      * Choose C, C++ and MSys on install and select to have it update its libraries
      * Install into C:\MinGW
      * Add C:\MinGW\bin and c:\MinGW\msys\1.0 to your path
   Download MinGW64 from http://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win64/Automated%20Builds/
      * Choose mingw-w64-bin_i686-mingw_20111220.zip
      * Extract ZIP to C:\MinGW64
      * Add C:\MinGW64\bin to your path before C:\MinGW\bin
   Install libcurl devel (http://curl.haxx.se/download.html)
      * download curl-7.30.0.tar.gz from http://curl.haxx.se/download.html and put it in C:\deps\
      * launch an MSYS shell and enter the following commands (the configure step will take a long time!)
         cd /c/deps
         tar -xvzf curl-7.30.0.tar.gz
         cd curl-7.30.0
         ./configure --host=x86_64-w64-mingw32 –-prefix=/c/mingw64
         make
         make install
         cp /c/deps/curl-7.30.0/docs/libcurl/libcurl.m4 /c/mingw/share/aclocal/libcurl.m4
   Install pthreads
      * download pthreads-20100604.zip from http://sourceforge.net/projects/mingw-w64/files/External%20binary%20packages%20%28Win64%20hosted%29/pthreads/ and put it in C:\deps\
      * unzip the file to c:\deps\
      * In the mingw64 subdirectory is pthreads-w64.zip - extract the contents to C:\MinGW64
   Configure mingw path
      * create C:\MinGW\msys\1.0\etc\fstab with following configuration:
        c:/mingw      /mingw
   In the MSYS shell, navigate to the CPUminer source code direcctory
      * You will likely get higher hashrates by forcing the compiler to build the executable for your
        specific CPU architecture.  This is done by adding "-march=" into the CFLAGS.  Those
        values can be found at http://gcc.gnu.org/onlinedocs/gcc/i386-and-x86-64-Options.html#i386-and-x86-64-Options
           common choices for intel are : core2, corei7, corei7-avx
           common choices for AMD are : athlon-fx
                       or -msse2,-msse3,-msse4,-mavx ...
      * Execute the following (replacing the value of -march with the value for your CPU type)
         ./autogen.sh
         ./configure --host=x86_64-w64-mingw32 CFLAGS="-O3 -march=core2"
         make
   Strip minerd.exe
      * Execute the following:
         x86_64-w64-mingw32-strip minerd.exe
   Combine the executable with the dependencies
      * copy minerd.exe, C:\MinGW64\bin\libcurl-4.dll, and C:\MinGW64\bin\pthreadGC2-w64.dll to the same directory

For Win32 target hosts
   Prepare compilations
      * place mstcpip.h and _mingw_unicode.h in MinGW\include (they already exist in the MinGW installation tree)
   Configure Curl compiling with:
      * ./configure --host=i686-pc-mingw32 CPPFLAGS="-DWIN32 -DWIN32_LEAN_AND_MEAN" –-prefix=/c/mingw
   Clean previous compilations and execute same steps as Win64 targets
      * make clean
        make
        make install
        if not already done, as the file never changes: cp /c/deps/curl-7.30.0/docs/libcurl/libcurl.m4 /c/mingw/share/aclocal/libcurl.m4
   Add pthreads win32 package:
      * through the MinGW Installation manager
   Configure CPUMiner compiling with:
      * ./autogen.sh
        ./configure --host=i686-pc-mingw32 CPPFLAGS="-DWIN32 -D_WIN32 -DWIN32_LEAN_AND_MEAN" CFLAGS="-O2 -march=core2"
        (Note: only O2 optimization to avoid crash. core2 architecture ideal for Xeon processor)
   Clean previous compilations and Compile CPUMiner
      * make clean
        make
   Strip minerd.exe
      * mingw32-strip minerd.exe
   Combine the executable with the dependencies
      * copy minerd.exe, C:\MinGW\bin\libcurl-4.dll, C:\MinGW\bin\pthreadGC2.dll and C:\MinGW\bin\libgcc_s_dw2-1.dll to the same directory
legendary
Activity: 1540
Merit: 1011
FUD Philanthropist™
your terminology is not used correctly eh..
the kernel used is called Jackpot coin.
all the build is that i uploaded is a compiler optimized version tailored specifically for the 4770k
so that means ANY cpu that supports the same instruction set as the 4770k should work and all others it will just crash when starting it up.

so this is the cpu it does not work on then right ?
http://ark.intel.com/products/75054/intel-xeon-processor-e3-1230-v3-8m-cache-3_30-ghz

i don't know why it would not work for you if that is your cpu because both have the same features / instruction set support..

you can see both our cpu features here..

mine
http://www.cpu-world.com/sspec/SR/SR147.html

yours
http://www.cpu-world.com/sspec/SR/SR153.html

both support these on that page specs..

Quote
AES
AVX
AVX2
MMX
SSE
SSE2
SSE3
SSE4
SSSE3

what that means is the compiler will use the highest and best options.
and since both of ours are the same spec wise i don't know..

You say you can't get it running on windows 8 ? did it work on Win 7 or something ?

anyway i should have more builds to upload shortly i finally got 32bit compilations figured out.
unfortunately this is the problem with using an optimized version.. it will run faster usually but you have to know what you got and what you need.
if you don't know you in for a headache lol
sr. member
Activity: 392
Merit: 250
I can not run this under win8.1 x64.It stuck from beginning.  e3 1230v3 with haswell kernel
http://imgur.com/NdajDaw

But it can run under win7 x64. i7 4770non-k with haswell kernel
legendary
Activity: 1540
Merit: 1011
FUD Philanthropist™
I fixed up the help formatting and here it is for reference..
Also changed the default IP/URL port for JPC solo mining.
Although as i just previewed this comment i noticed i changed the default retry time from 30 to 15 seconds and didn't update the help info lol
which would be the command -r or --retry-pause

Note: if you run help on Linux the new timer function is not seen or usable at all, it is not compiled in with Linux.
and you will also see 2 more command-lines for Linux only when running help on Nix..

Quote
  -S, --syslog          Use system log for output messages
  -B, --background   Run the miner in the background

legendary
Activity: 1540
Merit: 1011
FUD Philanthropist™
thanks and gl with the coin and i will do more work soon for sure on the miner Smiley
newbie
Activity: 42
Merit: 0
added download link to first post and source code is coming quick after i pack it up with WinRar..

i already noticed a bug lol
when i ran the --help command-line the new info i put in was not aligned correctly in the console so sorry about that people.

edit:
source code uploaded now.. it's exactly as it was compiled.

i want to do some more but i'll be taking a bit of a break for now i did all this pretty fast ..i need a smoke afterwards lol
was it as good for you as it was for me ? Wink

It is really great idea and improvement for everybody who need a CPUMiner Back born.
And, thank for sharing your great work for the other ~
legendary
Activity: 1540
Merit: 1011
FUD Philanthropist™
added download link to first post and source code is coming quick after i pack it up with WinRar..

i already noticed a bug lol
when i ran the --help command-line the new info i put in was not aligned correctly in the console so sorry about that people.

edit:
source code uploaded now.. it's exactly as it was compiled.

i want to do some more but i'll be taking a bit of a break for now i did all this pretty fast ..i need a smoke afterwards lol
was it as good for you as it was for me ? Wink
legendary
Activity: 1540
Merit: 1011
FUD Philanthropist™
legendary
Activity: 1540
Merit: 1011
FUD Philanthropist™
I wanted to share my version of the JackpotCoin CPU miner i have been working on with you all Smiley

So for now i will post the change-log here and on the next comment a bunch of preview pic's.
I will also add the Windows 64bit build version i am using optimized for my Intel 4770k CPU.
If your cpu is older than mine the build will most likely crash for you sorry.
I hope to work on more build versions and would appreciate any donations Wink
I recently have had issues with my MingW install after porting it from one machine to another.

edit:
Windows x64 Haswell version - made for the CPU Intel 4770k
compiled using MingW x64 using CFLAGS="-march=native -O3"
So it requires a cpu that can do AVX etc

Other optimized versions coming soon (like 32bit)

NEWEST VERSION:
cma-v5.0.2.0-vs2013-win-x64-spoetnik.rar (644.92 KB) (Windows 64bit SSE2 / SSE4 / AVX2)
http://www.multiupload.nl/QYXHV8Y9JH

cma-v5.0.2.0-mingw-win-x64-spoetnik.rar (696 KB) (Windows 64bit SSE2 / SSE4 / AVX2)
http://www.multiupload.nl/XCEDL7C42H

cma-v5.0.2.0-src-spoetnik.rar (271.28 KB) (source code only)
http://www.multiupload.nl/Y9YA3NV84F

-----------------------------------------------------
OLD Test Version: v5.0.1.0 - CHEAT TEST
http://www.multiupload.nl/05HQV1EELM
that is CMA-5.0.1.0-Beta-WIN-x64-Haswell.rar (1.33 MB)
has 6 windows 64bit versions.. sse2,sse4,avx2 (cheat test and normal versions) plus source code.

Test Version: v5.0.0.8 - cheat test
http://www.multiupload.nl/BB2173QQA7
Includes 4 builds + Source code (2 versions for 2 cpu's each) one with cheat mode on and the other with cheat mode off.
Working on Intel 4770k and AMD Phenom x4 9950 BE (Windows 7 x64 Tested)
*Should work on any CPU that supports SSE4 or any that support AVX2 on the other build.

Download Binaries:
v5.0.0.6 = http://www.multiupload.nl/SD35TVN47S
v5.0.0.1 = http://www.multiupload.nl/T4Q34B6BNR

Souce Code:
v5.0.0.6 = http://www.multiupload.nl/H987PPNYAK
v5.0.0.1 = http://www.multiupload.nl/RNB3XLRPIF

Anyway here is the info and i hope people like it Smiley

Quote
                                                  
                CPU Miner Advanced v5 - JackpotCoin Edition By Spoetnik

    Code base - Pooler's miner = https://bitcointalksearch.org/topic/an-even-more-optimized-version-of-cpuminer-poolers-cpuminer-cpu-only-55038
      Original release - Jackpot Team - 04/25/2014 - See Readme for more info.
             Original Github ID: 8e5ae495d90eeffa53d338c23ae2705f6eb69b89

Donations are appreciated i have spent lots of time coding and have little hardware Sad
              If anyone can motivate me with some JPC coins thanks a lot Smiley
                  Jackpot address = JdPDpV9cLguK4vxgcfno8az4UWxXYrmcpv

Changelog: v5.0.2.0 - 05/20/2014 - Code Name: Rantology
- Added a Code Name identifier to the startup info to make versions more recognizable.
- Cheat Mode testing is done. Use cmd-line --cheat to try it out.
- Added Visual Studio Project files and changed source code to support this.
- Added New Window Title info including current hash rates (5 second avg)
- Moved Help info code into it's own source code file, use cmd-line --help
- Fixed Bug in console logging color code that cuased a race condition.
- Changed benchmark mode to show highest speed in Blue and normal summary in Green.
- Changed benchmark mode to show combined hash-rate from all threads in summary.
- Reworked scanhash() code, now cheat mode test uses it's own seperate function.
- Reworked and optimized / tweaked Jackpot algo hashing code. (default algo)
- Added expanded version info when running command-line --version.
- Updated and compiled all the libraries, such as LibCurl (general optimizations)
- Updated and expanded version.h header file code.
- Maybe more, sorry if i forgot to mention it Wink

Changelog: v5.0.0.8 - 05/05/2014
- cheat mode test (from UncleBob's quark miner mod)

Changelog: v5.0.0.6 - 05/05/2014
- all documents are updated (found with source code)
- removed old LibCurl compilation error fix from autogen.sh and Makefile.am
- fixed misaligned help info console formatting.
* changed --retry-pause from 30 to 15 default.
* tweaked max64 algo modifier *again
* command-line -H, --hashdebug (enable hash debug output) is new on this mod.
- added used url message to console output (previously removed)
- ported my scantime setting fixs to cpuminer 2.3.3 updated code used.
- added algo name to console window title info.
- added .bat file to cleanup generated files on windows.
- removed 1 second delay between threads creation added previously.

Changelog: v5.0.0.5 - 05/04/2014
~ proper and full update of base code cpuminer 2.3.3
- The --url option is now mandatory
- Do not switch to Stratum when using an HTTP proxy
- Fix scheduling policy change on Linux (clbr)
- Fix CPU affinity on FreeBSD (ache)
- Compatibility fixes for various platforms like Solaris 8 and old OS X.
- A man page for minerd is now available

Changelog: v5.0.0.1 - 05/03/2014
- default algo is Jackpot coin.
- added color, see notes.
- added share submission benchmark timer function (Windows only)
- made various minor spelling changes for console messages.
- changed share submission notification from (yay!!!)/(booooo) to (good)/(bad)
- added a REAL WORKING scantime setting (fixed MAJOR big) see notes.
- added benchmark function, see notes.
- added additional debug info.
- added program name and version info to console window title.
- added scantime config setting info to console window title.
- added console message stating why a share is rejected.

* = forgot to mention before

Notes:
- Limited testing has been done. Please report any bugs.

- Use --help command line for more info.

- Algos supported are Jackpot, Quark, Scrypt and SHA256.

- New Timer Mode feature (windows only)
  This times in seconds / minutes how long it takes to reach x shares submitted.
  Only Good shares are counted.
  Use --timer 10 for example to time 10 submitted shares (or blocks found solo mining)
  If x shares is reached a message colored Purple will show the time elapsed.
  When the amount of shares is reached the timer is turned off and does nothing.
 
- New Benchmark Mode feature.
  Use Command-Line --benchmark to run the hashing test.
  This will test out your hashing speed and report back a summary on intervals.
  Benchmarking is done in offline mode no connection to pools or daemons needed.
  Example: minerd -t 6 --benchmark
 
- Color coding is as follows.
  Red = Error
  Green = Normal Share.
  Cyan = Fastest submitted Share.
  Purple = Special messages.
  Blue = New Block info.
 
- Default color mode is Bright.
  Use --color normal for normal colors
  Use --color bright for bright colors
  Use --color none for no colors (text will be grey)
  Or use -w instead of --color
  The Command-Line is only needed to set dull colors or none.
 
- Scantime command line bug fix / mod notes.
  The option has never worked on ANY cpu miner and i fixed it.
  The only cicumstances it would ever have any effect is when solo mining.
  I fixed this last year and checked numerous github repo's
  and every single cpu miner mod and cudaminer mod suffered from the same bug.
  what this means is that if you set --scantime on a Pool it does nothing at all.
  Teh code clearly shows how teh scan time command line option is only used
  when Long Polling or Stratum is NOT found and it then has ALWAYS defaulted to 60
  60 is a hard coded value on every cpu miner and cudaminer version i have ever seen.
  #define LP_SCANTIME   60 is written in cpuminer.c in all repo's
 
  So it's working now have fun and experiment with it Smiley
Pages:
Jump to: