Skip to contentSkip to conversation

Inspiron 6000 and CPU power saving

DISCUSSION Michael (Micksa) Slade 3 participants 3 messages Oct 16, 2006 – Oct 25, 2006

lore
Share & tools
lore
#0 lore raw

I recently discovered that my Inspiron 6000 uses about 50% more power idling in linux than in windows XP. This means its battery life is about 2/3 of what it could/should be.

I guessed it might be the CPU, and did some tests. The results strongly suggest as much. These are the results I got for power consumption in various situations.

linux idle at 800MHz: 27W linux idle at 1600MHz: 36W linux raytracing at 800: 30W
linux raytracing at 1600: 42W

windows idle (presumably 800MHz): 16W
windows raytracing (presumably 1600MHz): 36W

I've tried ubuntu dapper and ubuntu edgy, and RIP 10 (rescue disk) and BBC 2.1 (rescue disk), and they all appear to have the same issue. The machine's BIOS has no APM so I can't try it for comparison.

I've tried noapic and "echo n > /sys/module/processor/parameters/max_cstate", where n is 1 thru 4. Neither appear to have any affect.

I need help digging deeper. I guess /proc/acpi/processor/CPU0/power could give some insight but I'm not sure how to read the numbers. That and "learn about ACPI" is all I can figure out so far.

So where to from here? I am prepared to spend a significant amount of time researching and resolving the issue, so feel free to suggest reading the ACPI spec or whatever if that's what it's going to take.

Mick.

#1 lore raw

Hallo, Michael.

Quoted 13 lines · Michael (Micksa) Slade

I recently discovered that my Inspiron 6000 uses about 50% more power idling in linux than in windows XP. This means its battery life is about 2/3 of what it could/should be.

I guessed it might be the CPU, and did some tests. The results strongly suggest as much. These are the results I got for power consumption in various situations.

linux idle at 800MHz: 27W
linux idle at 1600MHz: 36W
linux raytracing at 800: 30W
linux raytracing at 1600: 42W

Quoted 6 lines

windows idle (presumably 800MHz): 16W
windows raytracing (presumably 1600MHz): 36W

I've tried ubuntu dapper and ubuntu edgy, and RIP 10 (rescue disk) and BBC 2.1 (rescue disk), and they all appear to have the same issue. The machine's BIOS has no APM so I can't try it for comparison.

After reading all that, i think this is wrong list to post such things.

Anyway.
Note, that you didn't mentioned yours shiny laptop's architecture. More to that, if it's cool-modern CPU from Intel or just a AMD's one, what linux-kernel version you're running? As for me, i don't know neither what Inspiron 6000 is, nor kernel versions "ubuntu dapper (edgy)" is running. And if you will know all that information, better keep it for your's google skills, not for further postings here.

Also if you want to compare power consumption, better include time tasks ran, thus one can estimate real *work* done by system for application and finally amount of actual heat.

Quoted 3 lines

I need help digging deeper. I guess /proc/acpi/processor/CPU0/power could give some insight but I'm not sure how to read the numbers. That and "learn about ACPI" is all I can figure out so far.

Search lkml for 'ACPI' and 'Linus', after that, just relax and reboot to windo$ and forget anything else ;)

Quoted 3 lines

So where to from here? I am prepared to spend a significant amount of time researching and resolving the issue, so feel free to suggest reading the ACPI spec or whatever if that's what it's going to take.

If you _really_ want to do something -- read sources, build kernels, tune kernels and somewhere in between RTFM. And finally share results.
____

#2 lore raw
In reply to Michael (Micksa) Slade

Hi!

Quoted 13 lines

I recently discovered that my Inspiron 6000 uses about 50% more power idling in linux than in windows XP. This means its battery life is about 2/3 of what it could/should be.

I guessed it might be the CPU, and did some tests. The results strongly suggest as much. These are the results I got for power consumption in various situations.

linux idle at 800MHz: 27W
linux idle at 1600MHz: 36W
linux raytracing at 800: 30W
linux raytracing at 1600: 42W

Quoted 6 lines

windows idle (presumably 800MHz): 16W
windows raytracing (presumably 1600MHz): 36W

I've tried ubuntu dapper and ubuntu edgy, and RIP 10 (rescue disk) and BBC 2.1 (rescue disk), and they all appear to have the same issue. The machine's BIOS has no APM so I can't try it for comparison.

Let me guess, UHCI? Remove usb modules, and measure again.

For details, see 8hours on your lap presentation, linked from
http://www.livejournal.com/~pavelmachek .

Pavel