-
Notifications
You must be signed in to change notification settings - Fork 275
XMRig: Add MSR instructions, conditionally enable volumes, fix namings #5133
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
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -39,4 +39,4 @@ sources: | |
| - https://xmrig.com | ||
| title: XMRig | ||
| train: community | ||
| version: 1.0.5 | ||
| version: 1.0.6 | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -30,8 +30,8 @@ questions: | |
| - variable: use_remote_pool | ||
| label: Use Remote Pool | ||
| description: | | ||
| Leaving this disabled will attempt to use your installed XMRig. | ||
| If you do not run the XMRig app, you need to specify a pool address. | ||
| Leaving this disabled will attempt to use your installed P2Pool app. | ||
| If you do not run the P2Pool app, you need to specify a pool address. | ||
| schema: | ||
| type: boolean | ||
| default: false | ||
|
|
@@ -43,9 +43,9 @@ questions: | |
| type: uri | ||
| required: true | ||
| show_if: [["use_remote_pool", "=", true]] | ||
| - variable: local_xmrig_port | ||
| label: XMRig Port | ||
| description: The port your XMRig app is listening on. | ||
| - variable: local_p2pool_port | ||
| label: P2Pool Port | ||
| description: The port your P2Pool app is listening on. | ||
| schema: | ||
| type: int | ||
| min: 1 | ||
|
|
@@ -58,12 +58,14 @@ questions: | |
| schema: | ||
| type: string | ||
| required: false | ||
| show_if: [["use_remote_pool", "=", true]] | ||
| - variable: pool_password | ||
| label: Pool Password | ||
| schema: | ||
| type: string | ||
| required: false | ||
| private: true | ||
| show_if: [["use_remote_pool", "=", true]] | ||
| - variable: autodetect_algorithm | ||
| label: Autodetect Algorithm | ||
| description: | | ||
|
|
@@ -139,11 +141,13 @@ questions: | |
| type: boolean | ||
| default: false | ||
| - variable: use_msr_mod | ||
| label: Use MSR Mod | ||
| label: Use MSR Mod (Requires MSR Kernel Module) | ||
| description: | | ||
| Only available for the RandomX algorithm.</br> | ||
| Enabling this may increase the hashrate by 10-30%, but will grant XMRig privileged | ||
| access to the host. | ||
| access to the host.</br> | ||
| IMPORTANT: For this to work, you need to load the MSR kernel module on the host every | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The rule is to not push users to modify host. So if tho it's the case it needs to be removed. If user wants this enabled it either does so via custom app or env or some other form of customisation
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Okay, should I just remove the message telling the user to enable MSR? Or do you want me to drop the entire feature? |
||
| time you boot your system: `sudo modprobe msr`. | ||
| schema: | ||
| type: boolean | ||
| default: false | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changing the schema shape (ie variable name) will make upgrades fail due to invalid set of keys.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe I can keep both and make the incorrectly named one always hidden? Lmk if this is allowed.