The release includes a RandomX upgrade and a memory usage optimization. Note that the upgrade instructions are slightly different this time if you are running the miner from Git.
RandomX is upgraded to v1.1.7
The new version contains major performance improvements, the increase is up to 20% on certain CPUs with the large pages enabled.
The updated RandomX commit is here.
It contains a few exra changes to make it compatible with the current Arweave miner.
The RAM usage is reduced significantly on big miners
The memory footprint is lowered by roughly 2 GB on the machines with ~20 mining threads.
Upgrade instructions
N.2.0.0.1 comes with the prebuilt binaries for the Linux and Darwin x86_64 platforms.
Download the corresponding archive and unpack it:
tar -xzf arweave-2.0.0.1.linux-x86_64.tar.gz
It makes sense to unpack it inside a dedicated directory. You can always move this directory around, but the miner may not work if you move only some of the files. The weave data would, by default, be stored in this directory too, but it can be overridden using the data_dir command-line argument.
The archive contents look like this:
bin/ data/ erts-10.3/ lib/ releases/
To run the miner, execute ./bin/start <arguments>
. See the mining guide for more details.
If your OS/platform architecture is not in the list, check README for how to build the miner from sources.
If you want to run the miner from the existing Git folder, install CMake (on Ubuntu, sudo apt install cmake
) and execute the following command to upgrade (note the submodule update and the cleaning step):
git fetch --all --tags && git checkout -f N.2.0.0.1 && git submodule update && ./rebar3 clean
You can now run the miner using the arweave-server
script.
Support
For more details on how to run a mining node, please see our mining guide - https://docs.arweave.org/info/mining/mining-guide. If you have any issues upgrading or would like to know more about the release, feel free to reach out to us in the #mining channel on Discord Arweave Dev Talk server (https://discord.gg/DjAFMJc) or email us at team@arweave.org.