3Commas

Cryptonight is a Proof-of-Work algorithm which is used by a number of privacy coins such as Monero, Electroneum and Bytecoin and can mined using computer CPUs and GPUs.

In this article, we will examine most of the Cryptonight mining software, so readers will have a better understanding of each of the software, and can make a more educated decision on which one they want to use.

This article is not trying to figure out which software is “the best”, since that needs to be determined by each individual miner, based on the features they want in a mining software. This article is more of a case study, overview of most of the Cryptonight mining software, as well as a how to, to be able to test them out for yourself.

Cryptonight Mining Software

Any opinions or speed benchmarks presented in this article are just opinions, and rough estimations. They are not facts. Most likely, everyone’s mining setup will give different speed benchmarks, even if you have the same hardware and software setup that I am using.

Test Setup

For the test setup, I will be using Windows 10, with 3 Vega64 GPU’s. As for the drivers, I am using the Blockchain drivers at https://support.amd.com/en-us/kb-articles/Pages/Radeon-Software-Crimson-ReLive-Edition-Beta-for-Blockchain-Compute-Release-Notes.aspx

I will be mining Electroneum during this test and using https://electroneum.hashvault.pro as my mining pool.

Currently I am using XMR-Stak, because I felt this mining software had the features I was looking for. I was curious though to see how well it performed against other mining software, and I wanted to also do more research on the features of the other mining software.

Features I was looking for in the mining software

Personally, my main priority was to find the fastest mining software. I also wanted the ability to remotely monitor if the miner was still running, and what speed it was running at. I do like the idea of open source software, but I mainly wanted the fastest miner. I also did not really care about the GPU monitoring features.

Mining Software

For the mining software, we will be reviewing the following software:

I also made sure to use the latest versions of each of the mining software.

  • XMR-Stak version 2.2.0
  • XMRig version 2.5.0
  • Claymore’s Cryptonote AMD GPU Miner version 11.2
  • Cast XMR version 0.9.0

Here is a features chart I have created, to quickly compare each of the mining software I will be reviewing:

XMR-Stak Review

Here is XMR-Stak’s features

XMR-Stak is probably the mining software that has the most features, and can run on the most platforms. The only thing that XMR-Stak seems to lack, is the GPU monitoring capabilities.

This is the configuration file I used for the Vega system:

Here is the code for the batch file:

xmr-stak.exe --noCPU

To begin the test I ran the miner for one hour, and then I took the 15 minute average speed that it reports, as the speed benchmark.

XMR-Stak reported the speed to be 5952.6 H/s. XMR-Stak gave no stale or invalid shares during the testing.

XMRig AMD Review

Here is XMRig’s features:

It seems like XMRig AMD has a lot of features as well, but also lacks the GPU monitoring features. One thing to note is this mining software does not support SSL either.

Here is the code for the batch file:

xmrig-amd.exe --donate-level 1 --api-port 8000 --opencl-platform=0 --opencl-devices=0,0,1,1,2,2 --opencl-launch=1900x8,1900x8,1900x8,1900x8,1900x8,1900x8 -o pool.electroneum.hashvault.pro:7777 -u wallet_public_key -p officecomputer:myemail
  • –donate-level 1 is to set the miner to use a 1% Dev fee
  • –api-port 8000 is to enable remote reporting on port 8000
  • –opencl-platform=0 is to use the default opencl installation
  • –opencl-devices=0,0,1,1,2,2 is to use GPU 0,1 and 2. I have double numbers because I want to use 2 threads per GPU.
  • –opencl-launch=1900×8,1900×8,1900×8,1900×8,1900×8,1900×8 is to tell the GPU threads what intensity and worksize they should use.

To begin the test I ran the miner for one hour, and then I took the 15 minute average speed that it reports, as the speed benchmark.

XMRig AMD reported the speed to be 5907.2 H/s. XMRig AMD gave no stale or invalid shares during the testing.

