Re: PROBLEM: Celeron Core

2008-01-21 Thread Robert Hancock
Tomasz Chmielewski wrote: Clock throttling is not likely to save your battery, unless you have tasks that are running at 100% CPU for an unlimited time or something, and you force your CPU to throttle. Normally most people have tasks that run and then the CPU idles - loading an email,

Re: PROBLEM: Celeron Core

2008-01-21 Thread Matthew Garrett
On Sun, Jan 20, 2008 at 11:06:02PM +0100, Tomasz Chmielewski wrote: > Aren't you forgetting about CPUfreq governors? Which mean: use the > maximum CPU frequency when the system is busy, throttle down (or lower > voltage) when the system is idle. > > So yes, throttling will save the battery. >

Re: PROBLEM: Celeron Core

2008-01-21 Thread Matthew Garrett
On Sun, Jan 20, 2008 at 11:06:02PM +0100, Tomasz Chmielewski wrote: Aren't you forgetting about CPUfreq governors? Which mean: use the maximum CPU frequency when the system is busy, throttle down (or lower voltage) when the system is idle. So yes, throttling will save the battery.

Re: PROBLEM: Celeron Core

2008-01-21 Thread Robert Hancock
Tomasz Chmielewski wrote: Clock throttling is not likely to save your battery, unless you have tasks that are running at 100% CPU for an unlimited time or something, and you force your CPU to throttle. Normally most people have tasks that run and then the CPU idles - loading an email,

Re: PROBLEM: Celeron Core

2008-01-20 Thread Daniel Barkalow
On Sun, 20 Jan 2008, Matt Mackall wrote: > Your usage of "overall power" here is wrong. Power is an instantaneous > quantity (1/s) like velocity, and you are comparing it to energy which > is not an instaneous quantity, more like distance. > > If we throttle the velocity of a car from 100km/h to

Re: PROBLEM: Celeron Core

2008-01-20 Thread Rafael J. Wysocki
On Sunday, 20 of January 2008, Tomasz Chmielewski wrote: > >> Clock throttling is not likely to save your battery, unless you have > >> tasks that are running at 100% CPU for an unlimited time or something, > >> and you force your CPU to throttle. Normally most people have tasks that > >> run

Re: PROBLEM: Celeron Core

2008-01-20 Thread Tomasz Chmielewski
Clock throttling is not likely to save your battery, unless you have tasks that are running at 100% CPU for an unlimited time or something, and you force your CPU to throttle. Normally most people have tasks that run and then the CPU idles - loading an email, displaying a web page, etc. Clock

Re: PROBLEM: Celeron Core

2008-01-20 Thread Rafael J. Wysocki
On Sunday, 20 of January 2008, Robert Hancock wrote: > Matt Mackall wrote: > > Your usage of "overall power" here is wrong. Power is an instantaneous > > quantity (1/s) like velocity, and you are comparing it to energy which > > is not an instaneous quantity, more like distance. > > > > If we

Re: PROBLEM: Celeron Core

2008-01-20 Thread Lennart Sorensen
On Sun, Jan 20, 2008 at 03:53:41PM +1030, David Newall wrote: > Then why would it run cooler? What generates the heat when not > throttled? What stops generating heat when throttled? And you say this > happens without reducing power consumption? I'm not convinced. I'm a > long way from that.

Re: PROBLEM: Celeron Core

2008-01-20 Thread Robert Hancock
Matt Mackall wrote: Your usage of "overall power" here is wrong. Power is an instantaneous quantity (1/s) like velocity, and you are comparing it to energy which is not an instaneous quantity, more like distance. If we throttle the velocity of a car from 100km/h to 50km/h, it'll obviously take

Re: PROBLEM: Celeron Core

2008-01-20 Thread Matt Mackall
On Sun, 2008-01-20 at 12:24 -0600, Robert Hancock wrote: > David Newall wrote: > > Andi Kleen wrote: > >>> Isn't it the case that an idle machine will use > >>> less power when throttled than when not? > >>> > >> No that is not the case (not even on old CPUs) > >> > > Then why would it

Re: PROBLEM: Celeron Core

2008-01-20 Thread Andi Kleen
> I believe that all throttling does is forcibly halt the CPU on a > particular duty cycle. This will reduce the rate of power consumption, > but reduces the CPU performance by a greater amount (since even at 100% > halted the CPU still consumes power) and so actually reduces performance > per

Re: PROBLEM: Celeron Core

2008-01-20 Thread Robert Hancock
David Newall wrote: Andi Kleen wrote: Isn't it the case that an idle machine will use less power when throttled than when not? No that is not the case (not even on old CPUs) Then why would it run cooler? What generates the heat when not throttled? What stops generating heat when

Re: PROBLEM: Celeron Core

