Как анализировать мощность powertop, чтобы увеличить время автономной работы
Я новичок в Ubuntu с использованием 12.04LTS . Пожалуйста, помогите мне по шагам. Спасибо всем.
anoy@ubuntu:~$ cat /proc/sys/vm/laptop_mode
5
PowerTOP 1.97 Обзор Статистика холостого хода Статистика частоты Статистика устройства Перестраиваемые
Аккумулятор сообщает о скорости разряда 21,7 Вт
Итог: 551,2 пробуждений в секунду, 0,0 операций графического процессора в секунду и 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 Вт
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/>
1 ответ
Я провел несколько тестов на разных машинах для Precise 12.04 LTS на настройках Powertop Good / Bad. Мои результаты исследований здесь:
http://kernel.ubuntu.com/~cking/power-benchmarking/powertop-good-bad-recommendations/results.txt
..и подтверждающие данные здесь:
Лучшие и наименее рискованные изменения мы добавили в пакет pm-utils в Precise, чтобы помочь сэкономить заряд батареи для ноутбуков.
При использовании высокоточного мультиметра стало очевидно, что некоторые "хорошие" рекомендации по экономии от powertop могут на самом деле не быть настолько полезными, поэтому нужно много проб и ошибок и точный способ оценки энергопотребления, чтобы гарантировать выбор оптимальной конфигурации. для вашего оборудования.
Если вы хотите узнать больше о работе, направленной на экономию электроэнергии в Precise, перейдите по ссылке: https://wiki.ubuntu.com/Kernel/PowerManagement