Firmware/API Docs/LUXminer commands
autotunerset
Sets autotuner configuration
autotunerset
Description
Sets the autotuner configuration. The parameters are the session_id
, followed by a comma-separated list of key-value pairs, in the format key=value
. The available keys are:
- enabled: either
true
orfalse
to enable or disable autotuner. - num_readings_scale: the scaling factor to the number of health readings for tuning evaluation. This is multiplied directly to the number of readings on healthctrlset, and cannot be lower than 1.0.
- bad_chip_health_threshold: the performance threshold to evaluate if a chip is good or bad, for tuning reasons. For tuning purposes, a more strict value the normal one used in the healthchecker is recommended.
You can specify only the keys you want to change, and it can be done in any order. It is also safe to change autotuner configuration while it is running; there is no need to reboot or turn it off and on again.
The current autotuner configuration can be seen on the autotunerget command.
Note: If autosave is disabled, the changes will be lost after a reboot.
Command
Examples
In this example, we enable autotuner and set all parameters. This change will be persistent. To disable, just change the value to false
:
Parameters
Parameter | Notes |
---|---|
session_id | A valid session ID. See Session Management for details. |
params | List of key-value parameters to change. |
Field details
Field | Notes |
---|---|
BadChipHealthThreshold | The performance threshold to consider a chip bad for tuning purposes. |
Enabled | Either true or false to enable or disable autotuner. |
NumReadingsScale | The scale or number of readings, relative to the health configuration, to use in the autotuner evaluation. |