Releases: WyvernTKC/cpuminer-gr-avx2
1.2.4.1 Hotfix
Miner fee reduced by 0.25% while mining on Flockpool.com
Come, check it out and visit our Discord !
Remember that you can reuse the tune_config
and config.json
files from version 1.2.X by copying them into the 1.2.4.1 main folder.
Alder Lake (12th gen intel) users are highly recommended to retune the miner.
Make sure E cores number was detected properly!
Fix:
- Fix problem with miner reconnecting after donation to the same pool.
Occurred if the user switched to the backup pool at least once. - Fix problem with Large Pages, AVX, or below while
tune-full
was set totrue
. - HOTFIX Fix problem with backup stratum. Could cause miner to not start properly.
General:
- Update startup scripts to accommodate changes in Windows 11.
- Use new avx2-sha-vaes on Alder Lake.
- Correct some output inconsistencies while tuning.
Improvements:
- Add improvements for Alder Lake tuning. ~6% (12900k) increase in hashrate.
Retuning of the system is REQUIRED to get improved performance.
Flags:
- Add
--ecores=N
- Specify the number of E cores of the CPU. Miner will try to
autodetect. It will show the predicted number. Specifying it incorrectly or on the
platform that does NOT support E cores (Intel Alder Lake) can lead to
reduced performance. - Add
--disable-rot=LIST
- Comma separated list of rotations to not be used
while mining. For testing purposes only! Using this for normal mining WILL
reduce your overall average hashrate!! Does not apply to the tuning process.
On newer Linux systems (Ubuntu 22.04+) please use cpuminer-gr-1.2.4.1-x86_64_ubuntu_22.04.tar.gz
binaries.
MD5 Checksums
07cb21a060ac304cf2191c9079c64bbd
cpuminer-gr-1.2.4.1-x86_64_linux.7z
f6ef0f5f459b9298bd501ab21cfdda3f
cpuminer-gr-1.2.4.1-x86_64_linux.tar.gz
da112263e7623320e1ced7b60aeae05b
cpuminer-gr-1.2.4.1-x86_64_windows.7z
7fccf3863e37ea2765d157ecfbe49979
cpuminer-gr-1.2.4.1-args-x86_64_linux.tar.gz
84c251e17a4bd240d19ba3d06ea7410e
cpuminer-gr-1.2.4.1-x86_64_ubuntu_22.04.tar.gz
SHA256 Checksums:
90dd692ad6af192a714d3aec8d53c165286759f971fa9a825b38f41ff165b876
cpuminer-gr-1.2.4.1-x86_64_linux.7z
bf6e3436730ace3c3d02757950d52561ee4d74d7822b83869e029ffbc8cb1570
cpuminer-gr-1.2.4.1-x86_64_linux.tar.gz
5bb35503f67492294e473dbc13a0c39686214a7ff9e011be8f3e0a4715d29b36
cpuminer-gr-1.2.4.1-x86_64_windows.7z
a959e7d5e4c076ffbb2b4722ae314e72be082d9fc494d33cf3ce1772868b999d
cpuminer-gr-1.2.4.1-args-x86_64_linux.tar.gz
f28bbe477692c266658d04cfef1634e20a640c002fdb9f9f273c9bb895331e78
cpuminer-gr-1.2.4.1-x86_64_ubuntu_22.04.tar.gz
1.2.4
Miner fee reduced by 0.25% while mining on Flockpool.com
Come, check it out and visit our Discord !
Remember that you can reuse the tune_config
and config.json
files from version 1.2.X by copying them into the 1.2.4 main folder.
Alder Lake (12th gen intel) users are highly recommended to retune the miner.
Make sure E cores number was detected properly!
Fix:
- Fix problem with miner reconnecting after donation to the same pool.
Occurred if the user switched to the backup pool at least once. - Fix problem with Large Pages, AVX, or below while
tune-full
was set totrue
.
General:
- Update startup scripts to accommodate changes in Windows 11.
- Use new avx2-sha-vaes on Alder Lake.
- Correct some output inconsistencies while tuning.
Improvements:
- Add improvements for Alder Lake tuning. ~6% (12900k) increase in hashrate.
Retuning of the system is REQUIRED to get improved performance.
Flags:
- Add
--ecores=N
- Specify the number of E cores of the CPU. Miner will try to
autodetect. It will show the predicted number. Specifying it incorrectly or on the
platform that does NOT support E cores (Intel Alder Lake) can lead to
reduced performance. - Add
--disable-rot=LIST
- Comma separated list of rotations to not be used
while mining. For testing purposes only! Using this for normal mining WILL
reduce your overall average hashrate!! Does not apply to the tuning process.
1.2.3
Miner fee reduced by 0.25% while mining on Flockpool.com
Come, check it out and visit our Discord !
Remember that you can reuse the tune_config
and config.json
files from version 1.2.X by copying them into the 1.2.3 main folder.
General Changes:
- Disable new rplant protocol by default. Can be enabled with
--confirm-block
Please do not use this flag until rplant fixes their pool!
rplant is not counting skipped shares on their backend
towards the users which lead to lower miner payouts/hashrate on the pool. - Minor output changes.
- Remove some sleeps on Windows release as help and benchmark.log are now
available for users. - Add info if the user is trying to use SSL protocol for non-SSL stratum when
miner is not able to connect to the pool's stratum. - Warn users if they are possibly using not optimal binaries.
- Make sure Windows .bat file starts proper binaries after the miner crash.
- Build-in stress test.
Flags:
- Add
--temp-sensor=PATH
- Specify temperature readout file/sensor. - Add
--stress-test
- Stress test CPU with 2 fastest rotations. - Add
--confirm-block
- Enable miner to send more data if a share is solving
the block.
This should provide users with good stress test for their CPU in case
they want to check basic system stability. Running it for 15 minutes minimum
should provide basic stability validation. Longer runs are recommended but not
necessary.
Miner/System crashes:
- Before reporting any cases of crashing / BSOD. Please make sure your CPU
is fully stable. IF and only IF your system can pass ~20-30 passes of 8GB+
datasets of Linpack Xtreme, please contact me on discord so we can investigate.
Linpack Xtreme: https://www.techpowerup.com/download/linpack-xtreme/ - Running miner for 15-30 minutes with
"stress-test": true,
is also recommended
to test basic stability of the system.
HiveOS:
For HiveOS binary replacement please check 1.2.2 release notes.
You can reuse 1.2.2 tune_config
by running this command
mkdir /hive/miners/cpuminer-opt/gr/1.2.3 ; cp /hive/miners/cpuminer-opt/gr/1.2.2/tune_config /hive/miners/cpuminer-opt/gr/1.2.3/
Adding miner flag "tune-config": "/hive/miners/cpuminer-opt/gr/tune_config"
will save tune config in the same place with each version. This will eliminate
the need for retuning or running the above command.
Binary replacement (zen3, change RYZEN variable to zen2 or zen if needed)
export RYZEN=zen3 && wget https://github.com/WyvernTKC/cpuminer-gr-avx2/releases/download/1.2.3/cpuminer-gr-1.2.3-x86_64_linux.tar.gz && tar xf cpuminer-gr-1.2.3-x86_64_linux.tar.gz && cp cpuminer-gr-1.2.3-x86_64_linux/binaries/* /hive/miners/cpuminer-opt/gr/1.2.3/ && cp cpuminer-gr-1.2.3-x86_64_linux/binaries/cpuminer-avx /hive/miners/cpuminer-opt/gr/1.2.3/cpuminer-aes-avx && cp cpuminer-gr-1.2.3-x86_64_linux/binaries/cpuminer-${RYZEN} /hive/miners/cpuminer-opt/gr/1.2.3/cpuminer-avx2-sha && sed -i 's/LIBCURL3_COMPAT=1/LIBCURL3_COMPAT=0/g' /hive/miners/cpuminer-opt/h-manifest.conf
If you want to support us, feel free to donate
Ausminers RTM: RXq9v8WbMLZaGH79GmK2oEdc33CTYkvyoZ
Delgon RTM: RQKcAZBtsSacMUiGNnbk3h3KJAN94tstvt
1.2.2
Miner fee reduced by 0.25% while mining on Flockpool.com
Come, check it out and visit our Discord !
Remember that you can reuse the tune_config
file from version 1.2.X by copying it into the 1.2.2 main folder.
Fix:
- Fix problem (introduced in 1.2.1) while staying at one of the dev pools even after the donation period finishes.
! Affected only pool. Users were still mining to their wallets !
It could occur while having connection problems during the donation period was still ongoing
and during longer connection problems in general.
How to replace 1.1.9/1.2.2 binaries in HiveOS to get the most out of your CPU
You can easily replace binaries in HIveOS with this release in a few simple steps, You can do it by executing remote commands from HiveOS Web UI. For replacement of 1.2.2 binaries, change this cpuminer-opt/gr/1.1.9
to this cpuminer-opt/gr/1.2.2
:
- You need to start 1.1.9/1.2.2 miner at least once.
- Stop miner
- Download the current release and unzip it.
wget https://github.com/WyvernTKC/cpuminer-gr-avx2/releases/download/1.2.2/cpuminer-gr-1.2.2-x86_64_linux.tar.gz && tar xf cpuminer-gr-1.2.2-x86_64_linux.tar.gz
- Replace binaries used by hive with the ones from this release.
Replace all default binaries:
cp cpuminer-gr-1.2.2-x86_64_linux/binaries/* /hive/miners/cpuminer-opt/gr/1.1.9/
Fix for Hive trying to use incorrect binaries for AVX:
cp cpuminer-gr-1.2.2-x86_64_linux/binaries/cpuminer-avx /hive/miners/cpuminer-opt/gr/1.1.9/cpuminer-aes-avx
Ryzen users need to select proper binaries.
Ryzen Zen/Zen+
cp cpuminer-gr-1.2.2-x86_64_linux/binaries/cpuminer-zen /hive/miners/cpuminer-opt/gr/1.1.9/cpuminer-avx2-sha
Ryzen Zen2
cp cpuminer-gr-1.2.2-x86_64_linux/binaries/cpuminer-zen2 /hive/miners/cpuminer-opt/gr/1.1.9/cpuminer-avx2-sha
Ryzen Zen3
cp cpuminer-gr-1.2.2-x86_64_linux/binaries/cpuminer-zen3 /hive/miners/cpuminer-opt/gr/1.1.9/cpuminer-avx2-sha
- Disable libcurl_compat:
sed -i 's/LIBCURL3_COMPAT=1/LIBCURL3_COMPAT=0/g' /hive/miners/cpuminer-opt/h-manifest.conf
- Start miner again. 1.2.x miner needs to be retuned and cannot use 1.1.9 tune_config.
In 1 simple command. Swap RYZEN=zen2 to another binary for different Ryzens like above.
1.1.9
export RYZEN=zen2 && wget https://github.com/WyvernTKC/cpuminer-gr-avx2/releases/download/1.2.2/cpuminer-gr-1.2.2-x86_64_linux.tar.gz && tar xf cpuminer-gr-1.2.2-x86_64_linux.tar.gz && cp cpuminer-gr-1.2.2-x86_64_linux/binaries/* /hive/miners/cpuminer-opt/gr/1.1.9/ && cp cpuminer-gr-1.2.2-x86_64_linux/binaries/cpuminer-avx /hive/miners/cpuminer-opt/gr/1.1.9/cpuminer-aes-avx && cp cpuminer-gr-1.2.2-x86_64_linux/binaries/cpuminer-${RYZEN} /hive/miners/cpuminer-opt/gr/1.1.9/cpuminer-avx2-sha && sed -i 's/LIBCURL3_COMPAT=1/LIBCURL3_COMPAT=0/g' /hive/miners/cpuminer-opt/h-manifest.conf
1.2.2
export RYZEN=zen2 && wget https://github.com/WyvernTKC/cpuminer-gr-avx2/releases/download/1.2.2/cpuminer-gr-1.2.2-x86_64_linux.tar.gz && tar xf cpuminer-gr-1.2.2-x86_64_linux.tar.gz && cp cpuminer-gr-1.2.2-x86_64_linux/binaries/* /hive/miners/cpuminer-opt/gr/1.2.2/ && cp cpuminer-gr-1.2.2-x86_64_linux/binaries/cpuminer-avx /hive/miners/cpuminer-opt/gr/1.2.2/cpuminer-aes-avx && cp cpuminer-gr-1.2.2-x86_64_linux/binaries/cpuminer-${RYZEN} /hive/miners/cpuminer-opt/gr/1.2.2/cpuminer-avx2-sha && sed -i 's/LIBCURL3_COMPAT=1/LIBCURL3_COMPAT=0/g' /hive/miners/cpuminer-opt/h-manifest.conf
If you want to support us, feel free to donate
Ausminers RTM: RXq9v8WbMLZaGH79GmK2oEdc33CTYkvyoZ
Delgon RTM: RQKcAZBtsSacMUiGNnbk3h3KJAN94tstvt
1.2.1
Miner fee reduced by 0.25% while mining on Flockpool.com
Come, check it out and visit our Discord !
Remember that you can reuse the tune_config
file from version 1.2.0 by copying it into the 1.2.1 main folder.
Windows Fixes:
- Fix crashing problem on Windows.
- Fix affinity not allocating threads to selected hardware threads
Linux Fixes:
- Fix affinity only allowing for up to 64 threads if set in any way.
Automation Scripts:
- Added 2 CPU models on windows binaries. (Please contact me on RTM discord if it detects wrong binaries for you)
- Users can now override and select specific binary:
-- by modifying lines 6 & 9 of the cpuminer.bat (Windows)
-- by adding miner suffix as argument like./cpuminer.sh avx2
for AVX2 binaries. (Linux)
General Changes:
- Autodetect GCC for build.sh
If you want to support us, feel free to donate
Ausminers RTM: RXq9v8WbMLZaGH79GmK2oEdc33CTYkvyoZ
Delgon RTM: RQKcAZBtsSacMUiGNnbk3h3KJAN94tstvt
1.2.0
Retuning of the miner is required as 1.1.9 tune configs are not compatible!
Miner fee reduced by 0.25% while mining on Flockpool.com
Windows Fixes:
- Fix MSR setup.
- Properly close/stop WinRing0 driver after closing the miner.
- Fix problems with stratum switching while using SSL stratum.
- Compiled binaries should now properly handle multi NUMA configurations.
- Disable QuickEdit on Windows. Prevents the user from accidentally freezing the miner.
General Fixes:
- Fix inaccurate Average hashrate counter that was displayed above each "Periodic Report".
- Fix the problem of "Low difficulty share" in situations where the new block
is found almost instantly. - Add Large Pages to different NUMA nodes if some have 0 or not enough memory (Linux).
- Minor fixes.
General Changes:
- Linux binaries system main requirements: libssl-1.1, libcurl-4, glibc-2.16.
- Added autodetect script to the linux and Windows binary packages.
They should start the best possible binary for the CPU used by the user. - Added default
config.json
file that is used to provide flags in one simple place. - Benchmark provides even more accurate results and takes into consideration
sub rotations. - Doing benchmark of the miner now creates
benchmark.log
file with results. - Automatically add lost shares to a new entry in "Periodic Report"
instead of displaying a warning about share mismatch. - Remove some unused debug output.
- Show progress of the tuning process in percent as well as
tests_done / tests_total and estimate of time remaining. - Pass benchmark and tuning speed to the API.
- Provide info about the rotation of the current block and a rough speed estimate.
Algorithm Improvements:
- General optimizations for GhostRider (~0-2% increase).
- New tuning process (up to 15% increase, most noticeable on Intel and Zen/Zen+ CPUs):
-- Dynamic thread usage - Especially useful for cache starved CPUs like Intels
and mobile CPUs. Lifts the performance on the more cache-heavy rotations by
not using some threads while maintaining the best performance on rotations
not requiring that much cache.
-- Different prefetch methods - This can bring more performance on CPUs with
higher overclocks and 2 sticks of RAM while maintaining proper performance
on CPUs that are underclocked and have 1 stick of RAM.
-- Tune for 2 sub rotations in each rotation to maximize the performance. - Update algorithms with improvements from JDD cpuminer-opt 3.18.0
Flags:
- Add
--url-backup=URL:PORT
- enable backup/failover stratum for the user. - Add
--log=FILE
- simple log file of the miner output. Useful on Windows. - Remove
--tune-simple
. - Add missing
--no-msr
(-y
) long flag. - All flags (like
-y
--tune-full
) are available on all releases but won't
do anything if they are not compatible. Should provide better universal
usage and script creation.
Compilation:
- Fix compilation errors on systems with archaic kernels (CentOS 7, Old Fedora & Ubuntu).
- Requires c++20 capable compiler. gcc-10 is recommended. gcc-8 minimum.
- Compilation tested on:
-- CentOS 7, CentOS 8.4
-- Fedora 24, Fedora 28, Fedora 34
-- Ubuntu 16.04, Ubuntu 18.04, Ubuntu 20.04 - Binaries tested on:
-- CentOS 7 - Requires manual installation of libssl-1.1
-- CentOS 8.4 - OK
-- Fedora 24 - Requires manual installation of libssl-1.1
-- Fedora 28, 34 - OK
-- Ubuntu 16.04 - Requires manual installation of libssl-1.1
-- Ubuntu 18.04, 20.04 - OK
HiveOS:
- Fix for AVX cpus on 1.1.9 and possibly 1.2.0:
cp /hive/miners/cpuminer-opt/gr/1.1.9/cpuminer-avx /hive/miners/cpuminer-opt/gr/1.1.9/cpuminer-aes-avx
or
cp /hive/miners/cpuminer-opt/gr/1.2.0/cpuminer-avx /hive/miners/cpuminer-opt/gr/1.2.0/cpuminer-aes-avx
- It is recommended to replace HiveOS binaries with prepared binaries for Ryzen users for best performance.
- Pick proper
zen
/zen2
/zen3
variant from prepared binaries and replaceavx2-sha
binary in HiveOS. - Disable LIBCURL3_COMP:
sed -i 's/LIBCURL3_COMPAT=1/LIBCURL3_COMPAT=0/g' /hive/miners/cpuminer-opt/h-manifest.conf
If you want to support us, feel free to donate
Ausminers RTM: RXq9v8WbMLZaGH79GmK2oEdc33CTYkvyoZ
Delgon RTM: RQKcAZBtsSacMUiGNnbk3h3KJAN94tstvt
1.1.9
Changes
Fixes:
- Fix miner stop/start with
--max-temp
flag. - Revert some changes so the miner is not so memory sensitive. Should be close to how 1.1.7 was.
Improvements:
- Include some VAES optimizations for Cryptonight (~2-4% increase).
- Optimizations for Cryptonight init/finish (~0-2% increase).
Added:
- Add
--donation
(-d
) long flag for use with config files, useful in HiveOS.
If you want to support us, feel free to donate
Ausminer RTM: RXq9v8WbMLZaGH79GmK2oEdc33CTYkvyoZ
Delgon RTM: RQKcAZBtsSacMUiGNnbk3h3KJAN94tstvt
1.1.8
We recommend tested pools like r-pool, suprnova, and p2pool.
Changes
Fixes:
- Fix rare cases of Low Difficulty share stream after lost connection.
- Display proper Cryptonight variants used with new blocks.
- Properly calculate real current, min, max, avg hashrate - Hashes done by the miner.
- Block sends of shares with mixed address RTM/WATC/BUTK to the pool.
Changes:
- Check for the
--max-temp=N
with every submitted share and ~20s. Previously was ~60s and with new block/job. - Increase the performance of 2 Cryptonight variants and some general Cryptonight changes in GR algo (5-9%). Re-tuning of the miner is recommended!
- Better support for WATC/BUTK mining.
- Provide better info during the tuning process.
--benchmark
- Now provides true average hashrate from each rotation and estimated pool average.- Dev fee changed from 1% to 1.75%.
Added:
--force-tune
- Forces tuning regardless if thetune_config
file is present. Useful on HiveOS.--benchmark-old
- Old ratios of calculating hashrate. Left for comparison purposes with the previous version.
Removed:
- All algorithms support that is not used by Ghost Rider (GR) algorithm.
Notes:
Ausminers and I have put a great amount of time and work into the miner for this next increase, so we had to up the dev fee % slightly to 1.75% to help offset that time and allow us to work on it more in the future.
1.1.7
Changes
Fixes:
- Fix stratum reconnection problems if users were not able to reconnect within the 60-120s.
- Fix problems with displayed share ping. It could be wrong if some stale shares were skipped. (display only bug)
- Properly detect problems with Large Pages set up on Linux.
Improvements:
- Include
tune_config
preset files for many CPU models done with the highest possible tuning options. Thanks again to the community for this amazing contribution. - Detect multiple NUMA nodes on the system and allocate Large Pages to individual nodes.
- Add additional tuning for AVX2+ instruction sets. Users using those binaries are recommended to retune their miner.
- Default AVX2+ tuning is now extended to 80 minutes. Includes additional tests that should bring more performance (6-18%). Includes options that should benefit most of the CPUs. Use
--tune-simple
for the previous tuning method (34 minutes). - Stop stratum functionality until miner tunes if tuning is enabled. Should lead to more accurate results.
--tune-config=FILE
It will also now specify a non-default (tune_config) file where the tune configuration will be saved.
Added:
AVX2+ Only!
--tune-full
- 115 minutes. The tuning process tests all possible Cryptonight variants for 4way. Many mobile or low-end CPUs can benefit from it as they are almost always cache starved. It is possible that a longer time from--tune-full
will not bring any additional performance!--tune-simple
- 54 minutes. Previous tuning with included 4way implementations of Cryptonight Turtle and Turtlelite variants.
Build:
libnuma
(libnuma-dev) is now required for building the binaries on Linux.
Notes:
Thanks again to the amazing RTM community for contributing your time and creating configuration preset files for many CPU models that can be used by other users and benchmarking your CPUs!
If you also want to contribute to this project, please contact me on Discord @Delgon (Naen)#1859
All benchmarking results and config files can be found here: https://docs.google.com/spreadsheets/d/1ABYpRGBEOg_OcMdhspS1DfklVjetuUhGca_s3H3gjRI
TLDR;
Improvements
Comparison between best possible tuning/config available.
AVX2 MIN MAX AVG
1.0.0 100.00% 100.00% 100.00%
1.1.2 116.47% 160.80% 147.07%
1.1.5.1 146.95% 196.65% 171.68%
1.1.7 154.04% 225.77% 187.94%
AVX MIN MAX AVG
1.0.0 100.00% 100.00% 100.00%
1.1.2 116.33% 152.63% 140.33%
1.1.5.1 118.07% 153.13% 141.46%
1.1.7 149.28% 199.55% 171.04%
With the ever-increasing performance of the miner, some users noticed higher than previous CPU temperatures. Reminder to monitor them carefully while mining!
It is highly recommended for users to retune their miner with this new version.
If you want to support us, feel free to donate
Ausminer RTM: RXq9v8WbMLZaGH79GmK2oEdc33CTYkvyoZ
Delgon RTM: RQKcAZBtsSacMUiGNnbk3h3KJAN94tstvt
1.1.6
Changes
Fixes
- Fix dev stratum switch. If dev fee collection is not possible, the dev fee will be skipped.
- Possible fix related to Windows Defender taking an increasing amount of memory if run near the start of the system.
Improvements:
- Tuning available on all instruction sets! Now also improves performance in AVX and non-AES versions of the miner.
- Changed default behavior. Now the miner is tuning by default unless the
tune_config
file is present or the--no-tune
flag is specified. --benchmark
should provide more real-world performance average that users see on pools.- Detect problems with stratum connection and stop mining threads until the connection can be reestablished. Until now the miner tried to solve and submit shares even the stratum connection was not established. That could lead to sending many old/stale shares to the pool after successful reconnection.
- Disable MSR functionality on non-AES architectures as it leads to a decrease in performance in those cases.
- Tune Cryptonight prefetch and code.
Removed:
--cn-config=CONFIG
--benchmark-config
--tune
- This option is now ON by default.
Added:
--no-tune
- Disable tuning process.
If you want to support us, feel free to donate
Ausminer RTM: RXq9v8WbMLZaGH79GmK2oEdc33CTYkvyoZ
Delgon RTM: RQKcAZBtsSacMUiGNnbk3h3KJAN94tstvt