Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Maximum CPU usage set to 50% #288

Closed
MrCook1es opened this issue Dec 13, 2019 · 5 comments
Closed

Maximum CPU usage set to 50% #288

MrCook1es opened this issue Dec 13, 2019 · 5 comments

Comments

@MrCook1es
Copy link

I always use 50% on different systems and it works well.
For me it is fundamental to use a percentage value, so as not to have to personalize each combination by setting the number of threads by hand.

What parameter should I set in the new config.json file layout to have 50% CPU usage?

xmrig have found a solution, but it's not implemented in xmrigCC.
It would be nice: https://github.com/xmrig/xmrig/blob/master/doc/CPU.md


#274 (comment)
this is not working on latest version of xmrigCC

@Bendr0id
Copy link
Owner

This option doesn't exist anymore since last rebase.

The new option will be in the next release.

@Bendr0id
Copy link
Owner

For the time beein i recommend the option priority and set it to 0. Works imho much better then halfing the threads.

@MrCook1es
Copy link
Author

thanks for the reply
thats my test config:

},
"autosave": false,
"version": 1,
"background": false,
"colors": true,
"randomx": {
    "init": -1,
    "numa": true
},
"cpu": {
    "enabled": true,
    "huge-pages": true,
    "hw-aes": null,
    "priority": 0,
    "asm": true,
    "argon2-impl": null,
    "cn/0": false,
    "cn-lite/0": false
},

the miner goes to 100% use of CPU

@Bendr0id
Copy link
Owner

Implemted in master 18d2a2b

@MrCook1es
Copy link
Author

i confirm it work's perfect!
great job as always!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants