Re: cpufreq doesn't seem to work in Intel Q9300

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Arjan van de Ven
Date: Monday, August 11, 2008 - 7:11 am

On Mon, 11 Aug 2008 17:02:06 +0300
Adrian Bunk <bunk@kernel.org> wrote:


yes you're missing quite a few things...
lets build this up

1) when the cpu is idle (as in "idle loop C states/hlt"; p4_clockmod
doesn't mean anything.. the clock is stopped not just skipped.
2) when the cpu is executing code (eg non-idle), it takes more power
for a unit of time than it takes when it's idle
3) when the cpu is in thermal throttle (p4_clockmod) and does a
throttle cycle, it'll take less power for that cycle than a full
execution (at least of the power intensive type of instruction), but
more than if it would have been in idle.

now lets take your "Light load" example (light could mean anything less
than 100% cpu use for all I care) and lets assume a 50% throttle (just
because it makes the explenation simpler, not fundamental)

in 50% thermal throttle, after every cycle a throttle cycle is
inserted, this means that code that gets executed will take 2x as long
basically.

take your lightly loaded case, and lets say you have 20% CPU
utilization in the unthrottled case (again, random number, works with
any number). Now with the thermal throttle, you suddenly take 40%.

so before you had for one second "20% expensive, 80% low power" 
now you have for one second "20% expensive, 20% throttle power, 60% low
power"

since throttle power is higher than low/idle power.. you lose.

-- 
If you want to reach me at my work email, use arjan@linux.intel.com
For development, discussion and tips for power savings, 
visit http://www.lesswatts.org
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: cpufreq doesn't seem to work in Intel Q9300, Alan Jenkins, (Thu Aug 7, 12:24 pm)
Re: cpufreq doesn't seem to work in Intel Q9300, Zhao Yakui, (Thu Aug 7, 6:32 pm)
Re: cpufreq doesn't seem to work in Intel Q9300, Alan Jenkins, (Fri Aug 8, 1:41 am)
Re: cpufreq doesn't seem to work in Intel Q9300, Thomas Renninger, (Fri Aug 8, 5:30 am)
Re: cpufreq doesn't seem to work in Intel Q9300, Thomas Renninger, (Sat Aug 9, 11:59 am)
Re: cpufreq doesn't seem to work in Intel Q9300, Thomas Renninger, (Sat Aug 9, 12:30 pm)
Re: cpufreq doesn't seem to work in Intel Q9300, Zhao Yakui, (Sun Aug 10, 6:33 pm)
Re: cpufreq doesn't seem to work in Intel Q9300, Zhao Yakui, (Sun Aug 10, 10:24 pm)
Re: cpufreq doesn't seem to work in Intel Q9300, Alan Cox, (Mon Aug 11, 12:00 am)
Re: cpufreq doesn't seem to work in Intel Q9300, Andi Kleen, (Mon Aug 11, 3:55 am)
Re: cpufreq doesn't seem to work in Intel Q9300, Arjan van de Ven, (Mon Aug 11, 4:22 am)
Re: cpufreq doesn't seem to work in Intel Q9300, Alexey Dobriyan, (Mon Aug 11, 4:38 am)
Re: cpufreq doesn't seem to work in Intel Q9300, Matthew Garrett, (Mon Aug 11, 4:53 am)
Re: cpufreq doesn't seem to work in Intel Q9300, Andi Kleen, (Mon Aug 11, 6:23 am)
Re: cpufreq doesn't seem to work in Intel Q9300, Adrian Bunk, (Mon Aug 11, 7:02 am)
Re: cpufreq doesn't seem to work in Intel Q9300, Matthew Garrett, (Mon Aug 11, 7:07 am)
Re: cpufreq doesn't seem to work in Intel Q9300, Arjan van de Ven, (Mon Aug 11, 7:11 am)
Re: cpufreq doesn't seem to work in Intel Q9300, Arjan van de Ven, (Mon Aug 11, 7:12 am)
Re: cpufreq doesn't seem to work in Intel Q9300, Adrian Bunk, (Mon Aug 11, 9:03 am)
Re: cpufreq doesn't seem to work in Intel Q9300, Arjan van de Ven, (Mon Aug 11, 9:20 am)
Re: cpufreq doesn't seem to work in Intel Q9300, Adrian Bunk, (Mon Aug 11, 9:28 am)
Re: cpufreq doesn't seem to work in Intel Q9300, Arjan van de Ven, (Mon Aug 11, 9:44 am)
Re: cpufreq doesn't seem to work in Intel Q9300, Dominik Brodowski, (Mon Aug 11, 12:33 pm)
Re: cpufreq doesn't seem to work in Intel Q9300, Arjan van de Ven, (Mon Aug 11, 4:58 pm)
Re: cpufreq doesn't seem to work in Intel Q9300, Dominik Brodowski, (Tue Aug 12, 12:03 pm)
Re: cpufreq doesn't seem to work in Intel Q9300, Adrian Bunk, (Tue Aug 12, 12:27 pm)
Re: cpufreq doesn't seem to work in Intel Q9300, Arjan van de Ven, (Tue Aug 12, 12:59 pm)