Cloudlet still submit by the broker to a destructed VM.

4 views
Skip to first unread message

Steven Wong

unread,
May 2, 2019, 8:17:51 AM5/2/19
to CloudSim Plus
Dear Mr.Manoel,

I have a question regarding cloudsim plus.

Let say I have already request on destructing the VM earlier with some constraint given.
For example VM ID: 6 have been destructed at 20 sec during simulation runtime.

However when I have submit a list of workload during maybe 40-50 sec during simulation runtime.
The datacenter broker still submits to VM ID: 6 to process.

I have included the simulation code for you to check on too.
Thanks on your effort on maintaining cloudsim plus. Much appreciated.

Regard,
Steven Wong


sce1.java

Manoel Campos

unread,
May 2, 2019, 1:01:34 PM5/2/19
to clouds...@googlegroups.com
Hello Steven,

Could you please update your fork and check if the issue persists?
I've fixed some issues related to VM submission and destruction.

Just let me know what happened.

Manoel Campos da Silva Filho Software Engineer

Computer Science and Engineering Ph.D. Student at University of Beira Interior (Portugal)

Professor at Federal Institute of Education, Science and Technology of Tocantins (Brazil)

http://manoelcampos.com


 about.me


--
If you received an answer that worked for you, please be kind and reply to let everybody knows it worked.
http://cloudsimplus.org
---
You received this message because you are subscribed to the Google Groups "CloudSim Plus" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cloudsim-plu...@googlegroups.com.
To post to this group, send email to clouds...@googlegroups.com.
Visit this group at https://groups.google.com/group/cloudsim-plus.
To view this discussion on the web visit https://groups.google.com/d/msgid/cloudsim-plus/79688b16-f053-4e24-b73d-6d822402691b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Steven Wong

unread,
May 2, 2019, 1:24:34 PM5/2/19
to CloudSim Plus
Dear Mr.Manoel,

Upon update the package and testing with the code, I still found out the problem still persists.

Thanks for the hard work!
To unsubscribe from this group and stop receiving emails from it, send an email to clouds...@googlegroups.com.

Manoel Campos

unread,
May 3, 2019, 3:40:40 PM5/3/19
to clouds...@googlegroups.com
Hello Steven, I ran your example but couldn't spot the issue.
All your VMs are being destroyed only at the end of the simulation.
Could you try to slim down your example so that the issue is clear?
Make sure to just print what is relevant for the issue.
Realize your Cloudlet's BW and RAM utilization are requesting more resources than it is available.
If BW and RAM are not relevant to reproduce the issue, don't set UtilizationModel for such resources.


Manoel Campos da Silva Filho Software Engineer

Computer Science and Engineering Ph.D. Student at University of Beira Interior (Portugal)

Professor at Federal Institute of Education, Science and Technology of Tocantins (Brazil)

http://manoelcampos.com


 about.me

On Thu, May 2, 2019 at 9:17 AM Steven Wong <stevenw...@gmail.com> wrote:
--
If you received an answer that worked for you, please be kind and reply to let everybody knows it worked.
http://cloudsimplus.org
---
You received this message because you are subscribed to the Google Groups "CloudSim Plus" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cloudsim-plu...@googlegroups.com.

Steven Wong

unread,
May 4, 2019, 3:51:47 AM5/4/19
to CloudSim Plus
Dear Mr. Manoel,

Here's another simplified example, sorry about the messy output there.
So here, I intend to destroy VM ID: 0 in 23 seconds during simulation runtime.

 # 23.06: Intention destroying Vm 0/Broker 2

But as you can see at the 35 seconds during simulation runtime, i have submitted three cloudlet
INFO  36.06420161219916: DatacenterBrokerSimple2: Sending Cloudlet 6 to Vm 2 in Host 0/DC 1.
INFO  
36.06420161219916: DatacenterBrokerSimple2: Sending Cloudlet 7 to Vm 0 in Host 0/DC 1.
INFO  
36.06420161219916: DatacenterBrokerSimple2: Sending Cloudlet 8 to Vm 1 in Host 0/DC 1.

Although I have already destroyed VM ID: 0 at 23 during simulation runtime. Still, he broker assign the cloudlet to VM ID : 0.

Hope this example could highlight the issue.
example.java

Manoel Campos

unread,
May 4, 2019, 4:57:02 PM5/4/19
to clouds...@googlegroups.com
Hello Steven,
Thanks for reporting.
I've just fixed the issue. 

Manoel Campos da Silva Filho Software Engineer

Computer Science and Engineering Ph.D. Student at University of Beira Interior (Portugal)

Professor at Federal Institute of Education, Science and Technology of Tocantins (Brazil)

http://manoelcampos.com


 about.me

--
If you received an answer that worked for you, please be kind and reply to let everybody knows it worked.
http://cloudsimplus.org
---
You received this message because you are subscribed to the Google Groups "CloudSim Plus" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cloudsim-plu...@googlegroups.com.
To post to this group, send email to clouds...@googlegroups.com.
Visit this group at https://groups.google.com/group/cloudsim-plus.

Steven Wong

unread,
May 5, 2019, 1:37:48 AM5/5/19
to CloudSim Plus
Dear Mr.Manoel,

All work as intended for my simulation here.

Thanks for your time to help me during your weekend. Much appreciated!

Good luck with everything!  
To unsubscribe from this group and stop receiving emails from it, send an email to clouds...@googlegroups.com.

Manoel Campos

unread,
May 5, 2019, 9:50:56 AM5/5/19
to clouds...@googlegroups.com
You're welcome.

To unsubscribe from this group and stop receiving emails from it, send an email to cloudsim-plu...@googlegroups.com.

To post to this group, send email to clouds...@googlegroups.com.
Visit this group at https://groups.google.com/group/cloudsim-plus.
Reply all
Reply to author
Forward
0 new messages