Formula for Power Consumption in Cloudsim

2,053 views
Skip to first unread message

massak

unread,
Apr 16, 2014, 9:54:50 AM4/16/14
to clou...@googlegroups.com
Hello Mario and other Users
I want  to know formula does CloudSim use to calculate power consumption?
I can only see the result of power consumed in the simulation.
Is there any mathematical formula?
Urgent please
Thank you

Shruthi K

unread,
Apr 16, 2014, 12:40:15 PM4/16/14
to clou...@googlegroups.com

Hi all please let me know the formula for getactual cpu time in cloudsim please because for every successive simulation it ll just show 400,800,1200 like that

--

---
You received this message because you are subscribed to the Google Groups "cloudsim" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cloudsim+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

massak

unread,
Apr 20, 2014, 10:02:43 PM4/20/14
to clou...@googlegroups.com
Hello Mario

I want  to know the power model and the formula does CloudSim use to calculate power consumption ?

Zahra Bagheri

unread,
Apr 22, 2014, 6:58:18 AM4/22/14
to clou...@googlegroups.com
Hi,
You can find the formulas to calculate power consumption in org.cloudbus.cloudsim.power.models 
and the method getEnergyLinearInterpolation in powerHost class.

Mario Henrique Souza Pardo

unread,
Apr 24, 2014, 9:11:40 PM4/24/14
to clou...@googlegroups.com
Hello Fellow,

     so, I don't have much experience with Power Consumption in CloudSim, but I asked to another PhD colleague mine from ICMC-USP and he explained these calculation as following: CloudSim uses the PlanetLab energy model for calculate the consumption, is more or less as... suppose that a  cloudlet was submitted to a VM allocated in a Host and VM is using 1 CPU at 40% of workload for one Hour... the calculation done is: get the watts value of used PowerModel for the CPU Architecture used by Hosts from your simulation program and multiply it for the execution time and sum it to the amount of consumed energy.

   This is all I could discover for a while.

   Hope that this tip can be useful for you.

Regards!
Mário Pardo
ICMC-USP / São Carlos / Brazil
Research Gate Profile [LINK]




--

SHH

unread,
Apr 24, 2015, 4:05:55 PM4/24/15
to clou...@googlegroups.com
Hi , i want to implement tabu search algorithm for reducing power consumption by Vm placement , but I don't know how to start! .....  is there any body to help me or send me a sample code?    Email: seye...@gmail.com

Binal Parekh

unread,
Jan 22, 2016, 11:38:11 AM1/22/16
to cloudsim


hello mam

i am working on minimize power consumption . i m using cloudsim
there is different power model available 
if i want to find power consumption then which model or class are best like powerdatacenter or nonpowerdatacenter ?

jignesh lakhani

unread,
Jan 23, 2016, 6:40:51 AM1/23/16
to clou...@googlegroups.com
hi,

you have to use powerdatacenter

thanks,

Jignesh Lakhani

--

---
You received this message because you are subscribed to the Google Groups "cloudsim" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cloudsim+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
--
Thanks & Regards

Jignesh Lakhani

Binal Parekh

unread,
Jan 31, 2016, 8:47:01 AM1/31/16
to cloudsim




thank you sir

i am also getting error in gettotalutlizationod cpu every time it return 0 so how to use this method?
and i am using cloudlet.getutilizationofcpu() method but every it give different value 

oshin sharma

unread,
Jan 31, 2016, 11:19:10 PM1/31/16
to cloudsim
hello sir
can you please tell me that what is meaning of safety parameter in staticthreshold, IQR,LR policy? and how we can use these safety parameter?

YASH VIJAY

unread,
May 2, 2016, 11:03:38 PM5/2/16
to cloudsim
Hello! 

Could you tell me how to get the watts value of used PowerModel?

Regards,
Yash

Zahra Bagheri

unread,
May 3, 2016, 12:19:54 PM5/3/16
to clou...@googlegroups.com

Hello,
In every PowerModel classes there is a getPower method which returns the power (in Watt) consumed by the host based on the current utilization of cpu.



Sent using CloudMagic Email
You received this message because you are subscribed to a topic in the Google Groups "cloudsim" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/cloudsim/TolYF4Nry1w/unsubscribe.
To unsubscribe from this group and all its topics, send an email to cloudsim+u...@googlegroups.com.

Sara

unread,
May 30, 2016, 5:13:32 PM5/30/16
to cloudsim
Please, more detail. how calculate power consumption of one data center ,one host ,a lot of VMs and a lot of Cloudlets  

SS

unread,
Sep 8, 2020, 12:03:04 AM9/8/20
to cloudsim
Please check the following link.Hope it finds you well.
http://www.cloudbus.org/cloudsim/doc/api/org/cloudbus/cloudsim/power/PowerHost.html

Hamed Akrami

unread,
Sep 8, 2020, 7:11:26 AM9/8/20
to clou...@googlegroups.com

image.png
Hello, I've made the red arrow shown in the picture above, which in reference 4, I've underlined.
The reference is here:
[4] Ching-Hsien Hsu, Kenn D. Slagte, Shih-Chang Chen and Yeh-Ching
Chung, "Optimizing energy consumption with activity consolidation in
clouds." Information Sciences, vol.258, pp.452-462, 2014.


Vaneet Garg

unread,
Sep 29, 2020, 12:21:09 PM9/29/20
to clou...@googlegroups.com
Sir,
All the papers give formula of power calculation , and use energy in results.. 

1. can any one tell the difference between power and energy consumption? 

2. If same the state how these are same?
Thanks & Regards

Hamed Akrami

unread,
Sep 29, 2020, 2:51:53 PM9/29/20
to clou...@googlegroups.com
Hello, as you might know, energy and power are not the same concepts.
But there is a relation between them, which is described in physics clearly:
image.png
And unit used for Energy is Joule
and for power is Watt which can be Joule/second


Vaneet Garg

unread,
Sep 30, 2020, 12:04:31 AM9/30/20
to clou...@googlegroups.com
thanks sir



--
VANEET KUMAR
A.P. CSE
QIF-GOI
Jhanjeri,
Mohali


Hamed Akrami

unread,
Sep 30, 2020, 3:35:00 AM9/30/20
to clou...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages