Skip to content

Arionum-Java-Miner Release 0.2.5

Compare
Choose a tag to compare
@ProgrammerDan ProgrammerDan released this 22 May 05:31

Over the past several months, I've been receiving many periodic reports of issues with affinity, with memory stability, with rejections, and this release should be the culmination of attempts to eliminate the worst of these issues.

Specifically, this release addresses:

  1. Affinity issues for some CPUs in Windows -- affinity will auto disable if affinity isn't supported, without loss of functionality.

  2. (with standard hasher) Lower reject rate nonce and salt generation -- in my testing across windows and linux, significantly improved accept ratio

  3. (with standard hasher) No pause hashing, with rapid discard of memory pages that have rejections -- this also helps improve accept ratio, and overall average hashrate

  4. pre-made pointer / helps for ARM-based builds (see: pom-arm.xml and src/main/bin/build-argon-arm.sh )

  5. updated *.md files, some gaps might remain so consider these release notes as first.

PLEASE, recreate your config.cfg for this release, and use the standard hasher. If you don't, it will still work fine, but the revised standard hasher has many improvements in stability and reduced reject rate.

Which Version Should I Download

Some general guidelines for "WHICH VERSION":

If you are running Windows:

If you have an Intel i5 or i7 CPU made in the last 4 years, download the AVX2 version.

If you have a modern Ryzen (last year or two), AVX2 should work. Otherwise, or if unsure:

Check with CPU-Z to see if your cpu supports AVX or AVX2. If AVX, download AVX version AND the "unlabelled" generic version. In some cases, AVX support has poorer performance then Generic. In no cases that I am aware, does AVX2 give worse performance.

So far, AVX512F hasn't worked reliably for anyone, so I'm not distributing it any more. If you want to guinea pig test it, let me know and I will make a build just for you.

If you are running Linux:

You really must download and build locally. This is the only and best way to maximize your hashrate.

Follow these steps exactly -- No Skipping!

  1. Install Maven, git, 64bit Java 8 JDK, make, gcc, and if necessary (older ubuntu usually), build-essentials.
    Typical: sudo apt-get install openjdk-8-jdk maven git gcc make build-essential -y. For yum systems: sudo yum install openjdk-8-jdk maven git gcc make -y.

  2. Clone this repository locally: git clone git://github.com/Programmerdan/arionum-java

  3. Enter this in command line -- cd arionum-java/arionum-miner

  4. Run mvn clean package

  5. Run chmod +x build-argon.sh (CRITICAL STEP)

  6. Run ./build-argon.sh (CRITICAL STEP)

  7. Run miner using ./run.sh -- this will use the locally built high-performance argon2i libraries automatically.

What has Changed?

As listed above:

  1. Many touchups to handle typical failure and edge cases related to memory and affinity

  2. (standard) hasher runs non-stop, better memory swap-out if failure is identified.

  3. (standard) generally improved accept ratio on pool

Last release added?

  1. As per AroDev's request, the miner reports hashrate less frequently to the pool, which should ease some of the load on the pool.

  2. Added remote reporting of statistics!

  3. Custom vanity names for workers!

  4. Application startup retries on node connection failure!

  5. Other cleanups and minor fixes

How do I enable stats tracking?

First, you need a node that supports hearing from your workers. Hop over to https://github.com/ProgrammerDan/arionum-node/releases/tag/0.2.0 and follow those instructions. When you are done, come back.

Second, you need to add a unique name to your miner, and tell it where to report statistics. The arionum-node instructions describe what to do; follow those instructions. Your config file will look something like this now:

pool
http://aropool.com
mYePiCwaLLeTAdDrESS49390
4
standard
true
my-worker-bee-1
http://my-arionum-node report.php false SecretToken1

Which means, you're connecting to the pool, using mYePiCwaLLeTAdDrESS49390 to send funds to, with 4 worker threads, using the standard mapped memory hasher, colors are on, your worker is named my-worker-bee-1 as reported to both the pool, and to your stats tracker at http://my-arionum-node using token SecretToken1.

Good work, you're all set up! Go on over to http://my-arionum-node/dashboard.php and watch as your workers report their progress centrally.