You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Meng Zhu (JIRA)" <ji...@apache.org> on 2018/06/07 21:01:00 UTC
[jira] [Assigned] (MESOS-8935) Quota limit "chopping" can lead to
cpu-only and memory-only offers.
[ https://issues.apache.org/jira/browse/MESOS-8935?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Meng Zhu reassigned MESOS-8935:
-------------------------------
Assignee: Meng Zhu
> Quota limit "chopping" can lead to cpu-only and memory-only offers.
> -------------------------------------------------------------------
>
> Key: MESOS-8935
> URL: https://issues.apache.org/jira/browse/MESOS-8935
> Project: Mesos
> Issue Type: Bug
> Components: allocation
> Affects Versions: 1.4.2, 1.5.0, 1.5.1, 1.6.0
> Reporter: Benjamin Mahler
> Assignee: Meng Zhu
> Priority: Major
>
> When we allocate resources to a role, we'll "chop" the available resources of the agent up to the quota limit for the role (per MESOS-7099). This prevents the role from exceeding its quota limit.
> This has the unintended consequence of creating cpu-only and memory-only offers.
> Consider agents with 10 cpus and 100 GB mem and roles with quota guarantee/limit of 5 cpus, 10 GB mem. The following allocations will occur:
> agent 1:
> r1 -> 5 cpus 10GB mem
> r2 -> 5 cpus 10GB mem
> r3 -> 0 cpus 10GB mem (quota allocates even if it can make progress towards a single resource and MESOS-1688 allows this)
> r4 -> 0 cpus 10GB mem
> ...
> r10 -> 0 cpus 10GB mem
> agent 2:
> r3 -> 5 cpus 0GB mem (r3 is already at its 10GB mem limit)
> r4 -> 5 cpus 0GB mem
> r11 -> 0 cpus 10GB mem
> ...
> r20 -> 0 cpus 10GB mem
> Here, roles 3-20 receive memory only and cpu only offers. This gets further exacerbated if DRF chooses the same ordering between roles across cycles.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)