Reputation: 585
I'm trying to implement a Dynamic Voltage and Frequency Scaling (DVFS) algorithm which changes the operating frequency of the CPU based on the CPU's load. The system I'm working on is an Intel core-i5 processor running Ubuntu 14.04.
My program works and it selects and then sets the CPU's frequency as expected. However, I'm curious how the CPU selects the operating voltage.
Upvotes: 0
Views: 776
Reputation: 1511
You're talking about P-states. P-states are a voltage/frequency pairing. The advantage of reducing voltage is that leakage current decreases, saving power. On the other hand, reducing voltage increases switching time, requiring a lower frequency.
Here are my guesses concerning your questions.
Upvotes: 1