Bitcoin Forum
May 24, 2024, 05:05:58 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: XMRig and Hugepages.?  (Read 331 times)
ComX (OP)
Member
**
Offline Offline

Activity: 134
Merit: 12


View Profile
September 14, 2019, 06:54:09 PM
 #1

Hey Guys...

I know it´s a silly Question, but i can´t activate the hugepages in XMRig 3.1.1
i go in Windows 10 to Local Security Policy \User Rights Assignment \ double click the Lock Pages in Memory Setting,
Click Add User or Group and type your Windows user name.

There i Type my Username and push on check Name ... now it Shows me: DESKTOP-C2NI92I\Miner07
Then i push OK, and Reboot.

But if i start XMRig after reboot, he Shows me: HUGE PAGES: Unavailable  Huh Huh

anything i forgot.??

Thx
Set Ready Go
Member
**
Offline Offline

Activity: 273
Merit: 17


View Profile
September 14, 2019, 07:47:26 PM
 #2

If its enabled then you have to run xmrig with  admin privileges.
right click run as adminstrator
ComX (OP)
Member
**
Offline Offline

Activity: 134
Merit: 12


View Profile
September 15, 2019, 08:16:44 AM
 #3

I know that... but if i run the Batch file as admin i got message: The Command XMRig.exe was written wrong or can´t be found.

If i run only the xmrig.exe file as admin, the hugepages are active, and Hashrate goes from 405h/s to 1930h/s
but nothing Shows on minexmr.com.

Are the hugepages only for RandomX.??
Set Ready Go
Member
**
Offline Offline

Activity: 273
Merit: 17


View Profile
September 15, 2019, 08:59:22 AM
Merited by nc50lc (2)
 #4

I know that... but if i run the Batch file as admin i got message: The Command XMRig.exe was written wrong or can´t be found.

If i run only the xmrig.exe file as admin, the hugepages are active, and Hashrate goes from 405h/s to 1930h/s
but nothing Shows on minexmr.com.

Are the hugepages only for RandomX.??

No its not just for RandomX..

Hmm easy fix i belive is if you edit the config.json instead of using the batch file then  you just use the xmrig.exe to mine with.

Just put in your batch file information in config.json and you should be good to go  Wink 
ComX (OP)
Member
**
Offline Offline

Activity: 134
Merit: 12


View Profile
September 15, 2019, 10:33:09 AM
 #5

Works now.. add wallet and algo in .json file, Looks good..
Hugepages active, and Hashes from 405h/s up to 470h/s at cn/r.

Great... Thx for Help.
nc50lc
Legendary
*
Offline Offline

Activity: 2422
Merit: 5624


Self-proclaimed Genius


View Profile
September 15, 2019, 02:12:56 PM
 #6

Hmm easy fix i belive is if you edit the config.json instead of using the batch file then  you just use the xmrig.exe to mine with.
Or if he really need to run the bat file because multiple config reasons,
He can try to change the compatibility setting of XMRig.exe with "Run this program as an administrator".

Follow this: Right click XMRig.exe->Click Properties->Go to 'Compatibility' tab
and enable 'Run this program as an administrator' under Privilege Level


If using the batch file negates the run as admin flag,
at least he can open it directly without the hassle of right-clicking and hitting run as administrator everytime.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
ComX (OP)
Member
**
Offline Offline

Activity: 134
Merit: 12


View Profile
September 17, 2019, 05:30:16 PM
 #7

Thanks man... have change it... works well  Smiley
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!