I just started a small research work and in cloudsim and I need to modify the task scheduling algorithms which are already implemented there. I found various files on Power cloudsim-3.0.3\examples\org\cloudbus\cloudsim\examples. Most of them are on Load Balancing. pls help me out!
Scheduling algorithms in CloudSim are implemented by extending the CloudletScheduler
class. For instance, take a look a the CloudletSchedulerTimeShared
scheduler and how it is used in CloudSimExample3. It is important that you understand the dynamics of this simple example before writing your first scheduler.
After that, follow these steps:
CloudletScheduler
.var vm = new Vm(vmid, brokerId, mips, pesNumber, ram, bw, size, vmm, new YourScheduler());