[
https://issues.apache.org/jira/browse/MESOS-3765?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14972948#comment-14972948
]
Qian Zhang commented on MESOS-3765:
-----------------------------------
I think granularity is just a way to divide the entire agent resources into
small pieces, so that *it is possible* for allocator to allocate resources in a
more fine-grained mode, but that will not render the fairness automatically. I
think the key is how allocator offers resources to frameworks based on the
granularity in each allocation cycle, i.e., the algorithm to decide how many
pieces (granularity) should be offered to each framework. [~alexr], can we have
a design doc for this improvement?
> Make offer size adjustable (granularity)
> ----------------------------------------
>
> Key: MESOS-3765
> URL: https://issues.apache.org/jira/browse/MESOS-3765
> Project: Mesos
> Issue Type: Improvement
> Components: allocation
> Reporter: Alexander Rukletsov
>
> The built-in allocator performs "coarse-grained" allocation, meaning that it
> always allocates the entire remaining agent resources to a single framework.
> This may heavily impact allocation fairness in some cases, for example in
> presence of numerous greedy frameworks and a small number of powerful agents.
> A possible solution would be to allow operators explicitly specify
> granularity via allocator flags. While this can be tricky for non-standard
> resources, it's pretty straightforward for {{cpus}} and {{mem}}.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)