Recently I will research the cloud task scheduling in cloudsim. I had been realized myself Algorithm, but I met a problem when I compare to FCFS algorithm. In code, I create five cloudlet that have diffrent pesNumber。 I used CloudletSchedulerSpaceShared() to prevent the cloudlet over the pesNumber of vm. I create a vm which has 10 PesNumber on a Host. When I submit the cloudlet to vm, the result I found it isn't in order by FCFS .
Just like in the pic bellow:
the number of pesNumber per cloudlet is {5,6,2,4,9}. the length of MI is {20000,15000,50000,15000,15000}
the number of pesNumber of vm is 10.
The principle of FCFS should be execute in order just like cloudlet0,(cloudlet1&cloudlet2),cloudlet3,cloudlet4. That cloudlet1 and 2 execute together.
BUT~the order of result is (cloudlet0&cloudlet2),cloudlet1,cloudlet3,cloudlet4. Why cloudlet2 can execute in advanced? I need realize the FCFS in my own thinking. can u help me?
Thank u very much!
Recently I will research the cloud task scheduling in cloudsim. I had been realized myself Algorithm, but I met a problem when I compare to FCFS algorithm. In code, I create five cloudlet that have diffrent pesNumber。 I used CloudletSchedulerSpaceShared() to prevent the cloudlet over the pesNumber of vm. I create a vm which has 10 PesNumber on a Host. When I submit the cloudlet to vm, the result I found it isn't in order by FCFS . Just like in the pic bellow: the number of pesNumber per cloudlet is {5,6,2,4,9}. the length of MI is {20000,15000,50000,15000,15000} the number of pesNumber of vm is 10. The principle of FCFS should be execute in order just like cloudlet0,(cloudlet1&cloudlet2),cloudlet3,cloudlet4. That cloudlet1 and 2 execute together. BUT~the order of result is (cloudlet0&cloudlet2),cloudlet1,cloudlet3,cloudlet4. Why cloudlet2 can execute in advanced? I need realize the FCFS in my own thinking. can u help me? Thank u very much!![example](https://cloud.githubusercontent.com/assets/18651129/19965908/3442d890-a204-11e6-92f3-b455712b82fb.jpg)