A Beginner’s Guide to XMR Mining

Last updated on December 4th, 2017 at 07:17 am

Similar to mining Zcash mining and Ethereum mining, Monero mining (aka XMR mining) is very simple. The great news is that you can actually still mine Monero with your CPU, so laptops can actually earn you coins as well.

The big advantage of the platform I’ll be showing you, minergate.com, is that you can use it on Windows or Mac, and you can mine with a CPU, GPU, or both (dual-mining), so it has a very low barrier to entry for a wide audience.

For the purpose of this guide, we’re going to do a detailed walk-through of setting up Minergate and a Claymore miner. It’s not Claymore’s Ethereum Miner we covered on our Ethereum mining post; for Monero mining, we’ll use his CryptoNote miner.

If you have AMD cards, then mining Ethereum is usually the most profitable option; however, Monero is a strong coin that’s focused on privacy. It has a large following, and it seems to have some amazing price spikes periodically. Diversification of your mining resources can be a very lucrative strategy as you wait for that specific coin’s price to spike to empty out some of your mining earnings.

The whole process of downloading your miner, configuring things, and getting going should take less than 20 minutes.

Here are some good reasons to mine Monero:

  • Mining can be a great way to subsidize the purchase of a new, high-end GPU (or two, or three…).
  • Monero is easily traded for bitcoins (BTC). It’s a cheap way to slowly build up a holding position in Bitcoin.
  • BTC can be easily sold for cash, so mining XMR can be a good way to indirectly fill up your bank account or earn cash. XMR can also be sold directly on some major exchanges.
  • Mining can be a cheap entry ticket to the XMR market, as it’s loved by traders for its high volatility. If you’re a good and/or lucky trader, you can maximize your profits—especially when there are periodic massive price pumps in Monero.
  • Ever since XMR got traction in the darknet markets in 2016, it’s been one of the highest-priced altcoins in the market.
  • Mining XMR, which is based on the CryptoNote algorithm, uses less electricity than both Ethash Dagger Hashimoto coins (Ethereum, Ethereum Classic, UBQ) and Equihash coins (Zcash, Zencash, Hush). This can lead to lower temperatures when heat output is a concern (yes, I deployed too many cards in a closed space once too!) and should also contribute to longer GPU card lifecycles.

Finally, building a large XMR position now through mining may allow you to take advantage of price appreciation in the future—but with less risk than just buying. Let me explain:

Mining crypto and holding it is similar to the old adage of buying low and selling high—except that most buyers don’t understand technical analysis and do this at the wrong times, meaning they’re buying high (during parabolic price increases) and selling low (during what could be normal price corrections on continued upward trends).

However, buying gear and mining cryptocurrency with it allows you to have an income-producing asset in the gear itself, with aftermarket resale values holding very well and even appreciating. GPUs purchased for mining in 2015 and 2016 were often sold at a profit in 2017 due to such high demand in the market!

So allowing your gear to earn money and selling that gear when your target is reached can potentially allow you to make your money back on the gear itself and pocket the crypto generated as profit.

How Monero’s Blockchain Differs from Bitcoin’s

Monero uses a different hashing algorithm than Bitcoin, which makes it incompatible with the special hashing hardware (ASICs) developed for Bitcoin mining. Monero’s algorithm is known as CryptoNight. It’s a memory-hard algorithm, meaning it’s designed to resist the development of Monero-mining ASICs.

Monero is deliberately best suited to CPU and GPU mining. Monero also differs in that it has a privacy protocol called ring signatures built in, designed to make it a leading privacy-based crypto in the market (competing with other privacy coins such as Dash and Zcash). Blocks on the Monero blockchain are mined in roughly two-minute intervals versus Bitcoin’s ten-minute intervals.

Hash Rate, Difficulty, and Price

Monero’s total network hash rate has been climbing rapidly since its launch in 4Q16. This chart from Monero.net tells the story:

So if the amount of hardware dedicated to Monero mining is rising, why aren’t blocks being mined ever more rapidly, such that the average two-minute block time has decreased?

The answer is difficulty. By automatically adjusting the computational difficulty of solving a block, the Monero blockchain is able to maintain approximate two-minute block intervals.

Difficulty closely tracks to network hash rate, and it too has seen exponential growth this year:

Monero difficulty

The next obvious question is why hash rate and difficulty have been rising in the first place. There’s a simple economic driver: price! Check out this chart from CoinMarketCap:

Monero Price