2008-01-20 Thread Geert Uytterhoeven
On Sat, 19 Jan 2008, Andi Kleen wrote: > > So while throttling may be less efficient in terms of watt seconds used > > to compile something than running at full speed, it is incorrect to say > > it uses less power. One machine running for an hour throttled to 50% > > uses less power (and therefore

Re: PROBLEM: Celeron Core

2008-01-20 Thread Geert Uytterhoeven
On Sat, 19 Jan 2008, Andi Kleen wrote: So while throttling may be less efficient in terms of watt seconds used to compile something than running at full speed, it is incorrect to say it uses less power. One machine running for an hour throttled to 50% uses less power (and therefore less

Re: PROBLEM: Celeron Core

2008-01-20 Thread Robert Hancock
David Newall wrote: Andi Kleen wrote: Isn't it the case that an idle machine will use less power when throttled than when not? No that is not the case (not even on old CPUs) Then why would it run cooler? What generates the heat when not throttled? What stops generating heat when

Re: PROBLEM: Celeron Core

2008-01-20 Thread Robert Hancock
Matt Mackall wrote: Your usage of overall power here is wrong. Power is an instantaneous quantity (1/s) like velocity, and you are comparing it to energy which is not an instaneous quantity, more like distance. If we throttle the velocity of a car from 100km/h to 50km/h, it'll obviously take

Re: PROBLEM: Celeron Core

2008-01-20 Thread Andi Kleen
I believe that all throttling does is forcibly halt the CPU on a particular duty cycle. This will reduce the rate of power consumption, but reduces the CPU performance by a greater amount (since even at 100% halted the CPU still consumes power) and so actually reduces performance per

Re: PROBLEM: Celeron Core

2008-01-20 Thread Matt Mackall
On Sun, 2008-01-20 at 12:24 -0600, Robert Hancock wrote: David Newall wrote: Andi Kleen wrote: Isn't it the case that an idle machine will use less power when throttled than when not? No that is not the case (not even on old CPUs) Then why would it run cooler? What

Re: PROBLEM: Celeron Core

2008-01-20 Thread Lennart Sorensen
On Sun, Jan 20, 2008 at 03:53:41PM +1030, David Newall wrote: Then why would it run cooler? What generates the heat when not throttled? What stops generating heat when throttled? And you say this happens without reducing power consumption? I'm not convinced. I'm a long way from that. If

Re: PROBLEM: Celeron Core

2008-01-20 Thread Tomasz Chmielewski
Clock throttling is not likely to save your battery, unless you have tasks that are running at 100% CPU for an unlimited time or something, and you force your CPU to throttle. Normally most people have tasks that run and then the CPU idles - loading an email, displaying a web page, etc. Clock

Re: PROBLEM: Celeron Core

2008-01-20 Thread Rafael J. Wysocki
On Sunday, 20 of January 2008, Tomasz Chmielewski wrote: Clock throttling is not likely to save your battery, unless you have tasks that are running at 100% CPU for an unlimited time or something, and you force your CPU to throttle. Normally most people have tasks that run and then the

Re: PROBLEM: Celeron Core

2008-01-20 Thread Daniel Barkalow
On Sun, 20 Jan 2008, Matt Mackall wrote: Your usage of overall power here is wrong. Power is an instantaneous quantity (1/s) like velocity, and you are comparing it to energy which is not an instaneous quantity, more like distance. If we throttle the velocity of a car from 100km/h to

Re: PROBLEM: Celeron Core

2008-01-19 Thread Andi Kleen
On Sun, Jan 20, 2008 at 03:53:41PM +1030, David Newall wrote: > Andi Kleen wrote: > >> Isn't it the case that an idle machine will use > >> less power when throttled than when not? > >> > > > > No that is not the case (not even on old CPUs) > > > Then why would it run cooler? Ok for

Re: PROBLEM: Celeron Core

2008-01-19 Thread David Newall
Andi Kleen wrote: >> Isn't it the case that an idle machine will use >> less power when throttled than when not? >> > > No that is not the case (not even on old CPUs) > Then why would it run cooler? What generates the heat when not throttled? What stops generating heat when throttled?

Re: PROBLEM: Celeron Core

2008-01-19 Thread Andi Kleen
> Isn't it the case that an idle machine will use > less power when throttled than when not? No that is not the case (not even on old CPUs) -Andi -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at

Re: PROBLEM: Celeron Core

2008-01-19 Thread David Newall
Andi Kleen wrote: > I think the misunderstanding on your side is relative to what there > is less heat. Throttling essentially reduces temporary heat spikes on > the silicon, but does not make the system overall take less power > or generate less heat as measured over a longer time because it will

Re: PROBLEM: Celeron Core

2008-01-19 Thread David Newall
Andi Kleen wrote: I think the misunderstanding on your side is relative to what there is less heat. Throttling essentially reduces temporary heat spikes on the silicon, but does not make the system overall take less power or generate less heat as measured over a longer time because it will be

Re: PROBLEM: Celeron Core

2008-01-19 Thread Andi Kleen
Isn't it the case that an idle machine will use less power when throttled than when not? No that is not the case (not even on old CPUs) -Andi -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at

Re: PROBLEM: Celeron Core

2008-01-19 Thread David Newall
Andi Kleen wrote: Isn't it the case that an idle machine will use less power when throttled than when not? No that is not the case (not even on old CPUs) Then why would it run cooler? What generates the heat when not throttled? What stops generating heat when throttled? And you

Re: PROBLEM: Celeron Core

2008-01-19 Thread Andi Kleen
On Sun, Jan 20, 2008 at 03:53:41PM +1030, David Newall wrote: Andi Kleen wrote: Isn't it the case that an idle machine will use less power when throttled than when not? No that is not the case (not even on old CPUs) Then why would it run cooler? Ok for one more (but last)

Re: PROBLEM: Celeron Core

2008-01-18 Thread Andi Kleen
> It will relative to not throttling. No it will not. Please reread Dominik's mail I linked to. It explains it clearly. > You made a claim that is -physically impossible- as stated, a claim I've > seen here before and I'm correcting it. If something reduces heat, it > must save power *by the

Re: PROBLEM: Celeron Core

2008-01-18 Thread Matt Mackall
On Sat, 2008-01-19 at 05:27 +0100, Andi Kleen wrote: > > So while throttling may be less efficient in terms of watt seconds used > > to compile something than running at full speed, it is incorrect to say > > it uses less power. One machine running for an hour throttled to 50% > > uses less power

Re: PROBLEM: Celeron Core

2008-01-18 Thread Andi Kleen
> So while throttling may be less efficient in terms of watt seconds used > to compile something than running at full speed, it is incorrect to say > it uses less power. One machine running for an hour throttled to 50% > uses less power (and therefore less battery and cooling) than another >

Re: PROBLEM: Celeron Core

2008-01-18 Thread Matt Mackall
On Sat, 2008-01-19 at 02:15 +0100, Andi Kleen wrote: > On Fri, Jan 18, 2008 at 06:27:57PM -0600, Matt Mackall wrote: > > > > On Fri, 2008-01-18 at 22:11 +0100, Andi Kleen wrote: > > > Chodorenko Michail <[EMAIL PROTECTED]> writes: > > > > > > > I have a laptop "Extensa 5220", with the processor

Re: PROBLEM: Celeron Core

2008-01-18 Thread Andi Kleen
On Fri, Jan 18, 2008 at 06:27:57PM -0600, Matt Mackall wrote: > > On Fri, 2008-01-18 at 22:11 +0100, Andi Kleen wrote: > > Chodorenko Michail <[EMAIL PROTECTED]> writes: > > > > > I have a laptop "Extensa 5220", with the processor Celeron based on 'core' > > > technology. > > > There is ~ /

Re: PROBLEM: Celeron Core

2008-01-18 Thread Matt Mackall
On Fri, 2008-01-18 at 22:11 +0100, Andi Kleen wrote: > Chodorenko Michail <[EMAIL PROTECTED]> writes: > > > I have a laptop "Extensa 5220", with the processor Celeron based on 'core' > > technology. > > There is ~ / arch/i386/kernel/cpu/cpufreq/p4-clockmod.c in the kernel > > source code > > but

Re: PROBLEM: Celeron Core

2008-01-18 Thread Andi Kleen
Chodorenko Michail <[EMAIL PROTECTED]> writes: > I have a laptop "Extensa 5220", with the processor Celeron based on 'core' > technology. > There is ~ / arch/i386/kernel/cpu/cpufreq/p4-clockmod.c in the kernel > source code > but there's no line identification of my CPU for apply freqency change

Re: PROBLEM: Celeron Core

2008-01-18 Thread Matt Mackall
On Fri, 2008-01-18 at 22:11 +0100, Andi Kleen wrote: Chodorenko Michail [EMAIL PROTECTED] writes: I have a laptop Extensa 5220, with the processor Celeron based on 'core' technology. There is ~ / arch/i386/kernel/cpu/cpufreq/p4-clockmod.c in the kernel source code but there's no line

Re: PROBLEM: Celeron Core

2008-01-18 Thread Andi Kleen
Chodorenko Michail [EMAIL PROTECTED] writes: I have a laptop Extensa 5220, with the processor Celeron based on 'core' technology. There is ~ / arch/i386/kernel/cpu/cpufreq/p4-clockmod.c in the kernel source code but there's no line identification of my CPU for apply freqency change need to

Re: PROBLEM: Celeron Core

2008-01-18 Thread Matt Mackall
On Sat, 2008-01-19 at 02:15 +0100, Andi Kleen wrote: On Fri, Jan 18, 2008 at 06:27:57PM -0600, Matt Mackall wrote: On Fri, 2008-01-18 at 22:11 +0100, Andi Kleen wrote: Chodorenko Michail [EMAIL PROTECTED] writes: I have a laptop Extensa 5220, with the processor Celeron based on

Re: PROBLEM: Celeron Core

2008-01-18 Thread Matt Mackall
On Sat, 2008-01-19 at 05:27 +0100, Andi Kleen wrote: So while throttling may be less efficient in terms of watt seconds used to compile something than running at full speed, it is incorrect to say it uses less power. One machine running for an hour throttled to 50% uses less power (and