process-governor
process-governor copied to clipboard
Rule Grouping with Parent Parameter Inheritance
trafficstars
Summary
Add the ability to group rules with parameter inheritance from parent groups. In a group, rules can be added in the same way as outside the group, but the group itself does not have a selector. Selectors are set only for the child elements, allowing flexible configuration of parameters for different processes.
Example
- Group "Audio Processes" (group without selector):
- CPU affinity: 4-7
- Priority: High
- Rule 1.1 (for
audiodg.exe, with selector):- Inherits parameters from the group, but changes affinity to cores 6-7.
- Rule 1.2 (for
voicemeeter.exe, with selector):- Inherits parameters from the group without changes.
- Rule 4 (rule outside the group with selector
*):- Applies to all processes, sets CPU affinity to cores 0-3 and priority to Normal.
Motivation
Grouping with parameter inheritance and without its own selector will allow effective management of processes by structuring settings based on process types. This simplifies managing complex configurations and reduces the duplication of rules.