Description
When a resource policy plugin (topology-aware or balloons) is started or reconfigured, it starts making system-wide changes in containers, CPUs and uncore, none of which are automatically "restored" after stopping the policy. For instance:
- Policy changes container attributes:
- CPU and memory affinities
- cache allocations
- memory and block device bandwidth limits and quotas
- Policy changes CPU attributes:
- min/max frequencies
- C-states
- SST CLOS associations, possibly fully overriding existing SST configuration
- Future: modify IRQ CPU masks
- Policy changes uncore attributes:
Rationale
The purpose of this issue is to gather ideas and feedback what should happen when...
- A policy is started. Should it automatically/optionally initialize cpuidle, cpufreq, uncore frequencies, for instance?
- A policy is reconfigured. Note: not all knobs from old configuration may be present in new configuration, leaving newly unmanaged features in (unspecified) old state rather than a (specified) "default" state.
- A policy is stopped, possibly for a restart/update/uninstall.
Description
When a resource policy plugin (topology-aware or balloons) is started or reconfigured, it starts making system-wide changes in containers, CPUs and uncore, none of which are automatically "restored" after stopping the policy. For instance:
Rationale
The purpose of this issue is to gather ideas and feedback what should happen when...