follow us on twitter . like us on facebook . follow us on instagram . subscribe to our youtube channel . announcements on telegram channel . ask urgent question ONLY . Subscribe to our reddit . Altcoins Talks Shop Shop


This is an Ad. Advertised sites are not endorsement by our Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise Here Ads bidding Bidding Open

Author Topic: Tuning the miner  (Read 1320 times)

Offline riponsumo

  • Full Member
  • *
  • Activity: 228
  • points:
    1167
  • Karma: -3
  • Trade Count: (0)
  • Referrals: 0
  • Last Active: April 08, 2019, 08:12:48 PM
    • View Profile

  • Total Badges: 15
    Badges: (View All)
    10 Posts First Post Karma
Tuning the miner
« on: June 18, 2018, 01:27:13 PM »
Tuning the miner


You might see nasty messages like this:

[2017-07-09 12:04:02] : MEMORY ALLOC FAILED: mmap failed

This means that you can get around a 20% hashrate boost by enabling large pages.

Large pages on Linux

Firstly stop the miner (if it's running), run the following commands to enable large pages and then start the miner as root:
</code>

sudo sysctl -w vm.nr_hugepages=128

sudo ./xmr-stak-cpu
</code>

Large pages on Windows

Taken from config.txt:

By default we will try to allocate large pages. This means you need to "Run As Administrator" on Windows You need to edit your system's group policies to enable locking large pages. Here are the steps from MSDN

On the Start menu, click Run. In the Open box, type gpedit.msc.
riponsumo

Altcoins Talks - Cryptocurrency Forum

Tuning the miner
« on: June 18, 2018, 01:27:13 PM »

For Monthly biddings Check Here


Offline riponsumo

  • Full Member
  • *
  • Activity: 228
  • points:
    1167
  • Karma: -3
  • Trade Count: (0)
  • Referrals: 0
  • Last Active: April 08, 2019, 08:12:48 PM
    • View Profile

  • Total Badges: 15
    Badges: (View All)
    10 Posts First Post Karma
Re: Tuning the miner
« Reply #1 on: June 18, 2018, 01:28:26 PM »
On the Local Group Policy Editor console, expand Computer Configuration, and then expand Windows Settings.

Expand Security Settings, and then expand Local Policies.

Select the User Rights Assignment folder.

The policies will be displayed in the details pane.

In the pane, double-click Lock pages in memory.

In the Local Security Setting – Lock pages in memory dialog box, click Add User or Group.

In the Select Users, Service Accounts, or Groups dialog box, add an account that you will run the miner on

Reboot for change to take effect.
riponsumo

 

ETH & ERC20 Tokens Donations: 0x2143F7146F0AadC0F9d85ea98F23273Da0e002Ab
BNB & BEP20 Tokens Donations: 0xcbDAB774B5659cB905d4db5487F9e2057b96147F
BTC Donations: bc1qjf99wr3dz9jn9fr43q28x0r50zeyxewcq8swng
BTC Tips for Moderators: 1Pz1S3d4Aiq7QE4m3MmuoUPEvKaAYbZRoG
Powered by SMFPacks Social Login Mod