Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-2961

Add cpuacct subsystem utils to cgroups

    XMLWordPrintableJSON

Details

    • Mesosphere Sprint 13, Mesosphere Sprint 14
    • 2

    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).

      Attachments

        Issue Links

          Activity

            People

              jojy Jojy Varghese
              jojy Jojy Varghese
              Timothy Chen Timothy Chen
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: