How can we specify the execution time for any virtual machine (vm) in cloudsim simulator

☆樱花仙子☆ 提交于 2020-01-16 16:35:15

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!