[
https://issues.apache.org/jira/browse/MESOS-2961?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jojy Varghese updated MESOS-2961:
---------------------------------
Description:
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).
was:
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.
> Add cpuacct subsystem utils to cgroups
> --------------------------------------
>
> Key: MESOS-2961
> URL: https://issues.apache.org/jira/browse/MESOS-2961
> Project: Mesos
> Issue Type: Task
> Components: containerization, docker, isolation
> Environment: linux
> Reporter: Jojy Varghese
> Assignee: Jojy Varghese
> Labels: containerizer, isolation
>
> 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).
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)