Project: mesos
Issue MESOS-2961: Add cpuacct subsystem utils to cgroups
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).
Story points: 2