Hello!👋🏻 How can we help?

This field can contain only letters and spaces.

How to increase hashrate on RandomX XMR ZEPH?

Feb. 26, 2024, 4:26 p.m.

Windows background tasks consume your CPU resources and can restrict your CPU hashrate while mining. In this article, we will guide you on optimizing RandomX mining on Windows to maximize your hashrate.

Hashrate serves as a performance indicator for miners. The greater the hashrate, the more coins you can mine, resulting in higher income.

Previously we have told about equipment settings in our article RandomX and RAM.

Kryptex is not liable for any system failures resulting from adjustments to the settings. All modifications are undertaken at your own risk. We highly advise creating a system restore point before implementing any changes. This precautionary step enables you to return to the original state in case of any issues.

Create a system restore point

  1. Start Menu → Settings → System → About → System protection.
  2. Click ”Create”.
  3. Enter a description for the restore point.
  4. Click ”Create”.
  5. Close the window.

Miner Settings

Miner Settings — specialized miner commands for fine-tuning. Include these parameters in your batch file or miner settings to optimize and maximize your hashrate.

--randomx-mode=fast — maximum intensity for RandomX.

--cpu-priority=5 — the highest mining process priority (мminimum 1, maximum 5).

--cpu-no-yield — prefer maximum hashrate rather than system response/stability (please do not use if you are running mining on GPU)

Check developer’s instructions for more settings for XMRig fine-tuning — https://xmrig.com/docs/miner/command-line-options

Miner settings in the Kryptex App

  1. Ensure that you have enabled PRO mode.
  2. Open Kryptex settings, “Mining” section, scroll down to find XMRig.
  3. Mark the argument line and input the necessary arguments (avoid using extra spaces or indents, as the miner may interpret them as errors and fail to start).

Kryptex Setting

By default, Kryptex restricts your CPU usage to 75% to ensure there are sufficient resources for operating system tasks and video card monitoring. If you wish, you can disable this restriction.

  1. Ensure that you have enabled PRO mode.
  2. Open Kryptex settings, “Mining” section, and navigate down the list.
  3. In the “Misc” section, tick the “CPU mining: no load limit” checkbox.

You can also select the rendering preference for the Kryptex application, whether it draws its interface on the processor or the graphics card. This allows you to allocate more resources for either processor or graphics card mining.

  1. Ensure that you have enabled PRO mode.
  2. Open Kryptex settings and navigate to the "Account" section.
  3. Enable the option "Render GUI on GPU" to reduce the processor load.
  4. Restart the Kryptex application.

Basic OS Settings

Enable Huge Pages

If you are mining using the Kryptex application, there's no need to enable HugePages. Kryptex takes care of this automatically!

Grant administrator rights to the xmrig.exe miner.

  1. Right-click on the xmrig.exe miner and choose “Properties”.
  2. Navigate to the “Compatibility” tab, and enable the “Run as administrator” option.
  3. Apply the changes.
  4. Start the miner, wait for 5 minutes, and restart your PC to implement the settings.

If this doesn't help, you will need to make changes manually:

  1. Press Win+R keys.
  2. In the window, type: gpedit.msc
  3. Expand the "Computer ConfigurationWindows SettingsSecurity SettingsLocal PoliciesUser Rights AssignmentLock pages in memory" column. Then click on the "Add User or Group" button and type your Windows username. After that, save the changes and restart your computer.

Find detailed information on Huge Pages and their configuration for various operating systems in the developer documentation at: https://xmrig.com/docs/miner/hugepages

Change Your Power Plan

  1. Start Menu → Settings → System → Power & Sleep → Additional power settings.
  2. Select “High Performance” mode.

Disable Telemetry

  1. Download the O&O Shutup 10 and 11 program from: https://www.oo-software.com/en/shutup10
  2. Apply the default settings already set by the program.
  3. Save the settings and restart your computer.

Disable Startup Apps

  1. Press Ctrl+Shift+Esc keys and go to the Startup tab.
  2. Disable all applications that start with the system. If you mine with the Kryptex app, do not remove it from autorun!
  3. Download Autoruns from Microsoft: https://docs.microsoft.com/en-us/sysinternals/downloads/autoruns
  4. Uncheck all items except Microsoft on the "Logon", "Scheduled Tasks", "Services" tabs.
  5. Restart your computer.

Remove Unused Applications

  1. Open Settings → Apps → Apps & features.
  2. Select the applications you want to remove.
  3. Click on the "Uninstall" button.

Advanced OS Settings

Disable background applications

  1. Open Settings → Privacy
  2. Tap “Background Applications”.
  3. Disable the "Allow applications to run in the background" option.

Disable visual effects

Start Menu → Settings → System → About → Advanced system settings → Advanced → Performance → Settings → Adjust for best performance.

Disable the system service Windows Search

  1. Press Win+R then type services.msc then press Enter.
  2. Find the “Windows Search” service, stop it and disable it.

Disable memory compression

  1. Press Win+R, then type powershell then press Enter.
  2. Type Disable-MMAgent -mc press Enter.
  3. Restart your computer.

Disable the task RunFullMemoryDiagnostic

  1. Press Win+R then type taskschd.msc then press Enter
  2. Open Task Scheduler Library → Microsoft → Windows → MemoryDiagnostic in Task Scheduler.
  3. Disable all tasks there.

Disable Cortana

  1. Press Win+R then type regedit then press Enter.
  2. Go to HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Windows Search
  3. If you don't see the "Windows Search" key (folder) under the Windows folder, right-click on the Windows folder and select New → Key. Call it Windows Search
  4. Right-click on Windows Search and select New → DWORD (32-bit) Value.
  5. Name the value AllowCortana. Double click it and set the value to 0.
  6. Restart your computer.

Need Help?

Still have questions?

Contact support — we are happy to help!

This article is available in other languages:

Share:

Dead-PC

Kryptex is a desktop application. Download the app to your PC after signing up.

Register