The results were slightly lower than XMR-Stak. I also do not like the fact that you have to download separate programs to use the CPU, Nvidia, or AMD components. I personally do not use SSL, but I would like the option to use it. For these reasons, as of now I will still be using XMR-Stak as my mining software.

Claymore’s Cryptonote AMD GPU Miner Review

Here is Claymore’s Cryptonote AMD GPU Miner’s features:

Claymore’s Cryptonote AMD GPU Miner is not open source, but it does have GPU monitoring features.

Here is the code for the batch file:

setx GPU_FORCE_64BIT_PTR 1
setx GPU_MAX_HEAP_SIZE 100
setx GPU_USE_SYNC_OBJECTS 1
setx GPU_MAX_ALLOC_PERCENT 100
setx GPU_SINGLE_ALLOC_PERCENT 100
NsGpuCNMiner.exe -xpool pool.electroneum.hashvault.pro:7777 -xwal wallet_public_key -xpsw officecomputer:myemail

My plan was to run the miner for one hour, but I only ran it for 18 minutes, because it was clearly not as fast as the other two mining software.

Claymore’s Cryptonote AMD GPU Miner reported the speed to be 5349 H/s. Claymore’s Cryptonote AMD GPU Miner gave no stale or invalid shares during the testing.

The results were a lot lower than XMR-Stak. I also prefer open source software. For these reasons, as of now I will still be using XMR-Stak as my mining software.

Cast XMR Review

Here is Cast XMR’s features:

It seems like Cast XMR is the mining software with the least amount of features.

Here is the code for the batch file:

cast_xmr-vega.exe -S pool.electroneum.hashvault.pro:7777 -u wallet_public_key -p officecomputer:myemail -G 0,1,2 -R --nonicehash --fastjobswitch
  • -G 0,1,2 is for using GPU 0,1,2
  • -R is to enable remote reporting
  • –nonicehash is to speedup the miner when not using nicehash
  • –fastjobswitch is to speedup the miner

To begin the test I ran the miner for one hour, and then I took the 15 minute average speed that it reports, as the speed benchmark.

I had to take the average of a section, because I was using the –fastjobswitch option. This option is suppose to switch quickly after a share has been submitted, but it will lower the average reported speed, since it will show 0 H/s for a few milliseconds.

The average came out to be 2018.4+2023.3+2021.1 = 6062.8 H/s. This is faster than XMR-Stak.

XMR-Stak and Cast XMR Comparison

Since the speed was the most important feature to me, I had to do another comparison of XMR-Stak and Cast XMR.

So far, here are the speed results:

If you leave the default fee in XMR-Stak we have:
XMR-Stak = 5952.6 * 98% = 5833.6 H/s
Cast XMR = 6062.8 * 98.5% = 5971.9 H/s

However, since XMR-Stak is open source, one could lower or remove the fee completely. If we calculate the speed benchmarks based on that calculation we would have:
XMR-Stak = 5952.6 * 100% = 5952.6 H/s
Cast XMR = 6062.8 * 98.5% = 5971.9 H/s

These speeds are within a margin of error, so more testing was needed.

For the next round of testing I was going to test them using the statistics on the mining pool. I am testing for “Total hashes”  as well as “Valid shares” and “Invalid shares”.

I am going to run Cast XMR and XMR-Stak for 4 hours this time. I figure this is a long enough time to get a good reading, but not too long for a pool to lose connection or something that could make the test invalid.

Here are the numbers before I ran the test:

Before any of the testing, we are starting with:
Total Shares: 1,046,185
Valid Shares: 81
Invalid Shares: 0

After running Cast XMR for 4 hours we have the following results:

This means that Cast XMR gave us the following results after running 4 hours:
Total Shares: 77,233,475 – 1,046,185 = 76,187,290
Valid Shares: 528 – 81 = 447
Invalid Shares: 0 – 0 = 0

After running XMR-Stak for 4 hours we have the following results:

