Closed
Description
Broker currently assigns VMs to hosts using FirstFit Policy. The next host is only chosen after the first host is full. This was done intentionally to avoid fragmentation and better resource usage.
However, we have noticed this sometimes prevents important resources like GPUs or SmartNICs from being successfully assigned. We intend to change this policy to fill a host up to a configurable threshold capacity before choosing the next host.