Chinaunix首页 | 论坛 | 博客
  • 博客访问: 210247
  • 博文数量: 145
  • 博客积分: 3000
  • 博客等级: 中校
  • 技术积分: 1720
  • 用 户 组: 普通用户
  • 注册时间: 2009-07-14 18:42
文章分类

全部博文(145)

文章存档

2011年(1)

2009年(144)

我的朋友

分类: LINUX

2009-08-17 11:37:16

by tangke 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)       : PS/2 keyboard/mouse/touchpad
  28.8% (261.0)       firefox-3.5 : futex_wait (hrtimer_wakeup)
  16.7% (151.6)       : acpi
   6.9% ( 62.3)       firefox-3.5 : schedule_hrtimeout_range (hrtimer_wakeup)
   6.0% ( 54.4)       : 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)       : 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)     : usb_hcd_poll_rh_status (rh_timer_func)
   0.2% (  2.0)   multiload-apple : schedule_hrtimeout_range (hrtimer_wakeup)
   0.2% (  1.4)     : hrtimer_start (tick_sched_timer)
   0.1% (  1.3)   thunderbird-bin : futex_wait (hrtimer_wakeup)
   0.1% (  1.2)     : 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

阅读(495) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~