问题描述
如果我们有50个cloudlets/任务和1个虚拟机(vm)我们如何使vm在特定时间运行为了应用RR方法,cloudelts在时间片或量子中运行
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
推荐答案
实际上,CloudSim中的CloudletSchedulers并未实现时间片/量子的概念.
In fact, CloudletSchedulers in CloudSim don't implement the concept of time slice/quantum.
如果您需要评估Cloudlets的抢占过程,可以检查 CloudSim Plus ,它是功能齐全的状态最先进,经过全面重新设计并积极维护的CloudSim分支.它提供了完全公平的Linux Scheduler的实现,该实现执行实际的抢占并考虑运行Cloudlets的时间片/量子.检查 CloudletSchedulerCompletelyFair 和 LinuxCompletelyFairSchedulerExample .
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.
这篇关于我们如何在cloudsim仿真器中指定任何虚拟机(vm)的执行时间的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!