I am a student that learning cloudsim plus. I learn from example code and I donot know how some values are calculated.
1.
In “VmRelativeHostResourceUtilizationExample”,
it use: “host.getRam().getPercentUtilization()*100” and “host.getBw().getPercentUtilization()*100)”
to get total host RAM/bw utilization. I think the total host RAM/bw utilization
is the sum of two vm’s RAM/bw utilizations, but the result always 100%, even I change
the initialUtilizationPercent in UtilizationModelDynamic.
2. In “HostsCpuUsageExample”, a host have a core that MIPS=2000, a VM in this host have a core that MIPS=1000. A cloudlet run in this vm that the use UtilizationModelFull. I think the CPU Utilization mean is 1000/2000=50%, but the result show it is 25%, by call: “host.getCpuUtilizationStats().getMean()*100”
(two example in package:resourceusage)