[
https://issues.apache.org/jira/browse/MESOS-8456?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16855307#comment-16855307
]
Meng Zhu commented on MESOS-8456:
---------------------------------
Some preparation patch:
{noformat}
commit 31ac45be0a55fc33982641516bcc5eb3226ef406
Author: Meng Zhu <[email protected]>
Date: Tue May 28 16:28:28 2019 +0200
Added a function to shrink `Resources` to target `ResourceLimits`.
Also added unit tests.
Review: https://reviews.apache.org/r/70737
commit 8d372e14b0240aa5735a7c0cf36e03e7b3344bd1
Author: Meng Zhu <[email protected]>
Date: Tue May 28 16:27:16 2019 +0200
Added methods to subtract `ResourceQuantities` from `ResourceLimits`.
This patch also makes `ResourceLimits` a friend class of
`ResourceQuantities` to achieve one-pass operation complexities.
Also added unit test.
Review: https://reviews.apache.org/r/70735
{noformat}
> Allocator should allow roles to burst above guarantees but below limits.
> ------------------------------------------------------------------------
>
> Key: MESOS-8456
> URL: https://issues.apache.org/jira/browse/MESOS-8456
> Project: Mesos
> Issue Type: Improvement
> Components: allocation
> Reporter: Meng Zhu
> Assignee: Meng Zhu
> Priority: Major
> Labels: Mesosphere, multitenancy
>
> Currently, allocator only allocates resources for quota roles up to their
> guarantee in the first allocation stage. The allocator should continue
> allocating resources to these roles in the second stage below their quota
> limit. In other words, allocator should allow roles to burst above their
> guarantee but below the limit.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)