web-dev-qa-db-ja.com

バッテリーの寿命を延ばすためにpowertopの出力を分析する方法

12.04LTSを使用してubuntuを初めて使用します。手順を教えてください。ありがとう。

anoy@ubuntu:~$ cat /proc/sys/vm/laptop_mode
5

PowerTOP 1.97の概要アイドル状態の統計周波数の統計デバイスの統計調整可能パラメータ

バッテリーは21.7 Wの放電率を報告します

要約:551.2ウェイクアップ/秒、0.0 GPUオペレーション/秒および0.0 VFSオペレーション/秒

            Usage       Events/s    Category       Description
         43.7 ms/s     229.1        Process        /usr/lib/firefox-trunk/fi
         17.0 ms/s     109.0        Process        /usr/bin/X :0 -auth /var/
          2.1 ms/s      42.7        Timer          tick_sched_timer
          4.2 ms/s      35.5        Process        metacity
          1.1 ms/s      34.9        Timer          hrtimer_wakeup
        184.2 ms/s     16.9        Process        [loop0]
          1.4 ms/s      16.1        Interrupt      [44] i915
          1.5 ms/s       8.4        Interrupt      [16] ehci_hcd:usb1
          2.7 ms/s       6.7        Process        /usr/bin/ibus-daemon --xi
        585.4 ms/s      7.4        Interrupt      [7] sched(softirq)
        289.0 ms/s      6.2        Process        mount.ntfs /dev/disk/by-uuid
          1.4 ms/s       5.5        Process        /usr/lib/bamf/bamfdaemon
          2.0 ms/s       5.2        Process        gnome-terminal
          1.6 ms/s       3.6        Process        unity-2d-Shell
          0.8 ms/s       2.9        Process        unity-2d-panel
          7.1 ms/s       0.1        kWork          ieee80211_scan_work
          0.8 ms/s       2.5        Process        //bin/dbus-daemon --fork
         61.4 ms/s      2.5        Process        [ktpacpi_nvramd]
        382.4 ms/s      2.1        Process        /usr/lib/gnome-settings-daem
        193.2 ms/s      2.0        Interrupt      [4] block(softirq)
          2.2 ms/s       0.9        Process        /usr/bin/python /usr/shar
        317.0 ms/s      1.5        Process        /usr/lib/at-spi2-core/at-spi
          4.0 ms/s       0.0        Process        [kworker/u:2]
        168.6 ms/s   1.0        Process        /bin/dbus-daemon --config-fi
         42.7 ms/s   0.8        kWork          ieee80211_iface_work
         41.7 ms/s   0.8        Process        /usr/lib/gvfs/gvfs-afc-volum
          5.0 ms/s   0.8        kWork          cfq_kick_queue
        212.1 ms/s   0.7        Interrupt      [9] RCU(softirq)
        313.1 ms/s   0.3        Process        /usr/lib/unity/unity-panel-s
          9.6 ms/s   0.4        kWork          i915_gem_retire_work_handler

バッテリーは18.7 Wの放電率を報告します

          Usage     Device name
          8.8%        CPU use
         73.3%        Display backlight
         73.3%        Display backlight
         29.8%        Display backlight
        100.0%        PCI Device: Intel Corporation 6 Series/C200 Series Chi
        100.0%        PCI Device: Intel Corporation 6 Series/C200 Series Chi
        100.0%        PCI Device: Intel Corporation 6 Series/C200 Series Chi
        100.0%        PCI Device: Intel Corporation 6 Series/C200 Series Chi
        100.0%        PCI Device: Intel Corporation 6 Series/C200 Series Chi
        100.0%        PCI Device: Intel Corporation 6 Series/C200 Series Chi
        100.0%        PCI Device: Intel Corporation 6 Series/C200 Series Chi
        100.0%        PCI Device: Intel Corporation 6 Series/C200 Series Chi
        100.0%        PCI Device: Intel Corporation 6 Series/C200 Series Chi
        100.0%        PCI Device: Intel Corporation 2nd Generation Core Proc
        100.0%        PCI Device: Realtek Semiconductor Co., Ltd. RTL8188CE
        100.0%        USB Device: usb-device-04b3-3107
        100.0%        PCI Device: Realtek Semiconductor Co., Ltd. RTL8111/81
        100.0%        USB device: EHCI Host Controller
        100.0%        PCI Device: Advanced Micro Devices [AMD] nee ATI Seymo
        100.0%        PCI Device: Ricoh Co Ltd Device e823
        100.0%        PCI Device: Intel Corporation Xeon E3-1200/2nd Generat
        100.0%        PCI Device: Intel Corporation 2nd Generation Core Proc
        100.0%        Radio device: rtl8192ce
        100.0%        USB Device: usb-device-8087-0024
        100.0%        PCI Device: Intel Corporation 6 Series/C200 Series Chi
         71.1 pkts/s  Network interface: wlan0 (rtl8192ce)
          0.0 pkts/s  Network interface: eth0 (r8169)
          0.0 rpm     Laptop fan
          0.0%        Radio device: thinkpad_acpi
          0.0%        Audio codec hwC0D0: Conexant
          0.0%        Audio codec hwC0D3: Intel

