【问题标题】:How does the Round-Robin scheduling algorithm in Cloudsim manages the VMs allocation to Cloudlets, when there are multiple VMs?当有多个 VM 时,Cloudsim 中的 Round-Robin 调度算法如何管理分配给 Cloudlets 的 VM?
【发布时间】:2018-02-05 12:01:40
【问题描述】:

在 Cloudsim 中的 Round-Robin 调度算法中,它使用量子时间来调度 VM 中的 Cloudlet。 现在,如果有多个虚拟机,它如何管理它们?换句话说,是否有任何虚拟机分配计划? 哪个 Cloudlet 用于哪个 VM? 虚拟机也有队列吗?

For example, there are 2 VMs and 6 cloudlets.
Cloudlets exec time= 12, 5, 10, 7, 15, 18
Quantum = 5

你能指导我举个例子吗?谢谢你

【问题讨论】:

    标签: algorithm round-robin cloudsim


    【解决方案1】:

    这里 RR 将 5 个单位时间的第一个 cloudlet 分配给第一个 VM,然后将第二个 cloudlet 5 个单位时间分配给第二个 VM,然后将第三个 cloudlet 5 个单位时间分配给第二个 VM,将第 4 个 cloudlet 5 个单位时间分配给第二个 VM,依此类推.

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多