This is the home of cpuminer-opt, the optimized CPU miner.
Now supporting AArch64Supporting over 90 agorithms with many optimized for CPUs with the latest technologies:
Intel Haswell: AVX2
AMD Zen1: AVX2 and SHA
AMD Zen3, Intel Alderlake*: AVX2, SHA and VAES
Intel Skylake X: AVX512
AMD Zen4, Intel Rocketlake: AVX512, SHA, and VAES
Orange Pi-5: NEON, AES, SHA2
Raspberry Pi-4B, Apple M2*: NEON
Older 64 bit CPUs with SSE2 are also supported, see below for requirements.
*Alderlake and subsequent Intel desktop architectures are hybrid architecture with AVX512 disabled.
*Apple M2 is supported using a Linux VM.
DownloadsLinux can be compiled from source for x86_64 and AArch64. Windows binaries are available for x86_64.
Windows binaries do not support CPU groups and are limited to 64 threads. Support for CPU groups requires
compiling from source with CPU groups enabled, see Wiki for details.
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 v24.5 Fix MinGW compile error after MSys2 upgrade to GCC-14.2.
#427: GBT: Improved handling of new work.
Removed shavite3 algo.
New in v24.4 x86_64: fixed a bug in ornot macro for AVX2 which broke some algos in v24.2.
x86_64: fixed a bug in alignr macros for SSE2.
ARM: CPU feature reporting enhancements.
Some code cleanup.
New in v24.3 ARM: CPU feature detection and reporting is now working.
ARM: Verthash is now working.
ARM: Small speedup for yescrypt, yespower & argon2d.
Code cleanup.
New in v24.2 x86_64: Fixed blakes2s for AVX2 & AVX512, x25x for AVX512, broken in v3.23.4.
x86_64: Initial support for CPUs with AVX10, needs GCC-14.
ARM NEON: Various code optimisations.
New in v24.1 #414: fix bug in merkle error handling.
#416: change $nproc to $(nproc) in build scripts.
#420: change some inline function definitions to static inline.
#413: Fix formatting error for share result log when using no-color.
Faster 2 way interleaving.
Cleanup sha256 architecture targetting.
Full change log:
https://github.com/JayDDee/cpuminer-opt/blob/master/RELEASE_NOTESRequirements:CPU:
- x86_64 architecture CPU with a minimum of SSE2 support. This includes Intel Core2 and newer and AMD equivalents.
- Arm CPU supporting AArch64 and NEON.
32 bit CPUs are not supported.
Older CPUs are supported by open source cpuminer-multi by TPruvot but at reduced performance.
Mining on mobile devices that may otherwise meet the requirements is not recommended due to the risk of overheating and damaging the battery.
Mining has unlimited demand, it will push any device to or beyond its limits. There is also a fire risk with overheated lithium batteries.
Beware of apps claiming "mobile only mining". There is no such thing, they aren't miners. If a mobile CPU can mine it any CPU can.
OS:
64 bit Linux OS. Debian and Fedora based distributions including Ubuntu, Mint, RHEL and clones 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 x86_64 package or may be compiled from source using MinGW & MSys2.
There is no support for Windows on ARM at this time
FreeBSD is not actively tested but should work, YMMV.
Apple MacOS is supported using a Linux VM, native support is not yet available.
Alt OSs like Haiku & ReactOS are not supported.
Security warningCryptocurrency miners are often flagged as malware by antivirus programs. This is usually a false positive, they are flagged simply
because of what they are. 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, Hodl & Argon2a are no longer supported, use older version or other miners.
Donationscpuminer-opt has no fees of any kind but donations are accepted.
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT