Closed GoogleCodeExporter closed 9 years ago
[deleted comment]
To use WorkloadFileReader you have to download a workload in the Standard
Workload Format. You can download these files from
http://www.cs.huji.ac.il/labs/parallel/workload/.
The CloudSim project contains one such file in src/test/LCG.swf.gz. The
following code read this file and generates a list of cloudlets:
WorkloadModel r = new WorkloadFileReader("src" + File.separator + "test" +
File.separator + "LCG.swf.gz", 1);
List<Cloudlet> cloudletlist = r.generateWorkload();
With the list of cloudlets in hand you can submit them to a datacenter like you
normally do (see other CloudSim examples).
Original comment by williamv...@gmail.com
on 9 May 2012 at 12:13
Original comment by anton.be...@gmail.com
on 9 May 2012 at 12:23
Original comment by rodrigo.calheiros
on 3 Aug 2012 at 6:29
Can u help with some sample code to read the workload?
Original comment by deepan...@gmail.com
on 20 Aug 2014 at 1:41
Original issue reported on code.google.com by
zakarea....@gmail.com
on 28 Apr 2012 at 4:39