我们如何在cloudsim仿真器中指定任何虚拟机(vm)的执行时间 [英] How can we specify the execution time for any virtual machine (vm) in cloudsim simulator

查看:322
本文介绍了我们如何在cloudsim仿真器中指定任何虚拟机(vm)的执行时间的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果我们有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

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)的执行时间的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