This means that XMR-Stak gave us the following results after running 4 hours:
Total Shares: 153,480,475 – 77,233,475 = 76,247,000
Valid Shares: 978 – 528 = 450
Invalid Shares: 0 – 0 = 0

So once again, we have that they are in the margin of error.

Conclusion

Here is the full features chart, so that you can easily compare which mining software may be right for you.

For me personally, I have decided to stay with XMR-Stak. The reason for this was that the most important feature to me was speed. The differences between XMR-Stak and Cast XMR in my machine and setup, were roughly the same. I also prefer the Remote Reporting layout (HTML page) in XMR-Stak compared to the layout (JSON) in Cast XMR. I also like that XMR-Stak is the most compatible with operating systems and components, compared to the other mining software.

I do like the fact that it is open source and allows you to decide if and when you want to donate. Personally I would rather make a donation after a certain amount of months, rather than have my miner disconnect and reconnect every X amount of minutes, from the mining pool I choose to use. I also like that it is open source, because the community can learn and contribute better this way.

I hope this article helps you decide which Cryptonight mining software is right for you, based on the features that are important to you.


3Commas

Posted by Zach Hildreth

I am a developer who programs websites, games, software and is knowledgeable about cyber security. I have been a cryptocurrency investor, since 2013, and have been interested in cryptocurrency mining, trading and writing since 2016.


All content on Blockonomi.com is provided solely for informational purposes, and is not an offer to buy or sell or a solicitation of an offer to buy or sell any security, product, service or investment. The opinions expressed in this Site do not constitute investment advice and independent financial advice should be sought where appropriate.

7 Comments

  1. Hi, As a beginner to the crypto world. Can you suggest a good computer to mine the XMR-Stak. I read you used a setup like this 3 Vega64 GPU’s. Is the VEGA64 available on line? And if so, how did you connect them together?

    Any help would be appreciated.

    Reply

    1. You really have to do a lot of research before you buy and figure out what you want to mine long term. I wanted to mine the Cryptonight family of coins so this is why I bought the VEGA’s since they are the fastest GPU for Cryptonight at the moment. I know NVIDA is releasing new cards in the summer so I dont know if they will be faster for CN or not.

      If you do decide that you want to buy some VEGA’s or if you want to learn more about the other parts (motherboard, PSU etc) Then you need to read http://vega.miningguides.com/

      I used some of the recommended parts from them. I also used the tutorial to setup the computer once I purchased it. It wont tell you how to build a computer (another tutorial would work for that) but once you get the machine to power on and install windows, then the the vega mining guide should help you setup the vega machine.

      Reply

  2. Hi Zach!
    Great comparison! Nice job!
    But I miss one miner from your list. Simple Miner (http://cryptomanager.net) is an effective miner software. Why isn’t it in the list?

    Reply

    1. Hello,

      Thanks for letting me know about this mining software.

      I know there has been a few released since this article. Eventually maybe around the end of the year I would like to write a “part 2” series and add some of the other mining software in, as well as retest the original software, since those are being updated all of the time.

      Reply

  3. Hi..Some question please…

    1. However, since XMR-Stak is open source, one could lower or remove the fee completely….

    How to remove fee completely

    2. I also prefer the Remote Reporting layout (HTML page) in XMR-Stak compared to the layout (JSON) in Cast XMR…

    How to do remote both in HTML and JSON

    Thanks for this article.

    Willie

    Reply

  4. Good article, I went through this pain of testing these programs and wish this was here then! Have ended up using Cast over Stak for simplicity!

    Reply

  5. Interesting article, how safe is Cryptonight? Is it profitable to mine even if you do not have a high-end PC? Recently I’ve been mining in Webchain’s pool because it’s ASIC-resistant (being ASIC-resistant translates to difficulty of mining being higher) but I’d like to know if there are any other safe but also easy ways to mine?

    Reply

Leave a reply

Your email address will not be published. Required fields are marked *