Decouple system-level interactions from program #161

Open
opened 2024-06-13 22:22:17 +01:00 by NGnius · 1 comment
Owner

Describe what you'd like to be able to do

Interact with everything PowerTools can from CLI and from other's projects. Architecturally this also has the advantage of making the functionality more robust since many assumptions will be challenged and removed or mitigated.

Describe alternatives you've considered

Some functionality is already exposed in smokepatio and the wiki.
Smokepatio does not have provide a good CLI (on purpose -- some of it is dangerous).
Many people don't bother to read the wiki and the commands it offers are not that convenient to remember.

Anything else?

A refactor would solve this problem, and making all interfaces support read & write would enable #144 and #156 to be fixed by polling to check for incorrectly set values. The new repo for the crate powerbox has been created for this.

### Describe what you'd like to be able to do Interact with everything PowerTools can from CLI and from other's projects. Architecturally this also has the advantage of making the functionality more robust since many assumptions will be challenged and removed or mitigated. ### Describe alternatives you've considered Some functionality is already exposed in [smokepatio](https://git.ngni.us/NGnius/smokepatio) and the wiki. Smokepatio does not have provide a good CLI (on purpose -- some of it is dangerous). Many people don't bother to read the wiki and the commands it offers are not that convenient to remember. ### Anything else? A refactor would solve this problem, and making all interfaces support read & write would enable #144 and #156 to be fixed by polling to check for incorrectly set values. The new repo for the crate [powerbox](https://git.ngni.us/NGnius/powerbox) has been created for this.
NGnius added this to the Genry milestone 2024-06-13 22:22:17 +01:00
NGnius added the
enhancement
label 2024-06-13 22:22:17 +01:00
NGnius self-assigned this 2024-06-13 22:22:17 +01:00
Author
Owner

The rocm_smi_lib may be useful for understanding/improving some amdgpu interfaces

The [rocm_smi_lib](https://github.com/ROCm/rocm_smi_lib) may be useful for understanding/improving some amdgpu interfaces
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: NG-SD-Plugins/PowerTools#161
No description provided.