linux, acpi,powertop
时间:2009-08-17 来源:fewlife
by tangke <[email protected]> 2009-08-17
今天在查acpid资料的时候发现有一个很有用的工具,可以用来探测每个应用程序对power的"贡献".
我们可以直接通过apt-get install powertop来安装这个软件,目前还不清楚该软件能够在loongson平台上面跑起来。
PowerTOP version 1.11 (C) 2007 Intel Corporation
Cn Avg residency P-states (frequencies)
C0 (cpu running) (34.1%) 1.60 Ghz 100.0%
C0 0.0ms ( 0.0%) 1400 Mhz 0.0%
C1 0.1ms ( 0.5%) 1200 Mhz 0.0%
C2 1.2ms (65.5%) 1000 Mhz 0.0%
C3 0.0ms ( 0.0%) 800 Mhz 0.0%
Wakeups-from-idle per second : 587.3 interval: 10.0s
no ACPI power usage estimate available
Top causes for wakeups:
31.3% (284.1) <interrupt> : PS/2 keyboard/mouse/touchpad
28.8% (261.0) firefox-3.5 : futex_wait (hrtimer_wakeup)
16.7% (151.6) <interrupt> : acpi
6.9% ( 62.3) firefox-3.5 : schedule_hrtimeout_range (hrtimer_wakeup)
6.0% ( 54.4) <interrupt> : uhci_hcd:usb2, uhci_hcd:usb3, uhci_hcd:usb4, ohci1394, yenta, ipw2200, yenta, Intel 82801
2.1% ( 18.7) gnome-screensav : schedule_hrtimeout_range (hrtimer_wakeup)
2.0% ( 18.1) Xorg : schedule_hrtimeout_range (hrtimer_wakeup)
1.3% ( 12.2) compiz.real : schedule_hrtimeout_range (hrtimer_wakeup)
1.3% ( 12.0) <interrupt> : ata_piix
0.7% ( 6.7) qq : schedule_hrtimeout_range (hrtimer_wakeup)
0.5% ( 4.8) kacpid : schedule_timeout (process_timeout)
0.5% ( 4.1) <kernel core> : usb_hcd_poll_rh_status (rh_timer_func)
0.2% ( 2.0) multiload-apple : schedule_hrtimeout_range (hrtimer_wakeup)
0.2% ( 1.4) <kernel core> : hrtimer_start (tick_sched_timer)
0.1% ( 1.3) thunderbird-bin : futex_wait (hrtimer_wakeup)
0.1% ( 1.2) <kernel core> : neigh_table_init_no_netlink (neigh_periodic_timer)
0.1% ( 1.2) Xorg : hrtimer_start (it_real_fn)
0.1% ( 1.0) cpufreq-applet : schedule_hrtimeout_range (hrtimer_wakeup)
0.1% ( 1.0) python : schedule_hrtimeout_range (hrtimer_wakeup)
Suggestion: Enable wireless power saving mode by executing the following command:
iwpriv eth1 set_power 5
This will sacrifice network performance slightly to save power.
Q - Quit R - Refresh W - Enable wireless power saving
今天在查acpid资料的时候发现有一个很有用的工具,可以用来探测每个应用程序对power的"贡献".
我们可以直接通过apt-get install powertop来安装这个软件,目前还不清楚该软件能够在loongson平台上面跑起来。
PowerTOP version 1.11 (C) 2007 Intel Corporation
Cn Avg residency P-states (frequencies)
C0 (cpu running) (34.1%) 1.60 Ghz 100.0%
C0 0.0ms ( 0.0%) 1400 Mhz 0.0%
C1 0.1ms ( 0.5%) 1200 Mhz 0.0%
C2 1.2ms (65.5%) 1000 Mhz 0.0%
C3 0.0ms ( 0.0%) 800 Mhz 0.0%
Wakeups-from-idle per second : 587.3 interval: 10.0s
no ACPI power usage estimate available
Top causes for wakeups:
31.3% (284.1) <interrupt> : PS/2 keyboard/mouse/touchpad
28.8% (261.0) firefox-3.5 : futex_wait (hrtimer_wakeup)
16.7% (151.6) <interrupt> : acpi
6.9% ( 62.3) firefox-3.5 : schedule_hrtimeout_range (hrtimer_wakeup)
6.0% ( 54.4) <interrupt> : uhci_hcd:usb2, uhci_hcd:usb3, uhci_hcd:usb4, ohci1394, yenta, ipw2200, yenta, Intel 82801
2.1% ( 18.7) gnome-screensav : schedule_hrtimeout_range (hrtimer_wakeup)
2.0% ( 18.1) Xorg : schedule_hrtimeout_range (hrtimer_wakeup)
1.3% ( 12.2) compiz.real : schedule_hrtimeout_range (hrtimer_wakeup)
1.3% ( 12.0) <interrupt> : ata_piix
0.7% ( 6.7) qq : schedule_hrtimeout_range (hrtimer_wakeup)
0.5% ( 4.8) kacpid : schedule_timeout (process_timeout)
0.5% ( 4.1) <kernel core> : usb_hcd_poll_rh_status (rh_timer_func)
0.2% ( 2.0) multiload-apple : schedule_hrtimeout_range (hrtimer_wakeup)
0.2% ( 1.4) <kernel core> : hrtimer_start (tick_sched_timer)
0.1% ( 1.3) thunderbird-bin : futex_wait (hrtimer_wakeup)
0.1% ( 1.2) <kernel core> : neigh_table_init_no_netlink (neigh_periodic_timer)
0.1% ( 1.2) Xorg : hrtimer_start (it_real_fn)
0.1% ( 1.0) cpufreq-applet : schedule_hrtimeout_range (hrtimer_wakeup)
0.1% ( 1.0) python : schedule_hrtimeout_range (hrtimer_wakeup)
Suggestion: Enable wireless power saving mode by executing the following command:
iwpriv eth1 set_power 5
This will sacrifice network performance slightly to save power.
Q - Quit R - Refresh W - Enable wireless power saving
相关阅读 更多 +