From b1f2479ec11fc9366be4d180cc8474dcb550049e Mon Sep 17 00:00:00 2001 From: SChernykh Date: Thu, 25 Nov 2021 13:16:07 +0100 Subject: [PATCH] Added GhostRider release notes --- CHANGELOG.md | 3 +++ CMakeLists.txt | 1 + scripts/rtm_ghostrider_example.cmd | 20 +++++++++++++++ src/crypto/ghostrider/README.md | 39 ++++++++++++++++++++++++++++++ 4 files changed, 63 insertions(+) create mode 100644 scripts/rtm_ghostrider_example.cmd create mode 100644 src/crypto/ghostrider/README.md diff --git a/CHANGELOG.md b/CHANGELOG.md index 9d3ff1fd6..4f3fc574c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +# v6.16.0 +- [#2712](https://github.com/xmrig/xmrig/pull/2712) **GhostRider algorithm (Raptoreum) support**: read the [RELEASE NOTES](src/crypto/ghostrider/README.md) for quick start guide and performance comparisons. + # v6.15.3 - [#2614](https://github.com/xmrig/xmrig/pull/2614) OpenCL fixes for non-AMD platforms. - [#2623](https://github.com/xmrig/xmrig/pull/2623) Fixed compiling without kawpow. diff --git a/CMakeLists.txt b/CMakeLists.txt index 27b79d85e..a7f9c98b1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -235,6 +235,7 @@ if (WIN32) add_custom_command(TARGET ${CMAKE_PROJECT_NAME} POST_BUILD COMMAND ${CMAKE_COMMAND} -E copy_if_different "${CMAKE_SOURCE_DIR}/scripts/benchmark_10M.cmd" $) add_custom_command(TARGET ${CMAKE_PROJECT_NAME} POST_BUILD COMMAND ${CMAKE_COMMAND} -E copy_if_different "${CMAKE_SOURCE_DIR}/scripts/pool_mine_example.cmd" $) add_custom_command(TARGET ${CMAKE_PROJECT_NAME} POST_BUILD COMMAND ${CMAKE_COMMAND} -E copy_if_different "${CMAKE_SOURCE_DIR}/scripts/solo_mine_example.cmd" $) + add_custom_command(TARGET ${CMAKE_PROJECT_NAME} POST_BUILD COMMAND ${CMAKE_COMMAND} -E copy_if_different "${CMAKE_SOURCE_DIR}/scripts/rtm_ghostrider_example.cmd" $) endif() if (CMAKE_CXX_COMPILER_ID MATCHES Clang AND CMAKE_BUILD_TYPE STREQUAL Release AND NOT CMAKE_GENERATOR STREQUAL Xcode) diff --git a/scripts/rtm_ghostrider_example.cmd b/scripts/rtm_ghostrider_example.cmd new file mode 100644 index 000000000..f4c4342ef --- /dev/null +++ b/scripts/rtm_ghostrider_example.cmd @@ -0,0 +1,20 @@ +:: Example batch file for mining Raptoreum at a pool +:: +:: Format: +:: xmrig.exe -a gr -o : -u -p +:: +:: Fields: +:: pool address The host name of the pool stratum or its IP address, for example raptoreumemporium.com +:: pool port The port of the pool's stratum to connect to, for example 3333. Check your pool's getting started page. +:: pool username/wallet For most pools, this is the wallet address you want to mine to. Some pools require a username +:: pool password For most pools this can be just 'x'. For pools using usernames, you may need to provide a password as configured on the pool. +:: +:: List of Raptoreum mining pools: +:: https://miningpoolstats.stream/raptoreum +:: +:: Choose pools outside of top 5 to help Raptoreum network be more decentralized! +:: Smaller pools also often have smaller fees/payout limits. + +cd %~dp0 +xmrig.exe -a gr -o raptoreumemporium.com:3008 -u WALLET_ADDRESS -p x +pause diff --git a/src/crypto/ghostrider/README.md b/src/crypto/ghostrider/README.md new file mode 100644 index 000000000..65e51c233 --- /dev/null +++ b/src/crypto/ghostrider/README.md @@ -0,0 +1,39 @@ +# GhostRider (Raptoreum) release notes + +**XMRig** supports GhostRider algorithm starting from version **v6.16.0**. + +No tuning is required - auto-config works well on most CPUs! + +**Note for Windows users: MSVC binary is ~5% faster than GCC binary!** + +### Sample command line (non-SSL port) +``` +xmrig -a gr -o raptoreumemporium.com:3008 -u WALLET_ADDRESS +``` + +### Sample command line (SSL port) +``` +xmrig -a gr -o us.flockpool.com:5555 --tls -u WALLET_ADDRESS +``` + +You can use **rtm_ghostrider_example.cmd** as a template and put pool URL and your wallet address there. The general XMRig documentation is available [here](https://xmrig.com/docs/miner). + +## Performance + +While individual algorithm implementations are a bit unoptimized, XMRig achieves higher hashrates by employing better auto-config and more fine-grained thread scheduling: it can calculate a single batch of hashes using 2 threads for parts that don't require much cache. For example, on a typical Intel CPU (2 MB cache per core) it will use 1 thread per core for cn/fast, and 2 threads per core for other Cryptonight variants while calculating the same batch of hashes, always achieving more than 50% CPU load. + +For the same reason, XMRig can sometimes use less than 100% CPU on Ryzen 3000/5000 CPUs if it finds that running 1 thread per core is faster for some Cryptonight variants on your system. Also, this is why it reports using only half the threads at startup - it's actually 2 threads per each reported thread. + +**Windows** (detailed results [here](https://imgur.com/a/GCjEWpl)) +CPU|cpuminer-gr-avx2 (tuned), h/s|XMRig (MSVC build), h/s|Speedup +-|-|-|- +AMD Ryzen 7 4700U|632.6|731|+15.5% +Intel Core i7-2600|496.4|533.6|+7.5% +AMD Ryzen 7 3700X @ 4.1 GHz|2453.0|2469.1|+0.65% +AMD Ryzen 5 5600X @ 4.65 GHz|2112.6|2221.2|+5.1% + +**Linux** (tested by **Delgon**, detailed results [here](https://cdn.discordapp.com/attachments/604375870236524574/913167614749048872/unknown.png)) +CPU|cpuminer-gr-avx2 (tuned), h/s|XMRig (GCC build), h/s|Speedup +-|-|-|- +AMD Ryzen 9 3900X|3746.51|3604.89|-3.78% +2xIntel Xeon E5-2698v3|2563.4|2638.38|+2.925%