Enable huge pages by running gpedit.msc and adding the current user to Local Computer Policy->Computer Configuration->Windows Settings->Security Settings->Local Policies->User Rights Assignment->Lock pages in memory:
![](https://developernote.com/wp-content/uploads/2019/12/xmr2.png)
and logging out of current Windows session for changes take effect.
Download xmrig miner (at the moment of writing this post I used xmrig-5.1.1-msvc-win64.zip) and run it with the following arguments:
xmrig.exe --url=xmr-eu1.nanopool.org:14444 --keepalive --user=<XMR wallet address> --algo=rx/0 --rig-id=home --donate-level=1
![](https://developernote.com/wp-content/uploads/2019/12/xmr3.png)
Without huge pages the result is a bit different:
![](https://developernote.com/wp-content/uploads/2019/12/xmr1.png)
Also it is possible to increase the number of threads with a command like
xmrig.exe --url=xmr-eu1.nanopool.org:14444 --keepalive --user=<XMR wallet address> --algo=rx/0 --rig-id=home --donate-level=1 --threads=2
![](https://developernote.com/wp-content/uploads/2019/12/xmr4.png)
Mining on Intel i5 with 2 threads:
![](https://developernote.com/wp-content/uploads/2019/12/xmr-intel-i5.png)
I also tried to run xmrig miner on my HiveOS farm along with GPU miners, but there was no enough RAM:
![](https://developernote.com/wp-content/uploads/2019/12/xmr-free.png)
![](https://developernote.com/wp-content/uploads/2019/12/xmr-free1.png)
and CPU can be loaded up to 80%:
![](https://developernote.com/wp-content/uploads/2019/12/xmr-htop.png)
Intel i7-9700 @3.00GHz without huge pages on Windows 10:
![](https://developernote.com/wp-content/uploads/2021/07/image.png)
with huge pages:
![](https://developernote.com/wp-content/uploads/2021/07/image-1.png)
with admin privileges:
![](https://developernote.com/wp-content/uploads/2021/07/image-2.png)