| View previous topic :: View next topic |
| Author |
Message |
genmich Apprentice

Joined: 03 Apr 2003 Posts: 196
|
Posted: Wed May 09, 2007 9:17 am Post subject: Intels PowerTOP [Saving power with Linux on Intel HW] |
|
|
http://intellinuxpower.org/
| Quote: | | As a first step, Intel is releasing the PowerTOP tool, a tool that will help you find out what software is preventing your laptop from having a really long operation time when running on battery. |
Sounds very nice!
No download link yet (site just came online) but looking forward to test it (I already now that the ATI driver will be on top ) |
|
| Back to top |
|
 |
genmich Apprentice

Joined: 03 Apr 2003 Posts: 196
|
Posted: Sat May 12, 2007 9:29 am Post subject: |
|
|
Download is available!
My output:
| Code: | Cn Avg residency (10s) Long term residency avg
C0 (cpu running) ( 7.5%)
C1 0.0ms ( 0.0%) 0.0ms
C2 4.2ms ( 2.7%) 2.6ms
C3 5.7ms (89.8%) 4.1ms
Wakeups-from-idle per second : 330.0
Power usage (ACPI estimate) : 26.0 W (0.8 hours left)
Top causes for wakeups:
40.3% <interrupt> : uhci_hcd:usb5, fglrx
8.7% gpomme : schedule_timeout (process_timeout)
7.6% <kernel core> : usb_hcd_poll_rh_status (rh_timer_func)
6.6% <interrupt> : acpi
6.3% <kernel core> : ehci_work (ehci_watchdog)
6.3% acpi-power : cpufreq_governor_dbs (delayed_work_timer_fn)
5.7% <interrupt> : ide0
4.0% artsd : schedule_timeout (process_timeout)
3.2% pommed : schedule_timeout (process_timeout)
3.2% dhcdbd : schedule_timeout (process_timeout)
|
Kopete and Amarok are very bad! Had to close them before.
Kopete seems to be fixed:
| Quote: | | The worst offenders are currently kopete (responsible for 40% of the wakeups on a Fedora test system) and HAL polling the CD-ROM drive every two seconds. Will Stephenson told me that kopete in KDE4 is fixed already, and that fixing the KDE3 version is on his radar. | (http://vizzzion.org/?blogentry=709)
Lets hope the will do the same for amarok!
And hopefully the No.1: ATI will fix this soon too (http://digg.com/linux_unix/Better_ATI_Linux_driver_to_come)
edit:
to fix amarok: disable keep database up to date
to fix kopete: edit the kopeterc and add 'SmoothScrolling=false' under the [ContactList] section! |
|
| Back to top |
|
 |
blu3bird Retired Dev

Joined: 04 Oct 2003 Posts: 593 Location: Munich, Germany
|
Posted: Sat May 12, 2007 9:58 am Post subject: |
|
|
Wohoo, this tool kicks ass
If you need an ebuild check out bug 178130. But I expect it to be in the tree very soon.  _________________ Black Holes are created when God divides by zero! |
|
| Back to top |
|
 |
jsf_x35a Tux's lil' helper


Joined: 28 Jun 2004 Posts: 81 Location: In your base! Killing your men!
|
Posted: Sat May 12, 2007 3:26 pm Post subject: |
|
|
Intel is teh r0XXorz.
Although I guess I don't really need that tool. I've got a nice 5 hours (when I'm working) on my centrino.
But it was still pretty FOSS friendly of Intel to come up with that. _________________ "Fish have no will to live (will jump into bears' mouths?)"
poly_poly-man |
|
| Back to top |
|
 |
mordredP Apprentice


Joined: 17 Oct 2005 Posts: 155 Location: bari.italy.€urope.earth
|
Posted: Sat May 12, 2007 4:02 pm Post subject: |
|
|
fantastic.. _________________ People fall into 10 groups: those who know binary and those who don't
dosmary.netsons.org
01010110 |
|
| Back to top |
|
 |
Zepp Veteran


Joined: 15 Mar 2004 Posts: 1246 Location: Ontario, Canada
|
Posted: Sat May 12, 2007 5:53 pm Post subject: |
|
|
Cool. Go intel  |
|
| Back to top |
|
 |
Schmolch l33t

Joined: 16 Jun 2002 Posts: 746 Location: Germany
|
Posted: Sat May 12, 2007 9:04 pm Post subject: New Power-Usage Utility from Intel |
|
|
Oh there is already a thread about it here
Has anyone been able to get rid of this issue:
| Code: | 25.3% <interrupt> : i915@pci:0000:00:02.0
|
the intel website talks about a bug in the driver that already has been fixed so maybe its in cvs?
Im using xf86-video-i810 1.7 but its the same with 2.0.0
Last edited by Schmolch on Sat May 12, 2007 9:23 pm; edited 2 times in total |
|
| Back to top |
|
 |
think4urs11 Administrator


Joined: 25 Jun 2003 Posts: 6657 Location: above the cloud
|
Posted: Sat May 12, 2007 9:17 pm Post subject: |
|
|
merged the above post _________________ Nothing is secure / Security is always a trade-off with usability / Do not assume anything / Trust no-one, nothing / Paranoia is your friend / Think for yourself |
|
| Back to top |
|
 |
flysideways Tux's lil' helper

Joined: 29 Jan 2005 Posts: 142
|
Posted: Sat May 12, 2007 10:19 pm Post subject: |
|
|
| Zepp wrote: | Cool. Go intel  | ++ |
|
| Back to top |
|
 |
blu3bird Retired Dev

Joined: 04 Oct 2003 Posts: 593 Location: Munich, Germany
|
Posted: Sat May 12, 2007 11:03 pm Post subject: Re: New Power-Usage Utility from Intel |
|
|
| Schmolch wrote: | Oh there is already a thread about it here
Has anyone been able to get rid of this issue:
| Code: | 25.3% <interrupt> : i915@pci:0000:00:02.0
|
the intel website talks about a bug in the driver that already has been fixed so maybe its in cvs?
Im using xf86-video-i810 1.7 but its the same with 2.0.0 |
It has been fixed for 2D mode not for 3D mode. And if you are using dri/glx your card is in 3D mode. _________________ Black Holes are created when God divides by zero! |
|
| Back to top |
|
 |
Schmolch l33t

Joined: 16 Jun 2002 Posts: 746 Location: Germany
|
Posted: Sun May 13, 2007 1:16 am Post subject: Re: New Power-Usage Utility from Intel |
|
|
| blu3bird wrote: |
It has been fixed for 2D mode not for 3D mode. And if you are using dri/glx your card is in 3D mode. |
Just loading the dri/glx modules puts the videocard into 3D mode??
Well, the wakeup calls disappeared after removing them, thanks  |
|
| Back to top |
|
 |
Momo_CCCP Tux's lil' helper

Joined: 26 Oct 2004 Posts: 141
|
Posted: Sun May 13, 2007 10:17 am Post subject: |
|
|
Can't seem to access the site from here I hope it'll be back up soon, this thing looks really interesting (I hop I'll be able to regain some battery life on my 2yrs old centrino). _________________ Momo_CCCP |
|
| Back to top |
|
 |
genmich Apprentice

Joined: 03 Apr 2003 Posts: 196
|
|
| Back to top |
|
 |
Momo_CCCP Tux's lil' helper

Joined: 26 Oct 2004 Posts: 141
|
Posted: Sun May 13, 2007 10:39 am Post subject: |
|
|
Thanks ! _________________ Momo_CCCP |
|
| Back to top |
|
 |
drizek n00b


Joined: 26 Jan 2006 Posts: 32 Location: Believe in America
|
Posted: Sun May 13, 2007 11:30 am Post subject: |
|
|
I wish there was an easy way to undervolt on linux though that didnt involve patching the kernel. _________________ Stand With Mittens |
|
| Back to top |
|
 |
Spielmacher n00b

Joined: 21 Jul 2005 Posts: 12
|
|
| Back to top |
|
 |
Spielmacher n00b

Joined: 21 Jul 2005 Posts: 12
|
Posted: Sun May 13, 2007 4:32 pm Post subject: |
|
|
| You can find PowerTop as sys-power/powertop in the official portage tree (~x86). |
|
| Back to top |
|
 |
jdmulloy Tux's lil' helper


Joined: 24 Dec 2004 Posts: 139 Location: Massachusetts, USA
|
Posted: Sun May 13, 2007 5:42 pm Post subject: |
|
|
I got this.
| Code: | | No detailed statistics available; please enable the CONFIG_TIMER_STATS kernel option |
I can't find the option in .config or in menuconfig. Where the hell is it. I was using suspend2-sources-2.6.19 but reverted to 2.6.18 because suspend wasn't working well with 2.6.19. I know they recommend 2.6.21+ for a tickless kernel but it's still ~x86. Does anyone know which kernel versions have this option? _________________ Joe Mulloy | http://twitter.com/jdmulloy | Ron Paul in 2012! | 5-1-07 | Unban Playfool | Fire your "Too big to fail" bank http://moveyourmoney.info |
|
| Back to top |
|
 |
Monkeh Veteran


Joined: 06 Aug 2005 Posts: 1656 Location: England
|
Posted: Sun May 13, 2007 5:58 pm Post subject: |
|
|
| It's under kernel hacking. It's a debug option. |
|
| Back to top |
|
 |
jdmulloy Tux's lil' helper


Joined: 24 Dec 2004 Posts: 139 Location: Massachusetts, USA
|
Posted: Sun May 13, 2007 6:37 pm Post subject: |
|
|
| Monkeh wrote: | | It's under kernel hacking. It's a debug option. |
Thanks.
Couldn't find CONFIG_TIMER_STATS, did find CONFIG_SCHEDSTATS I'm going to try it. _________________ Joe Mulloy | http://twitter.com/jdmulloy | Ron Paul in 2012! | 5-1-07 | Unban Playfool | Fire your "Too big to fail" bank http://moveyourmoney.info |
|
| Back to top |
|
 |
genmich Apprentice

Joined: 03 Apr 2003 Posts: 196
|
Posted: Sun May 13, 2007 7:45 pm Post subject: |
|
|
| kernel hacking -> kernel debug [*] -> Collect timer statistics [*] |
|
| Back to top |
|
 |
jdmulloy Tux's lil' helper


Joined: 24 Dec 2004 Posts: 139 Location: Massachusetts, USA
|
Posted: Sun May 13, 2007 8:08 pm Post subject: |
|
|
| miga wrote: | | kernel hacking -> kernel debug [*] -> Collect timer statistics [*] |
Which version are you using? The option I found was in the same place but it's
kernel hacking -> kernel debug [*] ->Collect scheduler statistics [*] _________________ Joe Mulloy | http://twitter.com/jdmulloy | Ron Paul in 2012! | 5-1-07 | Unban Playfool | Fire your "Too big to fail" bank http://moveyourmoney.info |
|
| Back to top |
|
 |
genstorm Veteran


Joined: 05 Apr 2007 Posts: 1840 Location: Austria
|
Posted: Sun May 13, 2007 8:59 pm Post subject: |
|
|
Kernel 2.6.21 works fine here (I'd recommend it to you anyway to gain additional battery time). I guess you'll find the option there (as I did just 1 sec ago).  |
|
| Back to top |
|
 |
dj-tj n00b

Joined: 21 Jul 2006 Posts: 3 Location: Germany
|
Posted: Sun May 13, 2007 9:01 pm Post subject: |
|
|
CONFIG_TIMER_STATS is not available until kernel 2.6.21
I also think I read something like you have to use 2.6.21 to use powertop on their webpage. |
|
| Back to top |
|
 |
genstorm Veteran


Joined: 05 Apr 2007 Posts: 1840 Location: Austria
|
Posted: Sun May 13, 2007 11:37 pm Post subject: |
|
|
kopete is silenced now.
-) When using my synaptics-touchpad, wakeups/sec rise from ~250 to ~650. The synaptics module seems to use an 'i8042'-driver, which is responsible for the peak.
-) Right now firefox-bin is responsible for over 50% of all wakeups. |
|
| Back to top |
|
 |
|