pavelmachek ([info]pavelmachek) wrote,
@ 2007-10-30 19:03:00
Previous Entry  Add to memories!  Tell a Friend!  Next Entry
Powersaving on thinkpads
Ted Tso has nice summary of how to save power on thinkpad x61. Few corrections/additions:

USB should be solved in recent kernels. You just need to enable CONFIG_USB_SUSPEND.

You can save additional 300mW by unloading sound driver (or enabling its powersaving), and ~1W by enabling powersaving in SATA; Kristen Accardi has patches for that. You can save additional ~500mW by spinning down the harddrives. (With ext2 it was easy, just set bdflush interval to half an hour; but I'm told it is harder these days. But maybe you can help with ext4? ;-). Lower screen resolution, lower refresh and lower color depth also helps. Difference between vga=1 and high-res graphics mode is ~500mW.

And then comes the crazy stuff. Try s2ram + resume, that saves 300mW, and I'm not sure why. One theory says difference is in PCI setup. Then... you are running CPU fan; probably unnecessarily. As much as 300mW can be saved here.

Good luck!

(Unfortunately, "extended battery" I have here is pretty much dead now, and it is not even that old:

present: yes

design capacity: 74880 mWh

last full capacity: 11830 mWh

battery technology: rechargeable)



(Post a new comment)

AHCI link power management support is already there
[info]bpineau
2007-10-30 08:27 pm UTC (link)
Actually, Kristen Carlson Accardi's SATA ALPM work has been merged in Linus' git for 2.6.24 a few days ago, no need for externals patchs anymore (see git commits 31556594f913fa81d008cecfe46d7211c919a853 and ca77329fb713b7fea6a307068e0dd0248e7aa640); same for her work on SATA Asynchronous Notifications (this one, being event based, saves the need for hal polling CD/DVD drives, and hal counterpart should (?) support this since the last release, 0.5.10): git commits 2f2949680ad89d606db838340b17c30216c0bb0f and 9f45cbd3f0fc597530aaf85cad7fe52cd63f1fd8.

Since the remaining of Thomas Gleixner hrt patchkit (including the "force enable HPET" series, dynticks for x86_64, ...), the Venki's new cpuidle framework, basic HID autosuspend support, Intel's HDA audio chipset power saving support, etc... had also been merged in 2.6.24 , Linux just made a new huge step forward :)

(Reply to this) (Thread)


[info]alvarokriel
2008-08-11 10:07 am UTC (link)
Basket made a huge step forward and is now a really great tool to keep and organise ideas, notes, projects.

(Reply to this) (Parent)

ehci_hcd
[info]indan
2007-10-30 09:23 pm UTC (link)
For some reason I suspect that the 300mW saved after
resume is related to ehci-hcd. Perhaps because resuming
is faster with ehci loaden than without it on my pc.

(Reply to this)


[info]tytso
2007-10-30 11:35 pm UTC (link)
Posted at: http://thunk.org/tytso/blog/2007/10/29/tip-o-the-hat-wag-o-the-finger-linux-power-savings-for-laptop-users/#comment-121

Arjan, Pavel: Yes, I should have mentioned usbcore.autosuspend=1, but I believe I actually saw greater power savings still by rmmod’ing uhci_hcd, even when usb autosuspend was enabled. And of course you get even greater savings from rmmod ehci_hcd, and completely shutting down the USB altogether — and there you really want a GUI interface to make easy for an end-user to toggle, much like Lenovo’s “Battery Stretch” wizard under Windows.

I have noticed that suspending and resuming can drop the power draw significantly — in my case, up to a watt. Interestingly, removing for the secure digital and firewire drivers don’t seem to make a difference; I don’t know if that’s because the hardware/drivers are particularly well designed, or just because removing the drivers doesn’t actually cut off power to those devices. :-)

