问题
if we have 50 cloudlets/tasks and 1 virtual machine (vm) how can we make vm to run for specific time in order to apply RR method and cloudelts are run in time slice or quantum
回答1:
In fact, CloudletSchedulers in CloudSim don't implement the concept of time slice/quantum.
If you need to assess Cloudlets' preemption process, you can check CloudSim Plus, it's a full-featured, state-of-the-art, completely re-engineered and actively maintained CloudSim fork. It provides an implementation of the Completely Fair Linux Scheduler that performs actual preemption and considers a time slice/quantum to run Cloudlets. Check the CloudletSchedulerCompletelyFair and the LinuxCompletelyFairSchedulerExample.
来源:https://stackoverflow.com/questions/52018590/how-can-we-specify-the-execution-time-for-any-virtual-machine-vm-in-cloudsim-s