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
Asked
Active
Viewed 225 times
1 Answers
0
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.

halfer
- 19,824
- 17
- 99
- 186

Manoel Campos
- 933
- 9
- 12