What are the VM Schedulers available in Cloudsim

  • The default VM schedulers available in cloudsim are:
    a. VmSchedulerSpaceShared
    b. VmSchedulerTimeShared
  • VmSchedulerSpaceShared:

    VmSchedulerSpaceShared is an allocation policy that allocates one or more Pe to a VM, and doesn't allow sharing of PEs. If there is no free PEs to the VM, allocation fails.
    VmSchedulerSpaceShared share=new VmSchedulerSpaceShared();

  • VmSchedulerTimeShared:

    VmSchedulerTimeShared is a VMM allocation policy that allocates one or more Pe to a VM, and allows sharing of PEs by multiple VMs.
    VmSchedulerTimeShared time=new VmSchedulerTimeShared();