Research breakthrough possible @S-Logix

Office Address

  • 2nd Floor, #7a, High School Road, Secretariat Colony Ambattur, Chennai-600053 (Landmark: SRM School) Tamil Nadu, India
  • +91- 81240 01111

Social List

How to allocate a task group to a single VM?

  • ** Get the Cloudlets created list
    int csize=getCloudletList().size();
    for (int i=0;i<csize;++i) {
    **with total number of created cloudlets, group the tasks with length similarity or with any other idea, add them in a list and add in this array.
    taskList[i]=each group/list of tasks/cloudlet
    ** Let “vi” be the single VM in which the task group is going to be assigned.
    for(int k=0;k<taskList[i].size();k++){
    Cloudlet cl=(Cloudlet)taskList[i].get(k);
    Log.printLine(CloudSim.clock()+": "+getName()+": Sending cloudlet "
    +cl.getCloudletId()+" to VM #"+vi.getId());
    sendNow(getVmsToDatacentersMap().get(vi.getId()), CloudSimTags.CLOUDLET_SUBMIT,cl);