Skip to content

Releases

rieMiner 2612 — community test build 1

Choose a tag to compare

@primastra primastra released this 06 Dec 18:45

Unofficial community build based on rieMiner 2507 (MIT licence), published by
the primastra fork. It has not been reviewed by the original author (Pttn).
The later upstream commits (licence change, CUDA) are not included.

What is new compared with the official 2507

  • Faster primality tests chosen at run time. One binary carries several
    Fermat test kernels and picks the fastest one the processor and operating
    system support:
    • AVX-512 IFMA (Intel Ice Lake and later server/desktop parts, AMD Zen 4 and
      Zen 5): fermat52
    • AVX-512 without IFMA (Intel Skylake-X, Cascade Lake): fermat28avx512
    • AVX2 (Intel Haswell to Raptor Lake, AMD Zen 1 to Zen 3): fermat28
    • older processors: the original code path
  • Processor detection. At start the miner reads the processor model,
    P and E cores, SMT, cache sizes, NUMA nodes, Windows processor groups and
    the limits of the process (affinity mask, container CPU quota, memory limit)
    and derives the number of threads, the sieve workers and the sieve size from
    them. rieMiner --cpuinfo prints what it found and what it would use.
  • New options: Affinity = Auto | Off; environment variables
    RIEMINER_FERMAT (force a kernel: 52, 512, 28, ispc) and
    RIEMINER_CPUMASK for testing.
  • Windows: fixed a calling convention bug in the assembly glue, and the miner
    leaves Windows power throttling so that background windows keep full speed.
  • Linux: the binary no longer asks for an executable stack.
  • Default configuration is pool mining on eu.riepool.org:10443; Mode,
    Host and Port in rieMiner.conf select any other pool or solo mining.

Speed

About 1.4x to 2.2x faster than the official 2507 on x86-64 processors with
AVX2 or AVX-512, depending on the processor.

Testing done

  • Kernels compared number by number with GMP: no mismatch in more than
    350,000 candidates across AVX2, AVX-512 and AVX-512 IFMA machines.
  • Pool mining with this build: Windows 11 (Core i9-14900K) 25 of 25 shares
    accepted, Linux (EPYC, Zen 5, 32 threads) 41 of 41 shares accepted.
  • Linux limits: with a restricted affinity mask (8 of 32 CPUs) and in Docker
    containers with a CPU quota and a memory limit (Ubuntu 24.04, Debian 13) the
    miner sized itself to the limit. All four kernels were run on the same
    AVX-512 machine.
  • ARM64: built and run on an Arm Neoverse-N2 server (8 cores): same speed as
    2507 (the new kernels are x86-64 only), processor named correctly, 5 of 5
    pool shares accepted.

Known issue (also in the official 2507)

  • On ARM64, the benchmark at a very low difficulty (600) with 20 or more
    threads crashes. It does not happen at mining difficulties (tested at 1050
    with up to 32 threads) or on x86-64.

Not tested

  • AVX-512 code paths on Windows (built, but only run on Linux).
  • fermat28avx512 on a real processor without IFMA.
  • Windows machines with more than 64 logical processors were covered by unit
    tests only.

Files

File Contents
rieMiner-2612-win64.zip Windows 10/11 x64: rieMiner.exe, required DLLs, sample rieMiner.conf
rieMiner-2612-x86_64-linux.tar.gz Linux x64 binary (glibc 2.38+, needs libcurl4 and libgmp10), sample conf
rieMiner-2612-aarch64-linux.tar.gz Linux ARM64 binary (glibc 2.38+, needs libcurl4), sample conf

Quick start: put your own Riecoin address (ric1…) on the Username line of
rieMiner.conf and start rieMiner.

SHA-256 checksums

13be215be6fa1088a6e863916890a4565871e8556bbe7fd6238ba53888025441  rieMiner-2612-aarch64-linux.tar.gz
06d4b898e54b69c7bba877b27595bff092ecc940f01374a8e6433ed6943d0efd  rieMiner-2612-win64.zip
2da8966c7a849010e6fb8e3133b1812e681fb09ae09828c6b7cbab25497395a9  rieMiner-2612-x86_64-linux.tar.gz