Cloudslab / cloudsim

CloudSim: A Framework For Modeling And Simulation Of Cloud Computing Infrastructures And Services
http://www.cloudbus.org/cloudsim/
810 stars 492 forks source link

the FCFS of cloudlet #83

Open Aiolia1992 opened 7 years ago

Aiolia1992 commented 7 years ago

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

bowang1993 commented 6 years ago

Hello,I all work on task scheduling in cloudsim. But i don't know how to implement a dag task on different datacenter. can you help me? Thanks .