process-governor icon indicating copy to clipboard operation
process-governor copied to clipboard

Rule Grouping with Parent Parameter Inheritance

Open SystemXFiles opened this issue 1 year ago • 0 comments
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

  1. Group "Audio Processes" (group without selector):
    • CPU affinity: 4-7
    • Priority: High
  2. Rule 1.1 (for audiodg.exe, with selector):
    • Inherits parameters from the group, but changes affinity to cores 6-7.
  3. Rule 1.2 (for voicemeeter.exe, with selector):
    • Inherits parameters from the group without changes.
  4. 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.

SystemXFiles avatar Sep 28 '24 07:09 SystemXFiles