How to set non-relative submission delay for Cloudlets in CloudSim Plus?

2 views
Skip to first unread message

Chigozie A.

unread,
Mar 18, 2020, 2:26:16 PM3/18/20
to CloudSim Plus

I'd like to delay the arrival of the Cloudlet so that they arrive later. I know about setSubmissionDelay() but I wanted a submission delay that is not relative to the current simulation time like setSubmissionDelay() is. For example, if a cloudlet has a delay of 5 seconds it will be created exactly at that time and not at something like 5.10 seconds (.10 seconds being from the minimum time between events). I've thought about using a listener to listen and intercept when a cloudlet is about to be submitted to a VM to grab time at that moment (it would likely by .10 or some small-time value), then subtract my delay time by that time (current delay of a cloudlet - current simulation time = non-relative submission delay). 

The issue is I can't find a listener that does this. Looking at the console output below makes me think that maybe a listener or some kind of method is used to print, a cloudlet is being sent before it is. If something like this exists, I'd like to use it. Any access to documentation or repositories similar goals will be highly appreciated. I posted this question on Stack Overflow but I didn't get any response so I thought I'd have better luck here. The reason I want to do this is because for research purposes. It's because different cloud computing simulations may have different relative times for cloudlet arrival. In this way I'm wondering if it's possible for a cloudlet to be created at a specific time (non relative). Let me know if this is possible or not recommended. 

Stack Overflow Post: https://stackoverflow.com/questions/60688449/how-to-set-non-relative-submission-delay-for-cloudlets-in-cloudsim-plus

Manoel Campos

unread,
Mar 19, 2020, 8:15:33 AM3/19/20
to clouds...@googlegroups.com
Check the answer at stack overflow, and please don't forget to upvote there.
Then, give CloudSim Plus a star to help promoting the project.

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 view this discussion on the web visit https://groups.google.com/d/msgid/cloudsim-plus/919ee796-be85-4b05-b920-7e408bdcd792%40googlegroups.com.

Chigozie A.

unread,
Mar 20, 2020, 4:11:03 PM3/20/20
to CloudSim Plus

Hi, I ended up not needing that precision with the delay but thank you for your answer. I already stared the simulation tool on GitHub. I marked the answer as complete on Stack Overflow and upvoted you. Thanks a lots, your simulation tool is amazing! 


On Thursday, March 19, 2020 at 8:15:33 AM UTC-4, Manoel Campos wrote:
Check the answer at stack overflow, and please don't forget to upvote there.
Then, give CloudSim Plus a star to help promoting the project.

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 Wed, Mar 18, 2020 at 3:26 PM Chigozie Asikaburu <chigozie...@gmail.com> wrote:

I'd like to delay the arrival of the Cloudlet so that they arrive later. I know about setSubmissionDelay() but I wanted a submission delay that is not relative to the current simulation time like setSubmissionDelay() is. For example, if a cloudlet has a delay of 5 seconds it will be created exactly at that time and not at something like 5.10 seconds (.10 seconds being from the minimum time between events). I've thought about using a listener to listen and intercept when a cloudlet is about to be submitted to a VM to grab time at that moment (it would likely by .10 or some small-time value), then subtract my delay time by that time (current delay of a cloudlet - current simulation time = non-relative submission delay). 

The issue is I can't find a listener that does this. Looking at the console output below makes me think that maybe a listener or some kind of method is used to print, a cloudlet is being sent before it is. If something like this exists, I'd like to use it. Any access to documentation or repositories similar goals will be highly appreciated. I posted this question on Stack Overflow but I didn't get any response so I thought I'd have better luck here. The reason I want to do this is because for research purposes. It's because different cloud computing simulations may have different relative times for cloudlet arrival. In this way I'm wondering if it's possible for a cloudlet to be created at a specific time (non relative). Let me know if this is possible or not recommended. 

Stack Overflow Post: https://stackoverflow.com/questions/60688449/how-to-set-non-relative-submission-delay-for-cloudlets-in-cloudsim-plus

--
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 clouds...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages