Implement Cloudlet Scheduling Algorithm in CloudSim

1,757 views
Skip to first unread message

massak

unread,
Mar 16, 2014, 10:21:17 PM3/16/14
to clou...@googlegroups.com
Hello Mario and Other CloudSim users
I want to implement SJFC algorithm in my work, the aim of this Scheduling is to achieve better power consumption and compare the result with other power mechanisms(like DVFS and others) provided in the cloudsim.
Is it possible to do that? If so, Is there any one can help and guide me in this idea?
It urgent 
Thank you

Mario Henrique Souza Pardo

unread,
Mar 16, 2014, 11:41:31 PM3/16/14
to clou...@googlegroups.com
Hello Dear Massak,

   I'm not an understood person in that research field (SJFC scheduling), but what I know is, that to implement this scheduling algorithm you'll have to create a new VM Allocation Policy. This allocation policy need to have the rules of SJFC scheduling and implement the abstract method required by extension of VmAllocationPolicy class.

I have looked in CloudSim Power examples and I saw some codes that provides some ideas about how to implement this strategy... for instance, execute dvfs.java class and you will discover how to inform CloudSim about your scheduling algorithm for energy consumption using a String value. This class instantiates a new RandomRunner object that receive all program configuration arguments and then pass all of them to its superclass called RunnerAbstract... inside RunnerAbstract you'll find a method called getVmAllocationPolicy that handle Power VmAllocationPolicy selection.

In few words, you will create your own Vm Allocation Policy containing SJFC algorithm prerrogatives, after it, you'll update RunnerAbstract adding your new option.

Start running these examples and understanding how simulator performs, after create your code from one single implementation and, level-by-level, go up the complexity... I'm sure that you will learn and achieve.

Have a good start!!

Regards!
Mário Pardo
ICMC-USP / São Carlos / Brazil
Research Gate Profile [LINK]



--

---
You received this message because you are subscribed to the Google Groups "cloudsim" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cloudsim+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

John Mittasila

unread,
Mar 25, 2014, 2:15:09 AM3/25/14
to clou...@googlegroups.com, mhsp...@gmail.com

Hello Mario and Other CloudSim user

pIease it possible to do the idea of my reach work. I try to implement to an algorithm is “ to provide security algorithm for virtual machine migration in cloud computing”. If any algorithm in the same one give that. And I try to compare the result for new one

It very urgent

Thank you

sakher ahmed

unread,
Apr 5, 2014, 5:45:46 AM4/5/14
to clou...@googlegroups.com
what does SJFC  stands for?

Message has been deleted

raja rajeswari

unread,
Apr 5, 2014, 8:22:56 AM4/5/14
to clou...@googlegroups.com
Shortest Job First ?

Mario Henrique Souza Pardo

unread,
Apr 8, 2014, 6:53:50 PM4/8/14
to clou...@googlegroups.com
Hi Dear Raja,

   yeah, that's it, buddy.

      Regards!
Mário Pardo
ICMC-USP / São Carlos / Brazil
Research Gate Profile [LINK]

   


2014-04-05 9:22 GMT-03:00 raja rajeswari <gayathris...@gmail.com>:
Shortest Job First ?
Reply all
Reply to author
Forward
0 new messages