[ltp] T60 power management (fglrx, aticonfig --set-powerstate
)
Florian Manschwetus
linux-thinkpad@linux-thinkpad.org
Thu, 10 Aug 2006 10:03:05 +0200
This is a cryptographically signed message in MIME format.
--------------ms010308030204010100090904
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit
Nils Kanning wrote:
> On Wed, 2006-08-09 at 10:43 +0200, Florian Manschwetus wrote:
>> Michael Olbrich wrote:
>>> Hi,
>>>
>>> On Tue, Aug 08, 2006 at 10:53:42PM +0200, Nils Kanning wrote:
>>>> how do you do the core disabling? is it a special kernel feature or a
>>>> feature of the centrino_speedstep module?
>>>> which kernel do you use?
>>> echo 0 > /sys/devices/system/cpu/cpu1/online
>>>
>>> michael
>>>
>> at least you can ask tp_smapi how much power you drain from battery
>> (cat /sys/devices/platform/smapi/BAT0/power_now)
>> i could press it down to arround 16 W with wlan
>> (2007 63G)
>> florian
>
> after doing
> echo 0 > /sys/devices/system/cpu/cpu1/online
> /proc/cpuinfo only shows one cpu. however in /proc/acpi/processor there
> are still both cpus and CPU1/power always shows C1 (this does not depend
> on the state CPU1 was in before disabling it).
>
> furthermore /sys/devices/platform/smapi/BAT0/power_now does not change
> if i disable the second core. so i do not gain any power.
>
> here is the output of dmesg (first enabling cpu1):
> SMP alternatives: switching to SMP code
> Booting processor 1/1 eip 3000
> Initializing CPU#1
> Calibrating delay using timer specific routine.. 3657.71 BogoMIPS
> (lpj=7315437)
> CPU: After generic identify, caps: bfe9fbff 00100000 00000000 00000000
> 0000c1a9 00000000 00000000
> CPU: After vendor identify, caps: bfe9fbff 00100000 00000000 00000000
> 0000c1a9 00000000 00000000
> monitor/mwait feature present.
> CPU: L1 I cache: 32K, L1 D cache: 32K
> CPU: L2 cache: 2048K
> CPU: Physical Processor ID: 0
> CPU: Processor Core ID: 1
> CPU: After all inits, caps: bfe9fbff 00100000 00000000 00000140 0000c1a9
> 00000000 00000000
> Intel machine check architecture supported.
> Intel machine check reporting enabled on CPU#1.
> CPU1: Intel Genuine Intel(R) CPU T2400 @ 1.83GHz stepping 08
> APIC error on CPU1: 00(40)
>
> (disabling cpu1)
> CPU 1 is now offline
> SMP alternatives: switching to UP code
>
> nils
>
>
so long the cpus are in c3 (with no busmaster you didn't save power) you
save power because the second core doesn't wake up on activity.
florian
--------------ms010308030204010100090904
Content-Type: application/x-pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature
MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIKDDCC
BQIwggLqoAMCAQICAwJsyDANBgkqhkiG9w0BAQUFADB5MRAwDgYDVQQKEwdSb290IENBMR4w
HAYDVQQLExVodHRwOi8vd3d3LmNhY2VydC5vcmcxIjAgBgNVBAMTGUNBIENlcnQgU2lnbmlu
ZyBBdXRob3JpdHkxITAfBgkqhkiG9w0BCQEWEnN1cHBvcnRAY2FjZXJ0Lm9yZzAeFw0wNjA3
MDQwODM3MDNaFw0wNzA3MDQwODM3MDNaMEgxHDAaBgNVBAMTE0Zsb3JpYW4gTWFuc2Nod2V0
dXMxKDAmBgkqhkiG9w0BCQEWGUZsb3JpYW5NYW5zY2h3ZXR1c0BnbXguZGUwggEiMA0GCSqG
SIb3DQEBAQUAA4IBDwAwggEKAoIBAQC2GnTI54ujEGPHu7/5L3UePHT6bydUQAWsck9f44wc
hURmyPxNMb228wpkIEaWOpsnxCYbKfxW7nIi0zP7eSAhGhXiI9jyLPgJ4NpG1OFT2Eyzjkkf
25CtC1NO9ZbMacVieXjDw4ezPkuJvSyhsDcFAUERCWG9DT74tMdP9ADdMzI8h/eXjv6j4flz
TD2WAsDe1hfdSTkzB7G3SMBtBu6J46CY6p93epais/x1CzFkzDJsh0r7dh0tHGhVCGkR1bN1
5SB2QhIdCR3+Ji1F1W8/7ugak6utREUz4LxYPw/wfiIRaVHTVPjo5YwfD0gjcWSXx25gW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