cri-resource-manager
cri-resource-manager copied to clipboard
UX-friendly Configurability for Page Demoting/Moving
I think it would make more sense from the UX/user point of view to have the real internally used configuration parameters determined from a set of QoS-oriented user-visible configuration parameters.
I'm thinking/talking about things like these:
- allowed maximum
total memory BWconsumption induced by- the demoter - allowed maximum
per-NUMA node memory BWconsumption induced by the demoter - allowed workload
disruption/agressiveness disruption/aggressivenesscould be expressed for instance by something like how big percentage of the granted CPU time the container would/could lose as a result of the kernel extra-blocking the container because of pages being moved as requested by the demoter.dynamic/self-adjusted control: Ideally 1. and 2. could/should be dynamically adjusted, if we could (reliably) measure the overall and per-controller utilization of memory buses/controllers and also somehow estimate the related UPI utilization/saturation levels from this. As long as there is spare BW and we're not violating per-container demoter QoS-restrictions we would pump up the volume, otherwise ease off for a while.per-container allowed aggresiveness: the possibility to override 3. above on aper-containerbasis usingannotations