sudo87 commented on PR #11751:
URL: https://github.com/apache/cloudstack/pull/11751#issuecomment-3355672784
> > @weizhouapache, agreed. It needs testing with larger env. That said, I
did a basic validation (suggested in the issue) by spinning off 4 instances in
2 different envs running 4.20, one with this change and other without. Both
were configured with userdispersing vm allocation algo.
> > ```
> > for i in {01..4}; do cloudstack deployVirtualMachine
serviceofferingid=XXX templateid=YYY zoneid=ZZZ name=test-${i} & done
> > ```
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > Results:
> >
> > * With this change: Instances were evenly distributed across 2 hosts
(2-2)
> > * w/o: 3 were placed on host1, 1 on host2
>
> @sudo87 can you deploy more (e.g. 20) instances with smaller memory ?
End result is same for both envs, each host has 10 instances running.
Transition from Initialize -> Starting -> Running is small for a lean image.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]