The 9.6 watt number was with sound disabled (and that’s a pain to do since you have to su to root, killall mixer_applet2, and then rmmod snd_hda_intel), and with killall -STOP multiload-applet-2, since that’s a wakeup hog that I don’t need when I’m running on batteries in economy class. I have not been willing to turn off the CPU fan, because I’m paranoid about damaging the laptop. I need to take a much more careful look at the fan control script on thinkwiki, and even then, I’m nervous about what might happen if I leave my laptop unattended, and then it crashes or wedges in such a way that the fan script doesn’t run. If I use it, I’m going to want some kind of kernel level watchdog timer to force reboot the system….

I know about Kristen Accardi’s SATA powersaving patches, and had them in my kernel at one point, but they kept breaking because they hadn’t been merged yet. One of the comments in Pavel’s LJ indicates they have been merged, so I should pull a newer kernel (my above measurements were done on a post 2.6.24-rc1 kernel, BTW, just not new enough to have the SATA ALPM patches) and try again. Who knows, we might be able to get the x61s idle power utilization down to around 8 watts!

Pavel: I’m sorry to hear about your extended battery; have you tried complaining to Lenovo about getting a warranty replacement?

(Reply to this) (Thread)


[info]nadiagehol
2008-07-16 01:25 am UTC (link)
It is big, but some of the reviews have not been so glowing, or rather, the glowing has been highly asymmetric.

(Reply to this) (Parent)(Thread)


[info]brendonjoce
2008-08-11 05:16 am UTC (link)
I don’t suppose there has been a year in which I have passed up so many excellent things – because I had heard them before and would hear them again – in order to hear new things of interest.

(Reply to this) (Parent)


[info]beckerapiwe
2008-07-16 03:10 pm UTC (link)
 Ryan Waldroop wrote on : (permalink) ethanay: have you tried adding your script to /etc/acpi directories per the ubuntuforums post.

(Reply to this) (Parent)

cd change
(Anonymous)
2007-11-10 09:55 pm UTC (link)
Hello! Joris Voorn-From A Deep Place_(GR101CD)-CD-2007
wonderful music recommended to all. What listen you ? please write here :)
buy buy

(Reply to this) (Thread)


[info]louisewyse
2008-08-11 05:42 am UTC (link)
Joris Voorn-From A Deep Place_(GRCD)-CD wonderful music recommended to all. What listen you. Please write here buy buy йХ╖Б╢б: dabooogi .

(Reply to this) (Parent)


[info]erwinmatheson
2008-08-11 10:30 am UTC (link)
Joris Voorn-From A Deep Place_(GRCD)-CD wonderful music recommended to all. What listen you. Please write here buy buy йХ╖Б╢б: dabooogi .

(Reply to this) (Parent)


[info]marcostach
2008-08-11 11:36 am UTC (link)
Joris Voorn-From A Deep Place_(GRCD)-CD wonderful music recommended to all. What listen you. Please write here buy buy йХ╖Б╢б: dabooogi .

(Reply to this) (Parent)


[info]sidclapcot
2008-08-11 09:00 pm UTC (link)
Joris Voorn-From A Deep Place_(GRCD)-CD wonderful music recommended to all. What listen you. Please write here buy buy йХ╖Б╢б: dabooogi .

(Reply to this) (Parent)

another requem
(Anonymous)
2007-11-14 09:43 am UTC (link)
Hello! i wanna buy new port. player, please help choose me. please write here :)
buy buy http://18years.hot-adult-portals.info/

(Reply to this)


[info]jamielihy
2008-03-17 02:59 am UTC (link)
Old message, but nice to reread it..

(Reply to this) (Thread)


[info]nathanieloniel
2008-08-06 11:50 am UTC (link)
Net/ ( Reply to this ) jamielihy am UTC ( link ) Old message, but nice to reread it. . ( Reply to this ) (Reply from suspended user) (Reply from suspended user) About Contact Advertise Jobs Site News More.

(Reply to this) (Parent)


[info]ameilavere
2008-08-11 06:44 am UTC (link)
But yeah, Nice comic. . As always Noodles x Nikanaiko January 10th, at pm Overheating audio tape player.

(Reply to this) (Parent)


Create an Account
Forgot your login?
Login w/ OpenID
English • Español • Deutsch • Русский…