[
https://issues.apache.org/jira/browse/MESOS-7006?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15854002#comment-15854002
]
Ilya Pronin commented on MESOS-7006:
------------------------------------
On Linux {{--cpus}} option uses only CFS with {{cpus.cfs_period_us}} set to
100ms:
https://github.com/docker/docker/blob/master/daemon/daemon_unix.go#L115-L121
> Launch docker containers with --cpus instead of cpu-shares
> ----------------------------------------------------------
>
> Key: MESOS-7006
> URL: https://issues.apache.org/jira/browse/MESOS-7006
> Project: Mesos
> Issue Type: Improvement
> Affects Versions: 1.1.0
> Reporter: Craig W
> Assignee: Tomasz Janiszewski
> Priority: Minor
>
> docker 1.13 was recently released and it now has a new --cpus flag which
> allows a user to specify how many cpus a container should have. This is much
> simpler for users to reason about.
> mesos should switch to starting a container with --cpus instead of
> --cpu-shares, or at least make it configurable.
> https://blog.docker.com/2017/01/cpu-management-docker-1-13/
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)