mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Zhitao Li <>
Subject Re: Review Request 51052: Made mesos-docker-execute understand cgroups_enable_cfs.
Date Fri, 03 Feb 2017 18:56:18 GMT

This is an automatically generated e-mail. To reply, visit:

(Updated Feb. 3, 2017, 6:56 p.m.)

Review request for mesos, Gilbert Song, haosdent huang, and Jie Yu.


Rebase with master.

Bugs: MESOS-6134

Repository: mesos


This fixed cpu quota for command executor (which runs outside
of the docker container) by ensuing --cpu-quota flag to docker

Diffs (updated)

  src/docker/docker.hpp 9093371afc8ea792ba94f61c6875703e547ea6b0 
  src/docker/docker.cpp b63b060ba1c1d39dc1702368cf667831edbd39bd 
  src/docker/executor.hpp 8385631fd170f97b28c4ca3596255ab0546774d6 
  src/docker/executor.cpp d8c72b081fb9a37b3927b73cea3b47956a076691 
  src/slave/containerizer/docker.cpp 886528f0f706ef2a3c07246406f3ee1ebc45565d 
  src/tests/containerizer/docker_tests.cpp 9667d434486c1832f180a297a39a3d5dae6a26bd 



I am now able to make docker containers launched through mesos-execute have a cpu quota.

Also making sure `make check` still works on mac os for the linux only flag.


Zhitao Li

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message