The takeaway here is that the hash rate has followed the price explosion—which really took off in the summer of 2017, when the altcoin megaboom occurred, but also spiked over 350% in September.

What an amazing bull run—up to over $160 USD from under $40 USD in a few short months!

Calculating Monero Mining Profitability

Now that we have a clearer understanding of the Monero blockchain and important concepts like difficulty, it’s time to perform some economic calculations.

First, head over to whattomine.com, which provides up-to-date figures for the current price, block time, and network hash rate (as measured in kilohashes per second—or KH/s—denoting thousands of calculations per second).

Plug in your cards up at the top and click on the model number (red square below), and you’ll see the following hashing and profitability info (have CryptoNight clicked to make it blue so it will calculate).

Monero mining

These figures will change based on when you run this analysis, but for the purposes of this example, we would net roughly $1 per day per GPU, depending on the model and configuration.

Choosing Your Hardware

Experimentation with various GPU selections in the calculator will reveal a card with the best price-to-performance-to-power consumption combination (expressed as MH/s per currency unit). Keep in mind that AMD cards outperform Nvidia cards for Ethereum mining purposes on the Ethash algo, but AMD doesn’t beat Nvidia when it comes to the Equihash algo using the EWBF miner. AMD does beat out Nvidia when it comes to mining Monero and the CryptoNight algo.

The neat thing about CryptoNight, though, is that you can also still mine it with CPUs. A decent i5 or i7 CPU can still make you a small profit and get you in the crypto mining game!

Pro tip: Check out the following GPUs: For AMD, look at the Rx 470/480, Rx 570/580, AMD R9 range, or HD 7990/7950 (if used cards are available, try to get them from a gamer instead of a miner, with a warranty if possible). As with everything, do your own due diligence to evaluate GPUs based on their hash rates, power requirements, availability, and price.

AMD

For a solid budget card, the AMD RX 570 with 4 GB of RAM, like this Sapphire Nitro GPU, is recommended.

Mining Monero on Your PC (Windows)

We’re going to do a walkthrough of mining Monero on Windows 10, but note that you can also mine on Windows 7 or 8, as well as Linux and Mac.

1. Get Your Video Card Drivers Installed

AMD GPUs: Head over to amd.com to download your GPU drivers. Go to amd.com and choose Support & Drivers. Enter your GPU information and click Display Results.

AMD step1

You can click the Download button for the current driver or choose Download Previous Drivers & Software on the right-hand side. This will allow you to choose older versions that are known as great drivers for mining based on your cards:

R9 and older: use 15.12

RX 4XX Series: use 16.9.2 or 16.10.3

RX 5XX Series: as these are newer, I’d recommend going with the current driver for now

download amd driversClick the red download button to get started.

Nvidia GPUs: To get the latest Nvidia GeForce drivers, go to https://www.geforce.com/drivers, enter your card info, click Start Search, and download the current version from the results.

Nvidia drivers

Install your GPU drivers like you normally would and reboot. You’ll know your GPUs are recognized correctly if you go into Device Manager (search in the Windows search bar) and don’t see any warning marks on your GPUs. Shown correctly, it should look something like this:

Nvidia Windows driver

Troubleshooting tip: Some miners have had success installing all GPUs at once and then installing the drivers. Others prefer to install only one card, install the drivers, shut down the system, install the rest of the GPUs, and let them all be recognized by Windows (you’ll experience the system lagging, some flickers, or some brief black screens while each card is detected by Windows).

I’ve had success both ways, so if you run into an issue with one method, delete the drivers and try the other method. If you do need to remove your drivers, use the DDU (Display Driver Uninstaller) program from Guru3d.com to remove everything cleanly, and then start over.

Important! The next part of this tutorial refers to using MinerGate as a mining software. After receiving several complaints about the company we decided to review it personally. Make sure to read our MinerGate review to get a better idea of the downsides. If you don’t want to use MinerGate you can skip straight to step 4.

2. Register a Free Account at Minergate

In order to easily mine with your CPU and GPUs, including laptops, you’ll need an account at Minergate. Click the Sign Up button at the top, and then set up your account with a valid email address and secure password.

3. Download the Minergate Software

The next step is to download the Minergate software. Click on Downloads at the top, and it should detect the right version for you (i.e., Mac, Windows, Linux).

Run the downloaded file to install Minergate, and just click like you normally would through any other installation process.

After the installation has completed, run the program, enter the email you registered with, and click on Start Mining.

Next, click on Start Smart Mining—this option will look for the most profitable coin for you to mine and start you hashing! That’s it—it’s literally that easy to get mining with this easy-to-use platform.

See the process in full here.

GPU mining

The above image shows CPU and GPU mining on a laptop with an old i7 2630 and integrated graphics. The below image shows a mining rig with a Celeron 1840 CPU and four RX 470s. Your performance with Minergate GUI smart mining will vary quite a bit based on the specs of your equipment.

GPU mining2

Being able to mine with a click button GUI like this is amazing, as it lets almost anyone get started with mining without any fuss, .bat files, or configuration. Just click a button and boom—you’re mining crypto…

But we want to take it to the next level. Read on to see how you can maximize your Monero mining and increase your performance almost 2.5x on mining rigs!

4. Advanced: Maximizing Your Monero Mining Rig

Nvidia Mining Rigs:

On mining rigs that have Nvidia cards, you’re going to want to mine with the EWBF miner, but if you have a decent CPU (i5 or i7), you can also mine with your CPU using Minergate! The Minergate platform doesn’t conflict with the EWBF or Claymore miners, so you can dual-mine using Minergate to run your CPU and another miner to mine Ethereum, ZCash, etc.

AMD Mining Rigs:

On mining rigs that have AMD cards, you can take your Monero mining to the next level using a Claymore miner built for the CryptoNight algorithm that runs on AMD cards.

Go back to the Minergate Downloads page, scroll all the way down, and click on Alternative Miners. If it doesn’t take you to the Claymore CryptoNote GPU Miner page, click on that option on the left.

Download the XMR .bat file using the download icon all the way to the right on the XMR line.

Go back to the Miner page and click on the bitcointalk link to this thread (a reminder: only download miners from their original bitcointalk threads).

Click on the MegaDownload link, download the miner, and extract it to your desktop.

Move the .bat file you downloaded earlier into the Claymore CryptoNote Miner folder on your desktop. The .bat file has to be in the same folder as the miner application for it to run properly.

Here’s the complete process:

5. Tweak Windows Settings

  • Some settings should be modified in Windows to get you ready for mining. First, you don’t want your computer to go to sleep, as it will interrupt your mining. Go to your Power Settings and set it to Never Turn Off or Sleep.
  • You’ll want to modify your system page file and manually set it to 16,384 MB (16 GB).
  • To minimize the disruptions to your mining and settings, you may also want to disable Windows Updates. If you feel more secure leaving them on, you can do so; just understand that there are frequent updates that sometimes reboot your system without your involvement, and this will stop your mining.
  • If you’re running Windows Defender or some other antivirus program, add an exclusion to it so that it doesn’t flag the entire Claymore miner folder and Windows doesn’t try to identify the Miner program as a virus or try to disable or delete it.

6. Run the Miner

Once you’ve completed your Windows tweaks, run the miner by double-clicking the .bat file you created. If Windows pops up a firewall approval message, provide the necessary approval, and you’re off and running with the Claymore CryptoNote miner hashing hard for Monero!

In my test example, four RX 470s were capped at around 1,000 h/s with the Minergate one-touch GUI platform, but running the Claymore miner on the same rig gets us over 2,400 h/s! That’s almost a 2.5x improvement! Claymore is a beast when it comes to AMD miners, and it has proven so time and again.

The neat thing is running the Claymore miner in this fashion is still mining to your Minergate account, and you can run the Minergate GUI to mine on your CPU and run the Claymore GPU at the same time.

7. Check Your Progress!

When you’re logged in to Minergate, go to your Dashboard to monitor your active workers and see your overall mining progress. Click on the Withdraw button to send the Monero you have mined to another Monero wallet or exchange.

That’s it for this beginner’s guide to mining Monero on your PC! I hope you’ve found this guide useful. If you run into any issues or have any questions, please comment below, and we’ll try to help.

P.S. If you are interested in taking your crypto mining to the next level from here, sign up at Crypto Mining Academy, where I go into massive depth and detail about every step of this process in a comprehensive course. Happy Mining!

Ian

I’m a Crypto Miner, Trader and Investor. As a long-time gamer, I’ve built and optimized custom gaming pc’s for many years and then stumbled upon Cryptocurrency Mining in 2014 and took the red pill.I’ve spent hundreds of hours researching, building and optimizing mining rigs via trial and error and various tutorials (so you don’t have to!).For more advanced materials check out my site cryptominingacademy.com.

Latest posts by Ian (see all)

Source