3

I change task priorities based my algorithm now I want gives this tasks to vms , How I can do it in cloudsim?

Kara
  • 6,115
  • 16
  • 50
  • 57

2 Answers2

1

you can set the 'classType' parameter of cloudLet object from your algorithm to priorotize them.

Self Techy
  • 40
  • 5
  • Despite there is the `classType` attribute, it isn't used anywhere in CloudSim. Check the answer [here](https://stackoverflow.com/questions/51571651/what-kind-of-criteria-can-be-design-to-give-priorties-to-cloudlet-in-cloudsim/53669205#53669205) for more details. – Manoel Campos Dec 10 '18 at 19:10
0

There's a method bindCloudletToVm of the class DatacenterBroker. You can refer this

Chanda Korat
  • 2,453
  • 2
  • 19
  • 23