Pentium-M minimum clock-freq
I'm currently using Kernel 2.6.4 with a 1.5ghz Pentium-M and the lowest frequency supported seems to be around 500mhz. However, under Win$ with current speedstep-drivers installed, it goes as low as 98mhz (with some steps in-between).
Is there any reason, why these frequencies aren't supported by the current speedstep-driver? Will they be supported in future?
However... Things work pretty nice atm. A big thank-you to the developers.
~sth
Quoted 7 lines · Steffen Hein
I'm currently using Kernel 2.6.4 with a 1.5ghz Pentium-M and the lowest frequency supported seems to be around 500mhz. However, under Win$ with current speedstep-drivers installed, it goes as low as 98mhz (with some steps in-between).
Is there any reason, why these frequencies aren't supported by the current speedstep-driver?
'cause the other OS's behaviour is broken, IMHO. It (also) "sells" you throttling as "speedstep": Throttling means the processor is stopped for short times. As long as your processor supports at least the C2 idle state, the system will even consume more energy for any given task if you throttle the CPU. So I think it's a bad idea. Actual speedstep states for the 1.5ghz Pentium-M are 600, 800, 1000, 1200, 1400 and 1500 MHz.
Quoted 1 line
Will they be supported in future?
Maybe -- if multiple cpufreq drivers can be loaded and be running at the same time, it'd be possible. I'm not yet sure whether this is a good idea, though.
Dominik
_______________________________________________
Cpufreq mailing list
[email protected]
http://www.linux.org.uk/mailman/listinfo/cpufreq
Quoted 3 lines · Dominik Brodowski
'cause the other OS's behaviour is broken, IMHO. It (also) "sells" you throttling as "speedstep": Throttling means the processor is stopped for short times.
Is that compareable with the good-old "hlt" instruction?
Quoted 2 lines
Actual speedstep states for the 1.5ghz Pentium-M are 600, 800, 1000, 1200, 1400 and 1500 MHz.
OK, good to know. I just was confused by the mhz Numbers "the other OS[tm]" gave me.
BTW: I'm not familiar with the current ACPI-style power-management-stuff, but would it make sense to use the HLT instruction together with Speedstep? How can it be enabled on ACPI-systems? ("do cpu idle calls when idle" is connected to apm in the kernel) Or isn't it useful anymore with ACPI?
~sth
Quoted 6 lines · Steffen Hein
Quoted 3 lines · Dominik Brodowski
'cause the other OS's behaviour is broken, IMHO. It (also) "sells" you throttling as "speedstep": Throttling means the processor is stopped for short times.
Is that compareable with the good-old "hlt" instruction?
Yes -- ACPI C1 actually does call hlt, C2 and higher do save more power than "hlt"; but it takes a bit more time for the processor to wake up from these "deeper sleep" states.
Quoted 5 lines
Quoted 2 lines
Actual speedstep states for the 1.5ghz Pentium-M are 600, 800, 1000, 1200, 1400 and 1500 MHz.
OK, good to know. I just was confused by the mhz Numbers "the other OS[tm]" gave me.
Many are, unfortunately...
Quoted 4 lines
BTW: I'm not familiar with the current ACPI-style power-management-stuff, but would it make sense to use the HLT instruction together with Speedstep? How can it be enabled on ACPI-systems? ("do cpu idle calls when idle" is connected to apm in the kernel) Or isn't it useful anymore with ACPI?
Oh yes, it's very useful if you use ACPI. It's part of the ACPI processor module, so if you say CONFIG_ACPI_PROCESSOR="y" it should already work. Grep for "ACPI" and you'll find the number of C-States your processor supports. Note that this number might change as soon as _CST support is merged (search for it on bugzilla.kernel.org if you want to test patches, but chose Bruno's as they're better than mine, I guess :-)
Dominik
_______________________________________________
Cpufreq mailing list
[email protected]
http://www.linux.org.uk/mailman/listinfo/cpufreq
Quoted 12 lines · Dominik Brodowski
Quoted 6 lines · Steffen Hein
Quoted 3 lines · Dominik Brodowski
'cause the other OS's behaviour is broken, IMHO. It (also) "sells" you throttling as "speedstep": Throttling means the processor is stopped for short times.
Is that compareable with the good-old "hlt" instruction?
Yes -- ACPI C1 actually does call hlt, C2 and higher do save more power than "hlt"; but it takes a bit more time for the processor to wake up from these "deeper sleep" states.
Quoted 6 lines
Quoted 5 lines
Quoted 2 lines
Actual speedstep states for the 1.5ghz Pentium-M are 600, 800, 1000, 1200, 1400 and 1500 MHz.
OK, good to know. I just was confused by the mhz Numbers "the other OS[tm]" gave me.
Many are, unfortunately...
Google for kv8-max3.pdf (it's a manual for a known amd64 motherboard), then look page 3-17, there is an option called "CPU THRM-Throttling" that is used for, I quote:
"This item controls the CPU speed by cutting down its regular power to a percentage during the STR (Suspend To RAM) state."
So far, Steffen, you are not the only one that make that kind of error unfortunately.
Quoted 11 lines
Quoted 4 lines
BTW: I'm not familiar with the current ACPI-style power-management-stuff, but would it make sense to use the HLT instruction together with Speedstep? How can it be enabled on ACPI-systems? ("do cpu idle calls when idle" is connected to apm in the kernel) Or isn't it useful anymore with ACPI?
Oh yes, it's very useful if you use ACPI. It's part of the ACPI processor module, so if you say
CONFIG_ACPI_PROCESSOR="y" it should already work. Grep for "ACPI" and you'll find the number of C-States your processor supports. Note that this number might change as soon as_CSTsupport is merged (search for it on bugzilla.kernel.org if you want to test patches, but chose Bruno's as they're better than mine, I guess :-)
Don't know if there are better, but I care to get reports.
Signature · 4 lines
Bruno Ducrot -- Which is worse: ignorance or apathy? -- Don't know. Don't care.
Hi there,
Quoted 9 lines · On Fri, 2 Apr 2004 18:44:59 +0200 Dominik Brodowski…
Quoted 7 lines · Steffen Hein
I'm currently using Kernel 2.6.4 with a 1.5ghz Pentium-M and the lowest frequency supported seems to be around 500mhz. However, under Win$ with current speedstep-drivers installed, it goes as low as 98mhz (with some steps in-between).
Is there any reason, why these frequencies aren't supported by the current speedstep-driver?
Quoted 6 lines
'cause the other OS's behaviour is broken, IMHO. It (also) "sells" you throttling as "speedstep": Throttling means the processor is stopped for short times. As long as your processor supports at least the C2 idle state, the system will even consume more energy for any given task if you throttle the CPU. So I think it's a bad idea. Actual speedstep states for the 1.5ghz Pentium-M are 600, 800, 1000, 1200, 1400 and 1500 MHz.
Actually, I have noticed that Windows seems to use Throttling only if the power adapter is off-line. On my pentium-m 1.7, it throttles the cpu down to 200 mhz unplugged and goes back to 600 mhz when plugged. The other speed steps are the same as on linux.
Quoted 6 lines
Quoted 2 lines
Will they be supported in future?
Maybe -- if multiple cpufreq drivers can be loaded and be running at the same time, it'd be possible. I'm not yet sure whether this is a good idea, though.
To my opinion, even if C2 state saves even more power that cpu throttling, there's still a very big advantage in lowering the cpu speed for laptop users, especially with high speed CPUs: Heat. I have a Pentium-M 1.7 ghz and even if I use Linux as my main OS, I had to work on Windows from time to time (happily that doesn't happen too often =]) and I have noticed that the laptop really hot under linux compared with Windows. During normal use, the meters indicate 48 degrees Celcius on Linux and only 32 under Windows. So heat is also a thing that might be interresting to be considered because it can be very unconfortable to use a very hot laptop that burns your knees if you put your laptop on them, that makes your hands sweat while typing and so on.
I'm not qualified enough to talk about the technical aspect of the current implementation but would it be technicly possible to use C2 state as the main speed driver and use throttle on demand, for instance while unplugged to allow the laptop to be even cooler ?
Cyril
Quoted 6 lines · Cyril Wattebled
Quoted 5 lines
Quoted 1 line
Will they be supported in future?
Maybe -- if multiple cpufreq drivers can be loaded and be running at the same time, it'd be possible. I'm not yet sure whether this is a good idea, though.
Quoted 10 lines
To my opinion, even if C2 state saves even more power that cpu throttling, there's still a very big advantage in lowering the cpu speed for laptop users, especially with high speed CPUs: Heat. I have a Pentium-M 1.7 ghz and even if I use Linux as my main OS, I had to work on Windows from time to time (happily that doesn't happen too often =]) and I have noticed that the laptop really hot under linux compared with Windows. During normal use, the meters indicate 48 degrees Celcius on Linux and only 32 under Windows. So heat is also a thing that might be interresting to be considered because it can be very unconfortable to use a very hot laptop that burns your knees if you put your laptop on them, that makes your hands sweat while typing and so on.
Heat indeed is an aspect. However, there are several issues you need to be aware of:
a) Linux has a higher processor load than Windows [especially when running X, this seems to be true to me... does anyone have any specifics on this?] -- and only as the processor load is higher, the temperature rises because the CPU spends less time in the idle loop. If you'd "force" it to spend more time in the idle loop -- and that's what throttling effectively does on the hardware (not software!) side, you'd find your system unresponsive, "busy", etc.
b) In cause you have USB devices plugged into your notebook, you'll notice that the CPU will never go into the C3 sleep state [check for "bus mastering activity" in /proc/acpi/processor/*/power ]. This is a bug, but I think ACPI developers are aware of this.
c) Linux does not yet take advantage of C4 or higher idle states. Patches which implement this are in testing stage, though.
d) If heat is an issue for you, you should adapt the limits to be found in /proc/acpi/thermal_zone/*/limits. It'll influence, based on configuration, cpufreq scaling, throttling, and fans. Note that a generic interface so that lm_sensors have this functionality, too, might be created during 2.7.
Quoted 4 lines
I'm not qualified enough to talk about the technical aspect of the current implementation but would it be technicly possible to use C2 state as the main speed driver and use throttle on demand, for instance while unplugged to allow the laptop to be even cooler ?
C2 can't be a "speed driver" -- C2 is a form of "sleep" the CPU is put into while the system is idle. It's already utilized almost always if it's available on your system (technically, C1 is denoted "default state" in the ACPI processor driver; however, it is hardly used in 0.01% of all cases on my notebook...)
For thermal management (and /proc/acpi/thermal_zone/*/limits is the place for that _policy_, not cpufreq), CPU frequency scaling is used primarily; and only if that does not suffice, throttling is activated by the ACPI processor driver.
Dominik
_______________________________________________
Cpufreq mailing list
[email protected]
http://www.linux.org.uk/mailman/listinfo/cpufreq
Quoted 18 lines · Dominik Brodowski
Quoted 6 lines · Cyril Wattebled
Quoted 5 lines
Quoted 1 line
Will they be supported in future?
Maybe -- if multiple cpufreq drivers can be loaded and be running at the same time, it'd be possible. I'm not yet sure whether this is a good idea, though.
Quoted 10 lines
To my opinion, even if C2 state saves even more power that cpu throttling, there's still a very big advantage in lowering the cpu speed for laptop users, especially with high speed CPUs: Heat. I have a Pentium-M 1.7 ghz and even if I use Linux as my main OS, I had to work on Windows from time to time (happily that doesn't happen too often =]) and I have noticed that the laptop really hot under linux compared with Windows. During normal use, the meters indicate 48 degrees Celcius on Linux and only 32 under Windows. So heat is also a thing that might be interresting to be considered because it can be very unconfortable to use a very hot laptop that burns your knees if you put your laptop on them, that makes your hands sweat while typing and so on.
Quoted 9 lines
Heat indeed is an aspect. However, there are several issues you need to be aware of:
a) Linux has a higher processor load than Windows [especially when running X, this seems to be true to me... does anyone have any specifics on this?] -- and only as the processor load is higher, the temperature rises because the CPU spends less time in the idle loop. If you'd "force" it to spend more time in the idle loop -- and that's what throttling effectively does on the hardware (not software!) side, you'd find your system unresponsive, "busy", etc.
You may try to use 16 depth instead of 24 or 32. The rational is that you will use less the bus in order to refresh screens, plus you will use less the graphic chips in general, which is nowdays real power hungry. Finally, I've seen some power management stuff in dri cvs for radeon (mobile), I don't know if that work well, though.
For others video chips, I can't say unfortunately, even though nvidia chips mobiles can be put in low power, there is no public documents about this, other than they have those features.
Quoted 11 lines
b) In cause you have USB devices plugged into your notebook, you'll notice that the CPU will never go into the C3 sleep state [check for "bus mastering activity" in
/proc/acpi/processor/*/power]. This is a bug, but I think ACPI developers are aware of this.
c) Linux does not yet take advantage of C4 or higher idle states. Patches which implement this are in testing stage, though.
d) If heat is an issue for you, you should adapt the limits to be found in/proc/acpi/thermal_zone/*/limits. It'll influence, based on configuration, cpufreq scaling, throttling, and fans. Note that a generic interface so thatlm_sensorshave this functionality, too, might be created during 2.7.
e) Try to use laptop-mode. It's in -mm series IIRC.
Quoted 15 lines
Quoted 4 lines
I'm not qualified enough to talk about the technical aspect of the current implementation but would it be technicly possible to use C2 state as the main speed driver and use throttle on demand, for instance while unplugged to allow the laptop to be even cooler ?
C2 can't be a "speed driver" -- C2 is a form of "sleep" the CPU is put into while the system is idle. It's already utilized almost always if it's available on your system (technically, C1 is denoted "default state" in the ACPI processor driver; however, it is hardly used in 0.01% of all cases on my notebook...)
For thermal management (and
/proc/acpi/thermal_zone/*/limitsis the place for that _policy_, not cpufreq), CPU frequency scaling is used primarily; and only if that does not suffice, throttling is activated by the ACPI processor driver.
Signature · 4 lines
Bruno Ducrot -- Which is worse: ignorance or apathy? -- Don't know. Don't care.