[
https://issues.apache.org/jira/browse/CLOUDSTACK-8181?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14292213#comment-14292213
]
ASF subversion and git services commented on CLOUDSTACK-8181:
-------------------------------------------------------------
Commit abf4e5c646316269072edd47d693e98182a663c6 in cloudstack's branch
refs/heads/master from [~nitinme]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=abf4e5c ]
CLOUDSTACK-8181: Introducing a new allocator called firstfitleastconsumed. The
purpose of this allocator is to find hosts/pools with least capacity usage (in
terms of percentage) within the cluster and use those resources first before
others. This allocator can be used changing vm.allocation.algorithm. For hosts
it would decide the least consumed host through the setting
host.capacityType.to.order.clusters to base the usage on cpu or ram.
Reviewed-by: Prachi
> Overprovisioning hosts happens when using first fit allocator + high disable
> threshold
> --------------------------------------------------------------------------------------
>
> Key: CLOUDSTACK-8181
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8181
> Project: CloudStack
> Issue Type: Improvement
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Reporter: Nitin Mehta
> Assignee: Nitin Mehta
>
> 1) In the host allocator, under a given cluster, we list all the hosts which
> match host tags
> 2) We iterate over this list of hosts and for each host check that the host
> has capacity or not
> 3) We return the first host found having capacity.
> 4) This causes usually the same host to get all the VMs until it goes out of
> capacity
> 5) So the change needed is return the host which has maximum free capacity
> from the list of hosts, instead of the first fit
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)