I am working on VM live migration strategy. In order to have live migration, I have to give workload to the environment. Currently I am using cloudsim, Can any one suggest the way to add external workload in cloud sim?
SUPPORT FOR EXTERNAL WORKLOADS. External workloads written in the Standard Workload Format (SWF, from the Parallel Workload Archive) can be loaded and read by CloudSim. Relevant classes are WorkloadModel and WorkloadFileReader ('util' package).
CloudSim Plus has an example of how to use workload traces in SWF format at https://github.com/manoelcampos/cloudsim-plus/blob/master/cloudsim-plus-examples/src/main/java/org/cloudsimplus/examples/traces/SwfWorkloadFormatExample1.java
An SWF workload can be loaded by calling reader = SwfWorkloadFileReader.getInstance(filePath, VM_MIPS)
where:
filePath is the relative of an SWF workload file inside the resources directory or its full path;
VM_MIPS is the MIPS capacity of the VM where the Cloudlet is supposed to run. Check the class documentation for more details.
It also fixes some issues and includes some features, such as:
Can Anyone suggest me how to use generated cloudlets from this link https://www.researchgate.net/deref/http%3A%2F%2Fwww.cs.huji.ac.il%2Flabs%2Fparallel%2Fworkload%2Flogs.html? I have got the following results
# Created 51987 Cloudlets for DatacenterBrokerSimple1
# Created 21602 VMs for the DatacenterBrokerSimple1
# Added 10801 Hosts to Datacenter 2
21602 VMs from Broker 1 placed into some Host.
How to test this for resource utilization by applying VMAllocation policy?
Please suggest me step by step procedure to carry out the experiment.
I am working on VM live migration strategy. I wrote one simple client-server program using java. The client requests a value from the server and the server will return the value as per the client's request. The value is updating and in each call, the client will get new. This client activity is going and in between VM migration will be called.
Can we simulate this scenario using Cloudsim? I need to put the workload as this client activity.