questions about resource utilization

37 views
Skip to first unread message

艾可

unread,
Dec 7, 2022, 2:02:33 PM12/7/22
to CloudSim Plus: Cloud Simulation Framework
hello everyone

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.

3.png1.png

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”

2.png

(two example in package:resourceusage)

 

Reply all
Reply to author
Forward
0 new messages