web-dev-qa-db-fra.com

Comment analyser le rendement de Powertop pour augmenter la durée de vie de la batterie

Je suis nouveau à Ubuntu en utilisant 12.04LTS. S'il vous plaît, aidez-moi par étapes. Merci à tous.

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

PowerTOP 1.97 Vue d'ensemble Statistiques sur la veille Statistiques sur la fréquence Statistiques sur le périphérique Réglables

La batterie indique un taux de décharge de 21,7 W

Résumé: 551.2 wakeups/seconde, 0.0 ops GPU/seconde et 0.0 ops VFS/s

            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

La batterie indique un taux de décharge de 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

Réglables

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

J'ai fait des tests sur différentes machines pour Precise 12.04 LTS sur les paramètres powertop Good/Bad. Mes résultats de recherche sont ici:

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

..et données complémentaires ici:

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

Les modifications les moins risquées que nous avons apportées au paquetage pm-utils dans Precise permettent d’économiser de l’énergie sur la batterie des ordinateurs portables.

En utilisant un multimètre de haute précision, il était évident que certaines "bonnes" recommandations d'économies de powertop pourraient en fait ne pas être aussi utiles. Vous devez donc faire beaucoup d'essais et d'erreurs ainsi qu'un moyen précis d'évaluer la consommation d'énergie afin de vous assurer de choisir la configuration optimale. pour votre matériel.

Si vous souhaitez en savoir plus sur le travail d'économie d'énergie réalisé dans Precise, veuillez vous reporter à: https://wiki.ubuntu.com/Kernel/PowerManagement

1
Colin Ian King