The Effect of Changing Frequency on CPU Energy Usage
CSEF · 2012 Electronics & Electromagnetics
Overview
Objectives/Goals The purpose of this experiment was to find whether it is more energy efficient to run a CPU at a high frequency (running a task quickly, then having the CPU sleep for the remainder of a set period of time) or at a low frequency (running the task more slowly, then having the CPU sleep for a shorter amount of time or not sleep at all). Methods/Materials A program was written for the DSP (digital signal processor) CPU of the OMAPL138 system-on-a-chip to characterize its power usage while busy (actively computing); it was run, and a multimeter was used to measure power draw for four different frequencies: 100 MHz, 200 MHz, 300 MHz, and 456 MHz, and the results were recorded. A similar program was used to measure its power usage while sleeping. Next, the number of cycles needed to go to sleep and the number of cycles needed to wake up were measured. Then the total actual energy used was measured. Finally, an equation was written to model the energy usage, and the theoretical values were compared to the measured quantities to verify the validity of the equation. Results When testing for a period of 50 ms, the highest frequency, 456 MHz, used the least energy whenever the number of cycles was above 1,300,000. Below 1,300,000 cycles, 100 MHz used the least energy. When computing 5,000,000 cycles, 456 MHz used the least energy as long as the amount of time was below 190 ms; above this, 100 MHz used the least. Conclusions/Discussion In order to maximize energy efficiency, a dynamic clock rate is necessary. The highest frequency yields the lowest energy usage when the ratio of the period to the number of cycles is reasonably small. If the period is long and the task is short, the lowest frequency is best.
Summary statement
The purpose of this experiment was to find whether it is more energy efficient to run a CPU at a high frequency or at a low frequency, assuming the CPU is able to sleep.
Help received
Father provided equipment and documentation; mother helped with construction of board
Competition history
- CSEF 2012
Resources
Related projects
CSEF · 2003
Underclocking: For Fun and Profit
CSEF · 2010
An Analysis of Clock Rate and Thermal Scaling in Modern Mutli-Core Microprocessors
CSEF · 2014
Cycle Speed: Testing Computer Processing Speed
CSEF · 2011
Green Your PC: How Much Power Do the Major Parts of a Computer Consume?
CSEF · 2010
Prizefight Processors vs. Muscular Memory
CSEF · 2009
The Effect of Overclocking a Computer and the Use of Different Types of RAM on a Computer's Speed and Stability
CSEF · 2009
RAM vs. CPU: A Study on the Effects of RAM and CPU on Computer Speed and Performance
CSEF · 2007
Watts Up with Fuel Cells? The Effect of Extreme Temperatures on the Power Output of Direct Methanol Fuel Cells
Closest projects by meaning, across every fair and year in the corpus.
Browse more like this
Source: California Science & Engineering Fair public projects