調整可能

Bad           Enable SATA link power management for /dev/sda<br/>
Bad           NMI watchdog should be turned off<br/>
Bad           VM writeback timeout<br/>
Bad           Autosuspend for unknown USB device 1-1.3 (04b3:3107)<br/>
Bad           Runtime PM for PCI Device Intel Corporation 6 Series/C200 Series Chipset Family PCI<br/>
Bad           Runtime PM for PCI Device Intel Corporation 2nd Generation Core Processor Family Int<br/>
Bad           Runtime PM for PCI Device Intel Corporation 6 Series/C200 Series Chipset Family MEI<br/>
Bad           Runtime PM for PCI Device Intel Corporation 6 Series/C200 Series Chipset Family USB<br/>
Bad           Runtime PM for PCI Device Intel Corporation 6 Series/C200 Series Chipset Family PCI<br/>
Bad           Runtime PM for PCI Device Intel Corporation 6 Series/C200 Series Chipset Family PCI<br/>
Bad           Runtime PM for PCI Device Intel Corporation 6 Series/C200 Series Chipset Family PCI<br/>
Bad           Runtime PM for PCI Device Intel Corporation 6 Series/C200 Series Chipset Family 6 po<br/>
Bad           Runtime PM for PCI Device Advanced Micro Devices [AMD] nee ATI Seymour [Radeon HD 64<br/>
Bad           Runtime PM for PCI Device Intel Corporation Xeon E3-1200/2nd Generation Core Process<br/>
Bad           Runtime PM for PCI Device Intel Corporation 6 Series/C200 Series Chipset Family PCI<br/>
Bad           Runtime PM for PCI Device Intel Corporation 6 Series/C200 Series Chipset Family USB<br/>
Good          Enable Audio codec power management<br/>
Good          Power Aware CPU scheduler<br/>
Good          Autosuspend for USB device EHCI Host Controller [usb1]<br/>
Good          Autosuspend for unknown USB device 2-1 (8087:0024)<br/>
Good          Autosuspend for USB device Integrated Camera (Ricoh Company Ltd.)<br/>
Good          Autosuspend for USB device EHCI Host Controller [usb2]<br/>
Good          Autosuspend for unknown USB device 1-1 (8087:0024)<br/>
Good          Runtime PM for PCI Device Realtek Semiconductor Co., Ltd. RTL8188CE 802.11b/g/n WiFi<br/>
Good          Runtime PM for PCI Device Intel Corporation 6 Series/C200 Series Chipset Family High<br/>
Good          Runtime PM for PCI Device Ricoh Co Ltd Device e823<br/>
Good          Runtime PM for PCI Device Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express<br/>
Good          Runtime PM for PCI Device Intel Corporation 2nd Generation Core Processor Family DRA<br/>
Good          Wake-on-lan status for device eth0<br/>
Good          Wake-on-lan status for device wlan0<br/>
Good          Using 'ondemand' cpufreq governor<br/>
4
yuan

Good/Bad powertop設定でPrecise 12.04 LTSのさまざまなマシンでテストを行いました。私の研究結果はこちらです:

http://kernel.ubuntu.com/~cking/power-benchmarking/powertop-good-bad-recommendations/results.txt

..およびサポートデータはこちら:

http://kernel.ubuntu.com/~cking/power-benchmarking/powertop-good-bad-recommendations/powertop-good-bad-recommendations.ods

Preciseのpm-utilsパッケージに追加した最高のリスクと最小のリスクの変更により、ラップトップのバッテリーの電力を節約できます。

高精度マルチメータを使用することにより、powertopからの「良い」節約の推奨事項は実際にはそれほど有用ではない場合があるため、最適な構成を選択するには、多くの試行錯誤と消費電力の正確な評価方法が必要です。ハードウェア用。

Preciseで電力を節約する作業について詳しく知りたい場合は、以下を参照してください。 https://wiki.ubuntu.com/Kernel/PowerManagement

1
Colin Ian King