This is the home of cpuminer-opt, the optimized CPU miner.Supporting over 90 agorithms with many optimized for CPUs with the latest technologies:
Intel Haswell: AVX2
AMD Zen3: AVX2, SHA and VAES
Intel Skylake X: AVX512
Intel Rocketlake: AVX512, SHA, and VAES
Intel Alderlake: AVX2*, SHA, and VAES
Older 64 bit CPUs with SSE2 are also supported, see below for requirements.
*Alderlake is a hybrid CPU architecture with AVX512 disabled.
DownloadsSource code and Windows binaries are avaiable for download.
Download only from the official JayDDee git repository.
There may be malware masquerading as cpuminer-opt, stay alert.
I no longer post links in new mesages and I don't post direct links to files. Any such links should be treated
with suspicion. The only valid download link is below and directs to a landing page that can be examined
for legitimacy before any files are downloaded.
Latest release including Windows binaries
https://github.com/JayDDee/cpuminer-opt/releasesDocumentation
https://github.com/JayDDee/cpuminer-opt/wikiList of supported algoritms
https://github.com/JayDDee/cpuminer-opt/wiki/Supported--AlgorithmsSource code
https://github.com/JayDDee/cpuminer-optNew in v3.19.7#369 Fixed time limited mining, --time-limit.
Fixed a potential compile error when using optimization below -O3.
New in v3.19.6#363 Fixed a stratum bug where the first job may be ignored delaying start of hashing.
Fixed handling of nonce exhaust when hashing a fast algo with extranonce disabled.
Small optimization to Shavite.
New in v3.19.5Enhanced stratum-keepalive preemptively resets the stratum connection before the server to avoid lost shares.
Added build-msys2.sh shell script for easier compiling on Windows, see Wiki for details.
X16RT: eliminate unnecessary recalculations of the hash order.
Fix a few compiler warnings.
Fixed log colour error when a block is solved.
New in v3.19.4#359: Fix verthash memory allocation for non-hugepages, broken in v3.19.3.
New option stratum-keepalive prevents stratum timeouts when no shares are
submitted for several minutes due to high difficulty.
Fixed a bug displaying optimizations for some algos.
New in v3.19.3Linux: Faster verthash (+25%), scryptn2 (+2%) when huge pages are available.
Small speed up for Hamsi AVX2 & AVX512, Keccak AVX512.
New in v3.19.2Fixed log displaying incorrect memory usage for scrypt, broken in v3.19.1.
Reduce log noise when replies to submitted shares are lost due to stratum errors.
Fugue prehash optimization for X16r family AVX2 & AVX512.
Small speed improvement for Hamsi AVX2 & AVX512.
Win: With CPU groups enabled the number of CPUs displayed in the ASCII art
affinity map is the number of CPUs in a CPU group, was number of CPUs up to 64.
New in v3.19.1Changes to Windows binaries package:
- builds for CPUs with AVX or lower have CPU groups disabled,
- zen3 build renamed to avx2-sha-vaes to support Alderlake as well as Zen3,
- zen build renamed to avx2-sha, supports Zen1 & Zen2,
- avx512-sha build removed, Rocketlake CPUs can use avx512-sha-vaes,
- see README.txt for compatibility details.
Fixed a few compiler warnings that are new in GCC 11.
Other minor fixes.
New in v3.19.0Windows binaries now built with support for CPU groups, requires Windows 7.
Changes to cpu-affinity:
- PR#346: Fixed incorrect CPU affinity on Windows built for CPU groups,
- added support for CPU affinity for up to 256 threads or CPUs,
- streamlined code for more efficient initialization of miner threads,
- precise affining of each miner thread to a specific CPU,
- added an option to disable CPU affinity with "--cpu-affinity 0"
Faster sha256t with AVX512 & AVX2.
Added stratum error count to stats log, reported only when non-zero.
Full change log:
https://github.com/JayDDee/cpuminer-opt/blob/master/RELEASE_NOTESRequirements:1. A x86_64 architecture CPU with a minimum of SSE2 support. This includes Intel Core2 and newer and AMD equivalents.
AES optimizations require a CPU with AES_NI including Intel Westmere and newer and AMD equivalents.
Further optimizations are available on some algorithms for CPUs with AVX (Sandybridge), AVX2 (Haswell, Ryzen),
AVX512 (Rocketlake, Skylake-X), SHA (Ryzen, Rocketlake), and VAES (Zen3, Icelake).
32 bit CPUs, ARM CPUs, Intel Atom, Raspberry PI, etc, are not supported.
Mobile devices are not recommended because they aren't designed for continuous full load.
2. 64 bit Linux OS. Ubuntu and Fedora based distributions including Mint and Centos are known to work and have all
dependencies in their repositories. Others may work but may require more effort.
Windows 7 or newer, 64 bits is supported using the pre-compiled binaries package or may be cross-compiled using a Linux
system with mingw.
FreeBSD is not actively tested but should work, YMMV.
Apple and Android operating systems are not supported.
Older CPUs, other architectures and operating systems may be supported by TPruvot's cpuminer-multi.
Security warningMiner programs are often flagged as malware by antivirus programs. This is usually a false positive, they are
flagged simply because they are cryptocurrency miners. However, some malware has been spread using the
cover that miners are known to be subject to false positives. Always be on alert. The source code of cpuminer-opt
is open for anyone to inspect. If you don't trust the software don't download it.
Some cryptographic code has been taken from trusted sources but has been modified for speed at the expense of
accepted security practices. This code should not be imported into applications where secure cryptography is
required.
Errata:Old algorithms that are rarely used or are too difficult to mine with a CPU will not get the latest optimizations.
Cryptonight and variants are no longer supported, use other miners.
Hodl requires a CPU with AES, use legacy version if without.
Donationscpuminer-opt has no fees of any kind but donations are accepted.
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT