-
Type:
Task
-
Status: Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 0.24.0
-
Component/s: containerization, docker
-
Labels:
-
Environment:
linux
-
Target Version/s:
-
Sprint:Mesosphere Sprint 13, Mesosphere Sprint 14
-
Story Points:2
Current cgroups implementation does not have a cpuacct subsystem implementation. This subsystem reports important metrics like user and system CPU ticks spent by a process. "cgroups" namespace has subsystem specific utilities for "cpu", "memory" etc. It could use other subsystems specific utils (eg. cpuacct).
In the future, we could also view cgroups as a mesos-subsystem with features like event notifications.
Although refactoring cgroups would be a different epic, listing the possible tasks:
- Have hierarchies, subsystems abstracted to represent the domain
- Create "cgroups service"
- "cgroups service" listen to update events from the OS on files like stats. This would be an interrupt based system(maybe use linux fsnotify)
- "cgroups service" services events to mesos (containers for example).
- is depended upon by
-
MESOS-2951 Inefficient container usage collection
-
- Resolved
-