Queueing Model implementation at edge_orchestrator

195 views
Skip to first unread message

navi...@gmail.com

unread,
Jan 8, 2021, 5:12:42 AM1/8/21
to EdgeCloudSim
Hi Cagatay,

I want to implement a Queueing model at edge node, as far as I know in DefaultMobileDeviceManager.java on line no. 191, we are sending task one by one. 

But I want to hold the generated tasks in one/two queues at edge node. So that, task can be picked up from the queues on some technique (like. priority first, early expiry time ). 

Thanks
Naveen



Cagatay Sonmez

unread,
Aug 12, 2021, 7:57:14 AM8/12/21
to EdgeCloudSim
Hi Naveen

The computational delay is calculated by CloudSim.
In cloudsim, the cloudlet (task) schedular can be time shared or space shared.
Space shared scheduling uses a single queue, executes one task at a time, and does not allow sharing of processing units.
Therefore, the incoming tasks wait in a single queue if another task is being processed.
On the other hand, the timesharing schedule executes all incoming tasks in parallel, so it doesn't use any queues.
We use space shared schedular (CloudletSchedulerTimeShared) by default as you can see line 95 of DefaultEdgeServerManager.java:

//VM Parameters
EdgeVM vm = new EdgeVM(vmCounter, brokerId, mips, numOfCores, ram, bandwidth, storage, vmm, new CloudletSchedulerTimeShared());

As you said, DefaultMobileDeviceManager.java creates and sends the tasks one by one.
However, the tasks are waiting in the queue managed by CloudSim (regardless of how you submit the tasks).
I think you need to write a new CloudletScheduler for Vm.
Unfortunately, I can't give you more detailed information about this, since it is highly related to CloudSim and I don't have enough experience with CloudletScheduler.

I hope this gives you an idea for the solution,
Cagatay

8 Ocak 2021 Cuma tarihinde saat 13:12:42 UTC+3 itibarıyla navi...@gmail.com şunları yazdı:

navi...@gmail.com

unread,
Oct 13, 2021, 6:32:59 AM10/13/21
to EdgeCloudSim

Thanks for the suggestion. I have implemented a new CloudletProbabilisticScheduler.

Nothy Masango

unread,
Oct 19, 2021, 7:52:18 AM10/19/21
to EdgeCloudSim
Hey, can you please assist me with my implementation.

Thank you

Reply all
Reply to author
Forward
0 new messages