Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the relation between CPU utilization and energy consumption?

Tags:

What is the function that describes the relation between CPU utilization and consumption of energy (electricity/heat wise).

I wonder if it's linear/sub-linear/exp etc..

I am writing a program that decreases the CPU utilization/load of other programs and my main concern is how much do I benefit energy wise..

Moreover, my server is mostly being used as a web-server or DB in a data-center (headless).

In case the data center need more power for cooling I need to consider that as well.. I also need to know what is the effect of CPU utilization on the entire machine power consumption ..

like image 318
DuduAlul Avatar asked May 25 '11 18:05

DuduAlul


People also ask

What is the relationship between CPU utilization and memory?

CPU time is used to process data. There is no relationship between CPU and memory usage. A process can occupy all CPUs of a system but use only a minimal amount of memory. Also, a process can allocate all memory available on a system but only use minimal CPU time.

Does CPU affect power usage?

In applications where the computer is often heavily loaded, such as scientific computing, performance per watt (how much computing the CPU does per unit of energy) becomes more significant. CPUs typically use a significant portion of the power consumed by the computer.

Does higher CPU use more electricity?

More watts is not better or worse — it's just the amount of power it takes to run the processor at full capacity. However, the higher the number, the more your electricity bill is ticking up and the more heat is being generated.

What happens during CPU utilization?

CPU utilization refers to a computer's usage of processing resources, or the amount of work handled by a CPU. Actual CPU utilization varies depending on the amount and type of managed computing tasks. Certain tasks require heavy CPU time, while others require less because of non-CPU resource requirements.


2 Answers

Here you can find a short ppt answering your questions, and providing additional info.

Although there is no Copyright notice in the ppt, the work is probably protected, so I will copy here only three graphs relevant to your main question and follow-ups in comments.


enter image description here


enter image description here


enter image description here


HTH!

like image 80
Dr. belisarius Avatar answered Sep 19 '22 14:09

Dr. belisarius


For the CPU alone linear would be the most likely.
It gets complicated with CPUs that can reduce the clock speed under low load (like laptops) but for a server it's probably a good approximation.
Remember though that the CPU isn't the only component - you have to multiply by the percentage of power the CPU is using compared to the entire system.

like image 38
Martin Beckett Avatar answered Sep 18 '22 14:09

Martin Beckett