Skip to content

Instantly share code, notes, and snippets.

@ehzawad
Created May 28, 2020 03:58
Show Gist options
  • Save ehzawad/eff08354f225f6068525ff7958c4b1da to your computer and use it in GitHub Desktop.
Save ehzawad/eff08354f225f6068525ff7958c4b1da to your computer and use it in GitHub Desktop.
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package examples.org.cloudbus.cloudsim.examples;
/**
*
* @author ehzawad
*/
public class CloudSimExampleInput1 {
public static String allocationPolicy = "bestfit";
public static int totalVms = 10;
public static int totalHosts = 10;
public static int vmTotalCpus = 10;
public static int vmMaxCpus = 5; // if you use random number cpu
public static int vmCpuMips = 1000;
public static int vmTotalMem = 1000;
public static int vmTotalBW = 1000;
public static int vmTotalStorage = 1000;
public static int hostTotalCpus = 10;
public static int hostCpusMips = 1000;
public static int hostTotalMem = 10000;
public static int hostTotalBW = 10000;
public static int hostTotalStorage = 10000;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment