public class VmSchedulerTimeSharedOverSubscription extends VmSchedulerTimeShared
| Constructor and Description |
|---|
VmSchedulerTimeSharedOverSubscription(java.util.List<? extends Pe> pelist)
Instantiates a new vm scheduler time shared over subscription.
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
allocatePesForVm(java.lang.String vmUid,
java.util.List<java.lang.Double> mipsShareRequested)
Allocate pes for vm.
|
protected void |
redistributeMipsDueToOverSubscription()
This method recalculates distribution of MIPs among VMs considering eventual shortage of MIPS
compared to the amount requested by VMs.
|
allocatePesForVm, deallocatePesForAllVms, deallocatePesForVm, getMaxAvailableMips, getMipsMapRequested, getPesInUse, setMipsMapRequested, setPesInUse, updatePeProvisioninggetAllocatedMipsForVm, getAvailableMips, getMipsMap, getPeCapacity, getPeList, getPeMap, getPesAllocatedForVM, getTotalAllocatedMipsForVm, getVmsMigratingIn, getVmsMigratingOut, setAvailableMips, setMipsMap, setPeList, setPeMap, setVmsMigratingIn, setVmsMigratingOutpublic VmSchedulerTimeSharedOverSubscription(java.util.List<? extends Pe> pelist)
pelist - the pelistprotected boolean allocatePesForVm(java.lang.String vmUid,
java.util.List<java.lang.Double> mipsShareRequested)
allocatePesForVm in class VmSchedulerTimeSharedvmUid - the vm uidmipsShareRequested - the mips share requestedprotected void redistributeMipsDueToOverSubscription()