시뮬레이터/클라우드심

Cloudsim + 에서 PlanetlabVM 워크로드 돌리는 법

Dong Uk Won 2022. 9. 7. 08:49
반응형

1. firstly download a workload from this site  for example :

http://www.cs.huji.ac.il/labs/parallel/workload/logs.html2

 

Parallel Workloads Archive: Logs

Logs of Real Parallel Workloads from Production Systems This page points to detailed workload logs collected from large scale parallel systems in production use in various places around the world. The original logs come in different formats. Information ab

www.cs.huji.ac.il

 

2. add it in your example like this:

private static List createCloudLets() throws FileNotFoundException{

/** The cloudlet list. */

List cloudletList;

//Read Cloudlets from workload file in the swf format

WorkloadFileReader workloadFileReader = new WorkloadFileReader("E:\\research\\olimatco-ut_cloudsim-01a738e02d92\\olimatco-ut_cloudsim-01a738e02d92\\Simulation Files\\HPC2N-2002-2.1-cln2.swf", 1);

//generate cloudlets from workload file

cloudletList = workloadFileReader.generateWorkload();

return cloudletList;

}

 

 


기존의 cloudsim plus에서는 planetlab trace, google trace 예제를 기본적으로 제공함.