whit down VM during simulation

31 views
Skip to first unread message

Andrija Feher

unread,
Feb 23, 2012, 2:09:40 PM2/23/12
to cloudsim
What is the right method of shutting down a VM while it is still
executing a Cloudlet. How do I wait for the cloudlet to be finished
and what do I do with the cloudlets already queued for execution? My
simulation has to scale down and it works so far, but some cloudlets
haven’t been executed, so my simulation never ends.

Rodrigo Calheiros

unread,
Feb 23, 2012, 6:28:38 PM2/23/12
to clou...@googlegroups.com
Hi,

Interrupted cloudlets due to VM destruction shouldn't break your
simulation: never-ending simulations are caused by never-ending events
generation in some entity (DC or Broker).

So, the most probable cause of problem in your simulation is that the
broker or the DC keeps generating events waiting for a Cloudlet that
will never finish. If this is the case, you can make the entity that
requested the destruction of the VM to send a CLOUDLET_CANCEL message
to the other entity, which would have to handle the message properly.

Regards,
Rodrigo

Reply all
Reply to author
Forward
0 new messages