Skip to contentSkip to conversation

speedstep and deep sleep on celeron-M

DISCUSSION Christophe Couronne 3 participants 5 messages Sep 18, 2004 – Sep 25, 2004

lore
Share & tools
lore
#0 lore raw

Hi everybody !

I've just bought a new laptop based on a celeron-M processor (an IBM thinkpad R51). According to intel, this family of processor doesn't support speedstep, which is replaced by another technology called "deep sleep". I can't find more information about it.

I would like to know if the speedstep functionnality can be enabled anyway. The celeron-M processor seems to be based on a pentium-M banias (same family, same model id, same stepping) and the p4-clockmod module can be loaded (but not the speedstep-centrino). In fact, the celeron-M seems to be just a pentium-M banias without speedstep (?) and with a 512Ko L2 memory cache.

When the p4-clockmod is enabled, a new /sys entry is created. below is a listing of the directory :

brasserie:/sys/devices/system/cpu/cpu0/cpufreq# ls -l
total 0
-r--------  1 root root    0 2004-09-18 05:17 cpuinfo_cur_freq
-r--r--r--  1 root root 4096 2004-09-18 05:16 cpuinfo_max_freq
-r--r--r--  1 root root 4096 2004-09-18 05:16 cpuinfo_min_freq
-r--r--r--  1 root root 4096 2004-09-18 03:12 scaling_available_frequencies
-r--r--r--  1 root root 4096 2004-09-18 05:22 scaling_available_governors
-r--r--r--  1 root root 4096 2004-09-18 05:22 scaling_cur_freq
-r--r--r--  1 root root 4096 2004-09-18 05:22 scaling_driver
-rw-r--r--  1 root root    0 2004-09-18 03:12 scaling_governor
-rw-r--r--  1 root root 4096 2004-09-18 05:22 scaling_max_freq
-rw-r--r--  1 root root 4096 2004-09-18 05:22 scaling_min_freq

The problem is that the scaling_governor is set to "performance" and can't be changed, so the processor always runs at his max frequency.

Is there people which have succeeded to enable power management (deep sleep or speedstep) on a Celeron-M based laptop?

Thank you for any information.

Best regards.

Christophe Couronne.

Signature · 4 lines
Christophe Couronne xof@[phplop|calvix|altern].org

* phplop.org - yet another php tribioune !
* E = MC² <=> WE = WMC² <=> Le Week-end, je moule !
#1 lore raw

Hi,

Quoted 4 lines

I've just bought a new laptop based on a celeron-M processor (an IBM thinkpad R51). According to intel, this family of processor doesn't support speedstep, which is replaced by another technology called "deep sleep".

Uh? SpeedStep replaced by "Deep Sleep"? Where did you find that, ehm, joke?

Quoted 3 lines

I would like to know if the speedstep functionnality can be enabled anyway. The celeron-M processor seems to be based on a pentium-M banias (same family, same model id, same stepping)

... but with SpeedStep support not present in the CPU, AFAIK. So there's no way to enable celeron-M.

Quoted 1 line

and the p4-clockmod module can be loaded (but not the speedstep-centrino).

... which only offers frequency modulation instead of frequency scaling, so it will only save you minimal amounts of battery power. There should be a warning (in dmesg) when loading the p4-clockmod module which informs of this fact.

Quoted 2 lines

The problem is that the scaling_governor is set to "performance" and can't be changed, so the processor always runs at his max frequency.

you can only change the CPUfreq governor if more than one is loaded. You can see which ones are loaded in scaling_available_governors; and you can load, for example, the module "cpufreq_userspace" in case you built the userspace cpufreq governor as module.

Quoted 2 lines

Is there people which have succeeded to enable power management (deep sleep or speedstep) on a Celeron-M based laptop?

Deep Sleep might be supported (depending on the BIOS in your notebook) by the ACPI processor subsystem. It's a form of "idling" which is enabled when the CPU has nothing to do, and may be C-State 3. For more information on that, check the current ACPI processor information at http://acpi.sf.net;
also bug #1958 at bugzilla.kernel.org may be of interest as it can enable more C-States. However, it depends on the BIOS which CPU Power State (Deep Sleep is one of them) is enabled as what C-State. It has nothing to do with CPUfreq, though.

Dominik

#2 lore raw
Quoted 10 lines · Dominik Brodowski

Hi,

Deep Sleep might be supported (depending on the BIOS in your notebook) by the ACPI processor subsystem. It's a form of "idling" which is enabled when the CPU has nothing to do, and may be C-State 3. For more information on that, check the current ACPI processor information at http://acpi.sf.net;
also bug #1958 at bugzilla.kernel.org may be of interest as it can enable more C-States. However, it depends on the BIOS which CPU Power State (Deep Sleep is one of them) is enabled as what C-State. It has nothing to do with CPUfreq, though.

Actually, deep sleep state is C3, whereas deeper sleep state is supposed to be C4 (though it's possible to enter deeper sleep state instead of deep sleep state IIRC).

Cheers,

Signature · 4 lines
Bruno Ducrot

--  Which is worse:  ignorance or apathy?
--  Don't know.  Don't care.
#3 lore raw
Quoted 13 lines · Bruno Ducrot
Quoted 10 lines · Dominik Brodowski

Hi,

Deep Sleep might be supported (depending on the BIOS in your notebook) by the ACPI processor subsystem. It's a form of "idling" which is enabled when the CPU has nothing to do, and may be C-State 3. For more information on that, check the current ACPI processor information at http://acpi.sf.net;
also bug #1958 at bugzilla.kernel.org may be of interest as it can enable more C-States. However, it depends on the BIOS which CPU Power State (Deep Sleep is one of them) is enabled as what C-State. It has nothing to do with CPUfreq, though.

Quoted 3 lines

Actually, deep sleep state is C3, whereas deeper sleep state is supposed to be C4 (though it's possible to enter deeper sleep state instead of deep sleep state IIRC).

Excactly. And Deep Sleep is nothing new, Deeper Sleep is.

Dominik

#4 lore raw
Quoted 5 lines · Dominik Brodowski
Quoted 2 lines · Bruno Ducrot

Actually, deep sleep state is C3, whereas deeper sleep state is supposed

Quoted 9 lines
Quoted 4 lines

to be C4 (though it's possible to enter deeper sleep state instead of deep sleep state IIRC).

Excactly. And Deep Sleep is nothing new, Deeper Sleep is.

Dominik.

Everything is clearer now. I've succeeded to enable the CPU frequency modulation with p4-clockmod and the C3 sleep state too. Thanks a lot.

Christophe.

Signature · 4 lines
Christophe Couronne xof@[phplop|calvix|altern].org

* phplop.org - yet another php tribioune !
* E = MC² <=> WE = WMC² <=> Le Week-end, je moule !