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ı: