Title: [ANN] cpuminer-gr-cmky v1.2.4.1 - open source Raptoreum miner Post by: cmyk-B on December 26, 2021, 07:41:33 AM Introduction to cpuminer-gr-cmky - open source Raptoreum miner
cpuminer-gr-cmky (https://github.com/cmyk-B/cpuminer-gr-cmky/releases) is a fork of cpuminer-gr-avx2 (https://github.com/WyvernTKC/cpuminer-gr-avx2) which was initially created to be used in house and has been in use for several months on our cpu mining farm. The plan was to improve the logging system, due to the original printing color codes within the output log. Since using the original logging system was painful a completely rewritten logging system was created. Whilst updating the logging system we noticed places where improvements could be made. For example, the original main function made unnecessary calls to the same function multiple times and was general sloppy compared to Jay D Dee's cpuminer-multi wich cpuminer-gr-avx2 is a fork of, with an outrageous fee of 1.75% with a 0.25% discount if you mine to a specific pool. (The discount has resulted in one pool having 84.2 % of the Raptoreum hashing power. ) So we have removed the discount and lowed the base fee to 0.65%, due to the reduction in Raptoreum mining profitability, and in the hopes that without the incentive to mine at a single pool, the hashing power will be redistributed to smaller pools witch is better for miner profitability and security of the network. Download Links Download Binaries at https://github.com/cmyk-B/cpuminer-gr-cmky/releases (https://github.com/cmyk-B/cpuminer-gr-cmky/releases) Download Source at https://github.com/cmyk-B/cpuminer-gr-cmky (https://github.com/cmyk-B/cpuminer-gr-cmky) How to Hive custom miner: https://github.com/cmyk-B/cpuminer-gr-cmky/wiki/HiveOS-Custom-Miner https://hiveon.com/getting_started-start_custom_miner Please audit our code Since this is a new miner from an unknown person most people will be understandably skeptical. If you would like to audit the code you can see a full list of commits at https://github.com/cmyk-B/cpuminer-gr-cmky/commits (https://github.com/cmyk-B/cpuminer-gr-cmky/commits). Since this is a fork of a trusted miner you may only interested in our commits witch start on Dec 23, 2021 and are commit numbers 9ade630 (https://github.com/cmyk-B/cpuminer-gr-cmky/commit/9ade630cad393df4067e9c010b805aa2916ffed3), 390434a (https://github.com/cmyk-B/cpuminer-gr-cmky/commit/390434ab0e8a6ad306c9ca480bb8c542a946ae47), d49a187 (https://github.com/cmyk-B/cpuminer-gr-cmky/commit/d49a1878c99a53a7deab5b28dffb2b5cf67076b2) with the bulk of the changes being in the first commit. How to build from source Build Requirements: GCC-11 for zen3 support (Required for Ryzen 9 optimizations) MINGW-W64 v9.x for compiling windows binaries (only version that includes support for gcc11) libcurl openssl libjansson zlib libnuma Build Environment: All development was done on Linux so these directions are Linux specific. The scripts we used to setup our build environment are available at https://github.com/cmyk-B/cpuminer-gr-cmky-build-env (https://github.com/cmyk-B/cpuminer-gr-cmky-build-env). build-gcc-11 - Builds gcc 11 for linux and installs it in /opt/gcc-11 load_gcc11.sh - Setup current session to use gcc 11 as default compiler mingw-w64-build - A modified version of Kyle Schwarz mingw-w64 install script. original version did not build shared libraries load_mingw64.sh - Add mingw-w64 to PATH for current session Complete build directions: Linux compile directions: https://github.com/cmyk-B/cpuminer-gr-cmky/blob/main/INSTALL_LINUX Windows compile directions: https://github.com/cmyk-B/cpuminer-gr-cmky/blob/main/INSTALL_WINDOWS Simple build scripts: compiled binaries will be located under the bin/unix folder for linux and bin/win for windows if the simple scripts are used. build-allarch.sh - compiles binaries for all architectures build-zen3.sh - compiles the AMD Ryzen 9 linux binary only winbuild-cross.sh - compiles windows binaries for all architectures Todo:
Configuration: Tuning: Tuning starts automaticaly with the start of the miner. If previous tuning file `tune_config` exists (or `--tune-config=FILE` flag is used), it is used instead. This behavior can be overridden by `--no-tune` or `--force-tune`. On non-AVX2 CPUs default tuning process takes ~69 minutes to finish. On AVX2 CPUs default tuning process takes ~155 minutes to finish. To add or use options from the miner, use included config.json file. All options should be presented in JSON format like: "long-flag-name": "Some_value" Some examples: Code: "tune-full": true If using non-SSL stratum: Code: "url": "stratum+tcp://YOUR_POOL_ADDRESS:PORT" Help from the miner: Code: Options: Information about different binaries and required Processor instructions. Correct binaries should be selected automatically with the provided cpuminer.sh/cpuminer.bat scripts Code: # Compiled as AMD Zen1 AVX2 SHA Code: # Compiled as AMD Zen2 AVX2 SHA Code: # Compiled as AMD Zen3 AVX2 SHA VAES Code: # Alder Lake (12th gen, 12000 series) E cores limit to avx2 instead of avx512+ Code: # Compiled as Icelake AVX512 SHA VAES Code: # Compiled as Rocket Lake AVX512 SHA AES Code: # Compiled as Skylake-X AVX512 AES Code: # Compiled as Haswell AVX2 AES Code: # Compiled as Sandybridge AVX AES Code: # Compiled as Westmere SSE4.2 AES Code: # Compiled as Nehalem SSE4.2 Code: # Compiled as Core2 SSSE3 Code: # Compiled as Generic SSE2 Title: Re: [ANN] cpuminer-gr-cmky v1.2.4.1 - open source Raptoreum miner Post by: cmyk-B on December 26, 2021, 07:48:32 PM -- reserved --
Title: Re: [ANN] cpuminer-gr-cmky v1.2.4.1 - open source Raptoreum miner Post by: CreamyG31337 on January 08, 2022, 01:14:36 AM Looks promising, thanks for your effort.
It's a bit scary to be the first person to test it! Too bad your GitHub account has no public history, but at least it's been around since 2016. Personally, I can't get a decent hashrate on ghostrider compared to randomx, so I'm not going to be the first tester. Title: Re: [ANN] cpuminer-gr-cmky v1.2.4.1 - open source Raptoreum miner Post by: cmyk-B on January 08, 2022, 04:33:03 AM Looks promising, thanks for your effort. It's a bit scary to be the first person to test it! Too bad your GitHub account has no public history, but at least it's been around since 2016. Personally, I can't get a decent hashrate on ghostrider compared to randomx, so I'm not going to be the first tester. Yes the Ghostrider hashrate fluctuates because it does algorithm switching and some of the algorithms are more CPU intensive. The last time I did the numbers it came out to be more profitable than mining RandomX. Quite a bit of people use the miner but I'm not sure if they are members of this forum or if they came from discord. Putting out a new miner these days is tough all you can do is put it out there, be as transparent as possible, and wait. For the first few weeks no one used it at all and now it starting to get foot traffic. Title: Re: [ANN] cpuminer-gr-cmky v1.2.4.1 - open source Raptoreum miner Post by: cmyk-B on January 22, 2022, 02:16:58 PM Added HiveOS Custom miner package and instructions
|