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

Update Mesos containerizer to understand revocable cpu resources

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.23.0
    • None
    • Twitter Q2 Sprint 3 - 5/11, Twitter Q2 Sprint 3
    • 5

    Description

      The CPU isolator needs to properly set limits for revocable and non-revocable containers.

      The proposed strategy is to use a two-way split of the cpu cgroup hierarchy – normal (non-revocable) and low priority (revocable) subtrees – and to use a biased split of CFS cpu.shares across the subtrees, e.g., a 20:1 split (TBD). Containers would be present in only one of the subtrees. CFS quotas will not be set on subtree roots, only cpu.shares. Each container would set CFS quota and shares as done currently.

      Attachments

        1. flattened vs non-flattened cgroups layout (2).png
          1.03 MB
          Jie Yu
        2. flattened vs non-flattened cgroups layout (1).png
          767 kB
          Jie Yu
        3. cpu.share from 1024 to 10 for revocable tasks (2).png
          836 kB
          Jie Yu
        4. cpu.share from 1024 to 10 for revocable tasks (1).png
          710 kB
          Jie Yu
        5. Performance improvement after reducing cpu.share to 2 for revocable tasks (10).png
          62 kB
          Jie Yu
        6. Performance improvement after reducing cpu.share to 2 for revocable tasks (9).png
          47 kB
          Jie Yu
        7. Performance improvement after reducing cpu.share to 2 for revocable tasks (8).png
          60 kB
          Jie Yu
        8. Performance improvement after reducing cpu.share to 2 for revocable tasks (7).png
          52 kB
          Jie Yu
        9. Performance improvement after reducing cpu.share to 2 for revocable tasks (6).png
          78 kB
          Jie Yu
        10. Performance improvement after reducing cpu.share to 2 for revocable tasks (5).png
          56 kB
          Jie Yu
        11. Performance improvement after reducing cpu.share to 2 for revocable tasks (4).png
          110 kB
          Jie Yu
        12. Performance improvement after reducing cpu.share to 2 for revocable tasks (3).png
          85 kB
          Jie Yu
        13. Performance improvement after reducing cpu.share to 2 for revocable tasks (2).png
          43 kB
          Jie Yu
        14. Performance improvement after reducing cpu.share to 2 for revocable tasks (1).png
          95 kB
          Jie Yu
        15. Abnormal performance with 3 additional revocable tasks (7).png
          50 kB
          Jie Yu
        16. Abnormal performance with 3 additional revocable tasks (6).png
          39 kB
          Jie Yu
        17. Abnormal performance with 3 additional revocable tasks (5).png
          37 kB
          Jie Yu
        18. Abnormal performance with 3 additional revocable tasks (4).png
          41 kB
          Jie Yu
        19. Abnormal performance with 3 additional revocable tasks (3).png
          37 kB
          Jie Yu
        20. Abnormal performance with 3 additional revocable tasks (2).png
          55 kB
          Jie Yu
        21. Abnormal performance with 3 additional revocable tasks (1).png
          53 kB
          Jie Yu

        Issue Links

          Activity

            People

              idownes Ian Downes
              vinodkone Vinod Kone
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: