Prosíme přihlašte se nebo zaregistrujte.

Přihlašte se svým uživatelským jménem a heslem.
Vaše pomoc je stále potřeba!

Autor Téma: Nastavení power managementu komponent  (Přečteno 3497 krát)

JARDA001

  • Aktivní člen
  • *
  • Příspěvků: 236
Nastavení power managementu komponent
« kdy: 05 Září 2012, 21:21:55 »
Zdravím, chtěl bych vás poprosit o radu, jak nastavit PM v jednotlivých komponentách?
Dle Powertopu mi neběží několik PM, jde o Audio codec PM, Wireless PM pro wlan0,  USB EHCI host controller a další (viz přiložený screen).
Co se týče wifi, vím že to jde nastavit pomocí
Kód: [Vybrat]
sudo iwconfig wlan0 power on, problém je, že během minuty/pár minut se to opět samo přepne na off, jak provést nastavení, aby bylo permanentní?
Dále mám několik dalších komponent s nefunkčním PM, bohužel nevím, pod čím to hledat. Zvuk jsem hledal pod alsou ale nějak se mi to nepodařilo, můžete mi prosím poradit? Předem díky.

Screen z Powertopu, potřebuji zapnout trvale PM všude, kde je napsáno Bad.
http://imageshack.us/photo/my-images/16/powertop.png/

P.S.: Omlouvám se, pokud jsem to dal do špatné sekce.
« Poslední změna: 05 Září 2012, 21:26:35 od JARDA001 »

Rover623

Re:Nastavení power managementu komponent
« Odpověď #1 kdy: 05 Září 2012, 22:58:40 »
Nenutíš to náhodou i komponentám které to neumějí

JARDA001

  • Aktivní člen
  • *
  • Příspěvků: 236
Re:Nastavení power managementu komponent
« Odpověď #2 kdy: 05 Září 2012, 23:18:27 »
to nevím, minimálně to co je USB (EHCI, fingerprint reader, integrated camera apod. by to umět mělo (řízením usb sběrnice se to promítne i na tyto komponenty). Dále, našel jsem zde na foru tip na program powernap, kterej když aktivuju, udělá to všecko za mě, ale opět se to vrátí zpět, hádám že to bude omezením přístupu, neboť pokud se nejdřív podívám, co navrhuje, píše to toto:
Kód: [Vybrat]
jaroslav@laptop:~$ sudo powernap-action --list
[disabled] kms_powermode        - sh: 1: /etc/pm/power.d/kms_powermode: Permission denied
[enabled]  cpu_frequency        - Lowers the CPU frequency, changing the scaling governor from powersave to powersave.
[disabled] usb                  - sh: 1: /etc/pm/power.d/usb: Permission denied
[disabled] eth_speed            - sh: 1: /etc/pm/power.d/eth_speed: Permission denied
[enabled]  usb_autosuspend      - Auto suspend USB bus to save power.
[enabled]  00flag               -
[disabled] video                - sh: 1: /etc/pm/power.d/video: Permission denied
[disabled] 01cpu_online         - sh: 1: /etc/pm/power.d/01cpu_online: Permission denied
Z toho mi vychází, že to neumožňuje změnit (byť se to na chvíli promítne v powertopu, že se to přepne na good) ale dříve nebo později se to opět změní na bad.
Minimálně polovina by měla být tedy ovlivnitelná tím usb autosuspend.

Nehledě na to, že třeba wifi karta určitě umí PM, nicméně jak jsem psal, nastavení mnou provedené se neudrží, nevím tedy co udělat.
Vše provádím z mého účtu za použití sudo, napadlo mě, že to zkusím přímo pod rootem ale...
Potřebuju nějak snížit spotřebu, neboť teploty mám kolem 60°C na téměř všem (původně kolem 80°C), takže mě čeká i otázka, jak provést undervolting procesoru? Přesto, že škálování funguje mi přijde, že jde do něj příliš moc voltů, mohl bych tedy přidat ještě otázku na tohle k tomu předchozímu? Předem díky.

kiflik

  • Návštěvník
  • Příspěvků: 64
    • NUTRION.cz
Re:Nastavení power managementu komponent
« Odpověď #3 kdy: 05 Září 2012, 23:41:29 »
sudo powertop --html

vytvoří se soubor PowerTOP.html kde najdeš doporučení co a jak upravit (záložka Tuning)

a návrhy zapiš do /etc/rc.local nad exit 0

např. u mě: echo min_power > /sys/class/scsi_host/host0/link_power_management_policy
atd.

...já ušetřil cca 2W na baterce!

PowerTOP versionv2.1

DELL XPS 13 - 9350 # Toshiba Portégé R600 SSD # Timeline 3810T

JARDA001

  • Aktivní člen
  • *
  • Příspěvků: 236
Re:Nastavení power managementu komponent
« Odpověď #4 kdy: 05 Září 2012, 23:56:44 »
Zkusil jsem a mám následující informace:
Po provedení powernap-now vypadá log takto:
Kód: [Vybrat]
PowerTOP report
System informationPowerTOP version 1.97 beta 1
Kernel version Linux version 3.2.0-30-generic (buildd@batsu) (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) #48-Ubuntu SMP Fri Aug 24 16:52:48 UTC 2012
System name LENOVO 0578KNG ThinkPad Edge
CPU information 4x Intel(R) Core(TM) i5 CPU M 460 @ 2.53GHz
OS information

Power consumption summary

150.4 wakeups/second, 0.0 GPU ops/second and 0.0 VFS ops/secUsage Events/s Category Description
100.0% Device Audio codec hwC0D0: Realtek
 8.5% 31.4 Process /usr/lib/opera/opera
516.3 µs/s 18.2 Timer tick_sched_timer
684.0 rpm Device Laptop fan
 0.4% 15.0 Process /usr/bin/X :0 vt7 -br -nolisten tcp -auth /var/run/xauth/A:0-8ZflGa
254.5 µs/s 12.9 Timer hrtimer_wakeup
458.6 µs/s 12.5 Interrupt [6] tasklet(softirq)
 0.0% 9.6 Process [ktpacpi_nvramd]
 0.3% 7.5 Process kwin -session 10dbd17074000134677935900000015710000_1346878432_484625
215.2 µs/s 7.5 Interrupt [47] fglrx[0]@PCI:1:0:0

Processor Idle state reportPackage Core CPU 0 CPU 2
C0 active 1.8% 0.5%
POLL 0.0% 0.0 ms 0.0% 0.0 ms
C1-NHM 0.0% 0.1 ms 0.1% 1.5 ms
C3 (pc3) 3.5% C3 (cc3) 2.3% C3-NHM 1.1% 1.9 ms 1.6% 5.1 ms
C6 (pc6) 85.3% C6 (cc6) 93.2% C6-NHM 95.6% 14.5 ms 97.5% 14.5 ms
  Core CPU 1 CPU 3
  C0 active 3.2% 0.1%
  POLL 0.0% 0.0 ms 0.0% 0.0 ms
  C1-NHM 0.4% 1.7 ms 0.0% 0.0 ms
  C3 (cc3) 1.8% C3-NHM 0.8% 1.2 ms 1.2% 8.2 ms
  C6 (cc6) 91.1% C6-NHM 92.7% 12.6 ms 98.6% 13.3 ms

Processor frequency report Package Core CPU 0 CPU 2
Actual 1324 Mhz 1306 Mhz
Turbo Mode 0.0% Turbo Mode 0.0% Turbo Mode 0.0% 0.0%
2.54 Ghz 0.0% 2.54 Ghz 0.0% 2.54 Ghz 0.0% 0.0%
2.40 Ghz 0.0% 2.40 Ghz 0.0% 2.40 Ghz 0.0% 0.0%
2.27 Ghz 0.0% 2.27 Ghz 0.0% 2.27 Ghz 0.0% 0.0%
2.14 Ghz 0.0% 2.14 Ghz 0.0% 2.14 Ghz 0.0% 0.0%
2.00 Ghz 0.0% 2.00 Ghz 0.0% 2.00 Ghz 0.0% 0.0%
1.87 Ghz 0.0% 1.87 Ghz 0.0% 1.87 Ghz 0.0% 0.0%
1.74 Ghz 0.0% 1.74 Ghz 0.0% 1.74 Ghz 0.0% 0.0%
1.60 Ghz 0.0% 1.60 Ghz 0.0% 1.60 Ghz 0.0% 0.0%
1466 Mhz 0.0% 1466 Mhz 0.0% 1466 Mhz 0.0% 0.0%
  Core CPU 1 CPU 3
  Actual 1318 Mhz 1348 Mhz
  Turbo Mode 0.0% Turbo Mode 0.0% 0.0%
  2.54 Ghz 0.0% 2.54 Ghz 0.0% 0.0%
  2.40 Ghz 0.0% 2.40 Ghz 0.0% 0.0%
  2.27 Ghz 0.0% 2.27 Ghz 0.0% 0.0%
  2.14 Ghz 0.0% 2.14 Ghz 0.0% 0.0%
  2.00 Ghz 0.0% 2.00 Ghz 0.0% 0.0%
  1.87 Ghz 0.0% 1.87 Ghz 0.0% 0.0%
  1.74 Ghz 0.0% 1.74 Ghz 0.0% 0.0%
  1.60 Ghz 0.0% 1.60 Ghz 0.0% 0.0%
  1466 Mhz 0.0% 1466 Mhz 0.0% 0.0%

Overview of software power consumersUsage Wakeups/s GPU ops/s Disk IO/s Category Description
 85.1 ms/s 31.4 Process /usr/lib/opera/opera
516.3 µs/s 18.2 Timer tick_sched_timer
 3.5 ms/s 15.0 Process /usr/bin/X :0 vt7 -br -nolisten tcp -auth /var/run/xauth/A:0-8ZflGa
254.5 µs/s 12.9 Timer hrtimer_wakeup
458.6 µs/s 12.5 Interrupt [6] tasklet(softirq)
142.1 µs/s 9.6 Process [ktpacpi_nvramd]
 3.4 ms/s 7.5 Process kwin -session 10dbd17074000134677935900000015710000_1346878432_484625
215.2 µs/s 7.5 Interrupt [47] fglrx[0]@PCI:1:0:0
 56.7 µs/s 6.8 kWork ieee80211_iface_work
 1.7 ms/s 4.7 Process /usr/bin/plasma-desktop
 45.5 µs/s 2.6 Process [ips-monitor]
 63.8 µs/s 2.6 Interrupt [4] block(softirq)
160.8 µs/s 2.4 Process /usr/lib/upower/upowerd
595.5 µs/s 1.0 Process /usr/bin/python /usr/sbin/powernapd
 89.3 µs/s 1.1 Process /usr/bin/krunner
182.6 µs/s 1.0 Process dbus-daemon --system --fork --activation=upstart
 1.6 µs/s 1.0 kWork blk_delay_work
 48.9 µs/s 1.0 kWork iwl_bg_run_time_calib_work
 7.5 µs/s 1.0 kWork pci_pme_list_scan
216.3 µs/s 0.9 Process kdeinit4: kded4 [kdeinit]
 22.9 µs/s 0.8 Process [ksoftirqd/0]
 7.1 µs/s 0.8 Timer watchdog_timer_fn
 1.2 µs/s 0.6 kWork cfq_kick_queue
 14.3 µs/s 0.6 Process [ksoftirqd/1]
 0.0 µs/s 0.5 kWork disk_events_workfn
 1.4 µs/s 0.4 kWork mei_timer
 0.9 ms/s 0.0 Process powertop --html
 41.9 µs/s 0.3 Process [jbd2/sda6-8]
 0.0 µs/s 0.3 kWork acpi_os_execute_deferred
 88.0 µs/s 0.3 Process /usr/bin/dolphin --icon system-file-manager -caption Dolphin /home/jaroslav/phc-intel-0.3.2-12-1
 19.5 µs/s 0.3 Process /usr/bin/gpg-agent --daemon --sh --write-env-file=/home/jaroslav/.gnupg/gpg-agent-info-laptop /usr/bin/dbus-launch --exit-with-
 0.8 ms/s Interrupt [44] iwlwifi
 6.6 µs/s 0.3 Process /usr/lib/rtkit/rtkit-daemon
 0.4 µs/s 0.3 kWork ieee80211_dynamic_ps_enable_wor
 2.4 µs/s 0.2 Process [watchdog/0]
 2.0 µs/s 0.2 Process [watchdog/2]
 1.8 µs/s 0.2 Process [watchdog/3]
 1.8 µs/s 0.2 Process [watchdog/1]
 1.2 µs/s 0.2 Timer sched_rt_period_timer
165.6 µs/s 0.1 Process /usr/bin/konsole -session 10dbd17074000134677984900000017430014_1346878432_469415
 30.6 µs/s 0.2 Interrupt [9] acpi
 4.4 µs/s 0.2 Process [ksoftirqd/3]
 3.8 µs/s 0.2 Process [ips-adjust]
 1.9 µs/s 0.2 Process [fsnotify_mark]
 93.1 µs/s 0.1 Interrupt [7] sched(softirq)
 55.3 µs/s 0.1 Process NetworkManager
 19.6 µs/s 0.1 Process [flush-8:0]
 15.4 µs/s 0.1 Process [jbd2/sda5-8]
 0.8 µs/s 0.1 kWork neigh_periodic_work
125.2 µs/s 0.1 Process /usr/sbin/irqbalance
 25.2 µs/s 0.1 Process //bin/dbus-daemon --fork --print-pid 5 --print-address 7 --session
 5.8 µs/s 0.1 Process kdeinit4: klauncher [kdeinit] --fd=9
 3.4 µs/s 0.1 Process /sbin/wpa_supplicant -B -P /run/sendsigs.omit.d/wpasupplicant.pid -u -s -O /var/run/wpa_supplicant
 42.2 µs/s 0.0 Interrupt [41] SATA controller
 17.9 µs/s 0.0 kWork rt_worker_func
 6.9 µs/s 0.0 kWork iwl_bg_rx_replenish
 2.4 µs/s 0.0 Process [khungtaskd]
 2.2 µs/s 0.0 Process /usr/bin/ssh-agent /usr/bin/gpg-agent --daemon --sh --write-env-file=/home/jaroslav/.gnupg/gpg-agent-info-laptop /usr/bin/dbus-
 1.7 µs/s 0.0 Process rsyslogd -c5
121.4 µs/s Interrupt [1] timer(softirq)
 75.7 µs/s Interrupt [9] RCU(softirq)
 68.4 µs/s Process [kworker/u:0]
 64.3 µs/s Timer process_timeout
 62.6 µs/s Process [kworker/u:1]
 51.7 µs/s Timer tpt_trig_timer
 39.6 µs/s Timer rtl8169_phy_timer
 35.6 µs/s Process [kworker/2:0]
 32.3 µs/s Timer delayed_work_timer_fn
 27.5 µs/s Process [kworker/0:2]
 19.4 µs/s Process [migration/0]
 17.9 µs/s Process [migration/2]
 17.8 µs/s Process [migration/1]
 16.2 µs/s Timer monitor_timeout
 16.0 µs/s Process [kworker/2:1]
 13.6 µs/s kWork vmstat_update
 12.9 µs/s Process [migration/3]
 8.1 µs/s Timer clocksource_watchdog
 6.5 µs/s Process [kworker/1:0]
 6.1 µs/s Process [kworker/3:2]
 4.4 µs/s Process [ksoftirqd/2]
 2.0 µs/s Timer ieee80211_dynamic_ps_timer
 1.2 µs/s Process [kworker/0:1]
 1.1 µs/s Timer commit_timeout
 1.1 µs/s Timer mce_start_timer
 0.9 µs/s Timer neigh_timer_handler
 0.8 µs/s Timer cfq_idle_slice_timer
 0.7 µs/s Timer inet_frag_secret_rebuild
 0.3 µs/s Timer tcp_write_timer
 0.2 µs/s Timer laptop_mode_timer_fn
 0.2 µs/s Interrupt [0] timer/1
 0.1 µs/s kWork scsi_requeue_run_queue
 0.1 µs/s kWork iwl_bg_tt_work
 0.1 µs/s Timer blk_rq_timed_out_timer

Process device activityProcess Device
mount.ntfs /dev/sda7
/dev/fuse
/dev/fuse
/dev/sda2
bluetoothd /dev/rfkill
hddtemp /dev/sda
Xorg /dev/input/event10
/dev/input/event11
/dev/input/event6
/dev/input/event3
/dev/input/event5
/dev/input/event1
/dev/input/event2
/dev/input/event4
/dev/vga_arbiter
/dev/ati/card0
/dev/ati/card0
/dev/ati/card0
/dev/ati/card0
/dev/ati/card0
/dev/ati/card0
upowerd /dev/input/event0
/dev/network_latency
/dev/cpu_dma_latency
pulseaudio /dev/snd/controlC0
/dev/snd/controlC0
/dev/snd/controlC0
/dev/snd/controlC1
/dev/snd/controlC1

Device power reportUsage Device name
 10.0% CPU use
100.0% Audio codec hwC0D0: Realtek
684.0 rpm Laptop fan
301.7 pkts/s Network interface: wlan0 (iwlwifi)
100.0% Radio device: btusb
100.0% Radio device: iwlwifi
100.0% Display backlight
 0.0% USB Device: Intel built in USB hub
 0.0% USB device: Fingerprint Sensor (TouchStrip )
 0.0% USB device: Broadcom Bluetooth Device (Broadcom Corp)
 0.0% USB device: Integrated Camera (Ricoh Company Ltd.)
 0.0% USB device: EHCI Host Controller
 0.0% USB Device: Intel built in USB hub
 0.0% USB device: EHCI Host Controller
100.0% PCI Device: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 4
100.0% PCI Device: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller
100.0% PCI Device: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 6
100.0% PCI Device: Intel Corporation 5 Series/3400 Series Chipset 4 port SATA AHCI Controller
100.0% PCI Device: Intel Corporation 5 Series/3400 Series Chipset Thermal Subsystem
100.0% PCI Device: Advanced Micro Devices [AMD] nee ATI RV710 [Mobility Radeon HD 4500/5100 Series]
100.0% PCI Device: Advanced Micro Devices [AMD] nee ATI RV710/730 HDMI Audio [Radeon HD 4000 series]
100.0% PCI Device: Intel Corporation Centrino Wireless-N 1000
100.0% PCI Device: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 2
100.0% PCI Device: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 1
100.0% PCI Device: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio
100.0% PCI Device: Intel Corporation 5 Series/3400 Series Chipset HECI Controller
100.0% PCI Device: Intel Corporation Core Processor PCI Express x16 Root Port
100.0% Radio device: thinkpad_acpi
 0.0% PCI Device: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller
 0.0% PCI Device: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller
 0.0 pkts/s Network interface: eth0 (r8169)

Software settings in need of tuning
NMI watchdog should be turned off
VM writeback timeout
Enable SATA link power management for /dev/sda


Untunable software issues
PCI Device Intel Corporation Core Processor DRAM Controller has no runtime power management
PCI Device Intel Corporation 82801 Mobile PCI Bridge has no runtime power management
PCI Device Intel Corporation Mobile 5 Series Chipset LPC Interface Controller has no runtime power management
PCI Device Intel Corporation 5 Series/3400 Series Chipset SMBus Controller has no runtime power management
PCI Device Intel Corporation Core Processor QuickPath Architecture Generic Non-core Registers has no runtime power management
PCI Device Intel Corporation Core Processor QuickPath Architecture System Address Decoder has no runtime power management
PCI Device Intel Corporation Core Processor QPI Link 0 has no runtime power management
PCI Device Intel Corporation Core Processor QPI Physical 0 has no runtime power management
PCI Device Intel Corporation Core Processor Reserved has no runtime power management
PCI Device Intel Corporation Core Processor Reserved has no runtime power management


Optimal tuned software settings
Wireless Power Saving for interface wlan0
Bluetooth device interface status
Enable Audio codec power management
Autosuspend for USB device EHCI Host Controller [usb1]
Autosuspend for USB device EHCI Host Controller [usb2]
Autosuspend for unknown USB device 1-1 (8087:0020)
Autosuspend for unknown USB device 2-1 (8087:0020)
Autosuspend for USB device Fingerprint Sensor (TouchStrip )
Autosuspend for USB device Broadcom Bluetooth Device (Broadcom Corp)
Autosuspend for USB device Integrated Camera (Ricoh Company Ltd.)
Runtime PM for PCI Device Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 2
Runtime PM for PCI Device Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 6
Runtime PM for PCI Device Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 4
Runtime PM for PCI Device Intel Corporation 5 Series/3400 Series Chipset Thermal Subsystem
Runtime PM for PCI Device Intel Corporation 5 Series/3400 Series Chipset High Definition Audio
Runtime PM for PCI Device Intel Corporation 5 Series/3400 Series Chipset HECI Controller
Runtime PM for PCI Device Intel Corporation Core Processor PCI Express x16 Root Port
Runtime PM for PCI Device Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller
Runtime PM for PCI Device Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller
Runtime PM for PCI Device Intel Corporation Centrino Wireless-N 1000
Runtime PM for PCI Device Advanced Micro Devices [AMD] nee ATI RV710/730 HDMI Audio [Radeon HD 4000 series]
Runtime PM for PCI Device Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 1
Runtime PM for PCI Device Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller
Runtime PM for PCI Device Intel Corporation 5 Series/3400 Series Chipset 4 port SATA AHCI Controller
Runtime PM for PCI Device Advanced Micro Devices [AMD] nee ATI RV710 [Mobility Radeon HD 4500/5100 Series]
Wake-on-lan status for device eth0
Wake-on-lan status for device wlan0
Using 'ondemand' cpufreq governor
Po tom, co se vše vrátí do "normálu" to vypadá shodně s tím, jak jsem postoval v prvním příspěvku, viz:
Kód: [Vybrat]
PowerTOP report
System informationPowerTOP version 1.97 beta 1
Kernel version Linux version 3.2.0-30-generic (buildd@batsu) (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) #48-Ubuntu SMP Fri Aug 24 16:52:48 UTC 2012
System name LENOVO 0578KNG ThinkPad Edge
CPU information 4x Intel(R) Core(TM) i5 CPU M 460 @ 2.53GHz
OS information

Power consumption summary

315.0 wakeups/second, 0.0 GPU ops/second and 0.0 VFS ops/secUsage Events/s Category Description
 2.9 ms/s 157.4 Interrupt PS/2 Touchpad / Keyboard / Mouse
100.0% Device Audio codec hwC0D0: Realtek
 7.3% 14.6 Process /usr/lib/opera/opera
 0.9% 39.5 Process /usr/bin/X :0 vt7 -br -nolisten tcp -auth /var/run/xauth/A:0-8ZflGa
233.5 µs/s 20.1 Timer hrtimer_wakeup
683.5 rpm Device Laptop fan
395.4 µs/s 15.5 Interrupt [47] fglrx[0]@PCI:1:0:0
422.6 µs/s 12.9 Timer tick_sched_timer
 0.3% 10.8 Process kwin -session 10dbd17074000134677935900000015710000_1346878432_484625
388.7 µs/s 10.6 Interrupt [6] tasklet(softirq)

Processor Idle state reportPackage Core CPU 0 CPU 2
C0 active 5.7% 0.5%
POLL 0.0% 0.0 ms 0.0% 0.0 ms
C1-NHM 0.1% 0.6 ms 0.0% 0.0 ms
C3 (pc3) 27.2% C3 (cc3) 12.6% C3-NHM 4.5% 1.2 ms 9.9% 23.9 ms
C6 (pc6) 40.0% C6 (cc6) 75.7% C6-NHM 86.6% 2.3 ms 89.5% 2.6 ms
  Core CPU 1 CPU 3
  C0 active 1.2% 0.5%
  POLL 0.0% 0.0 ms 0.0% 0.0 ms
  C1-NHM 0.0% 0.2 ms 0.1% 3.3 ms
  C3 (cc3) 29.2% C3-NHM 8.5% 9.1 ms 21.7% 36.9 ms
  C6 (cc6) 66.6% C6-NHM 89.8% 2.9 ms 77.5% 2.6 ms

Processor frequency report Package Core CPU 0 CPU 2
Actual 1.6 Ghz 1377 Mhz
Turbo Mode 5.1% Turbo Mode 5.0% Turbo Mode 5.0% 1.7%
2.54 Ghz 0.0% 2.54 Ghz 0.0% 2.54 Ghz 0.0% 0.0%
2.40 Ghz 0.0% 2.40 Ghz 0.0% 2.40 Ghz 0.0% 0.0%
2.27 Ghz 0.0% 2.27 Ghz 0.0% 2.27 Ghz 0.0% 0.0%
2.14 Ghz 0.0% 2.14 Ghz 0.0% 2.14 Ghz 0.0% 0.0%
2.00 Ghz 0.0% 2.00 Ghz 0.0% 2.00 Ghz 0.0% 0.0%
1.87 Ghz 0.0% 1.87 Ghz 0.0% 1.87 Ghz 0.0% 0.0%
1.74 Ghz 0.0% 1.74 Ghz 0.0% 1.74 Ghz 0.0% 0.0%
1.60 Ghz 0.0% 1.60 Ghz 0.0% 1.60 Ghz 0.0% 0.0%
1466 Mhz 0.0% 1466 Mhz 0.0% 1466 Mhz 0.0% 0.0%
  Core CPU 1 CPU 3
  Actual 1495 Mhz 1403 Mhz
  Turbo Mode 1.4% Turbo Mode 1.4% 1.2%
  2.54 Ghz 0.0% 2.54 Ghz 0.0% 0.0%
  2.40 Ghz 0.0% 2.40 Ghz 0.0% 0.0%
  2.27 Ghz 0.0% 2.27 Ghz 0.0% 0.0%
  2.14 Ghz 0.0% 2.14 Ghz 0.0% 0.0%
  2.00 Ghz 0.0% 2.00 Ghz 0.0% 0.0%
  1.87 Ghz 0.0% 1.87 Ghz 0.0% 0.0%
  1.74 Ghz 0.0% 1.74 Ghz 0.0% 0.0%
  1.60 Ghz 0.0% 1.60 Ghz 0.0% 0.0%
  1466 Mhz 0.0% 1466 Mhz 0.0% 0.0%

Overview of software power consumersUsage Wakeups/s GPU ops/s Disk IO/s Category Description
 2.9 ms/s 157.4 Interrupt PS/2 Touchpad / Keyboard / Mouse
 73.0 ms/s 14.6 Process /usr/lib/opera/opera
 8.6 ms/s 39.5 Process /usr/bin/X :0 vt7 -br -nolisten tcp -auth /var/run/xauth/A:0-8ZflGa
233.5 µs/s 20.1 Timer hrtimer_wakeup
395.4 µs/s 15.5 Interrupt [47] fglrx[0]@PCI:1:0:0
422.6 µs/s 12.9 Timer tick_sched_timer
 3.5 ms/s 10.8 Process kwin -session 10dbd17074000134677935900000015710000_1346878432_484625
388.7 µs/s 10.6 Interrupt [6] tasklet(softirq)
 3.5 ms/s 7.4 Process /usr/bin/plasma-desktop
175.5 µs/s 6.9 Process [ktpacpi_nvramd]
 74.2 µs/s 6.1 kWork ieee80211_iface_work
 73.9 µs/s 2.4 Process [ips-monitor]
 1.0 ms/s 1.8 Process /usr/bin/rekonq /home/jaroslav/powertop.html
608.6 µs/s 0.8 Process /usr/bin/python /usr/sbin/powernapd
 66.1 µs/s 0.8 Process /usr/bin/krunner
 7.3 µs/s 0.7 Timer watchdog_timer_fn
 19.2 µs/s 0.4 Interrupt [4] block(softirq)
 0.9 ms/s 0.0 Process powertop --html
148.5 µs/s 0.3 Process kdeinit4: kded4 [kdeinit]
 16.0 µs/s 0.3 Process [ksoftirqd/1]
 0.0 µs/s 0.3 kWork disk_events_workfn
 1.1 µs/s 0.3 kWork mei_timer
 0.5 µs/s 0.3 kWork blk_delay_work
156.8 µs/s 0.2 Process /usr/bin/konsole -session 10dbd17074000134677984900000017430014_1346878432_469415
 19.2 µs/s 0.2 Interrupt [9] acpi
 6.8 µs/s 0.2 Process [ksoftirqd/0]
 0.0 µs/s 0.2 kWork acpi_os_execute_deferred
 32.2 µs/s 0.2 Process /usr/bin/dolphin --icon system-file-manager -caption Dolphin /home/jaroslav/phc-intel-0.3.2-12-1
 19.2 µs/s 0.2 Process /usr/bin/gpg-agent --daemon --sh --write-env-file=/home/jaroslav/.gnupg/gpg-agent-info-laptop /usr/bin/dbus-launch --exit-with-
 2.2 µs/s 0.2 Process [watchdog/2]
 2.2 µs/s 0.2 Process [watchdog/1]
 1.9 µs/s 0.2 Process [watchdog/3]
 64.3 µs/s 0.1 Process NetworkManager
 51.1 µs/s 0.1 Process //bin/dbus-daemon --fork --print-pid 5 --print-address 7 --session
420.5 µs/s Interrupt [44] iwlwifi
148.0 µs/s 0.1 Process /usr/sbin/irqbalance
 9.7 µs/s 0.1 Process [jbd2/sda5-8]
 6.9 µs/s 0.1 Process /usr/lib/rtkit/rtkit-daemon
 4.2 µs/s 0.1 Process [ips-adjust]
 3.8 µs/s 0.1 Process [flush-8:0]
 2.3 µs/s 0.1 Process [watchdog/0]
 1.0 µs/s 0.1 Timer sched_rt_period_timer
 84.4 µs/s 0.1 Interrupt [7] sched(softirq)
 54.4 µs/s 0.1 Process dbus-daemon --system --fork --activation=upstart
 24.4 µs/s 0.1 kWork iwl_bg_run_time_calib_work
 21.4 µs/s 0.1 Interrupt [41] SATA controller
 4.2 µs/s 0.1 Process /sbin/wpa_supplicant -B -P /run/sendsigs.omit.d/wpasupplicant.pid -u -s -O /var/run/wpa_supplicant
 1.7 µs/s 0.1 Process [sync_supers]
 0.7 µs/s 0.1 kWork neigh_periodic_work
 0.2 µs/s 0.1 kWork cfq_kick_queue
220.9 µs/s Timer delayed_work_timer_fn
178.3 µs/s kWork do_dbs_timer
159.2 µs/s Process [kworker/0:0]
147.7 µs/s Interrupt [1] timer(softirq)
 9.5 µs/s 0.0 Process [jbd2/sda6-8]
 3.9 µs/s 0.0 Process [ksoftirqd/2]
 3.2 µs/s 0.0 Process /usr/bin/ssh-agent /usr/bin/gpg-agent --daemon --sh --write-env-file=/home/jaroslav/.gnupg/gpg-agent-info-laptop /usr/bin/dbus-
 2.4 µs/s 0.0 Process cron
 1.2 µs/s 0.0 Process rsyslogd -c5
112.8 µs/s Timer process_timeout
 95.5 µs/s Process [kworker/u:1]
 90.1 µs/s Process [kworker/u:2]
 61.2 µs/s Process [kworker/1:0]
 60.7 µs/s Process [kworker/2:2]
 48.2 µs/s Interrupt [9] RCU(softirq)
 39.3 µs/s Timer rtl8169_phy_timer
 29.6 µs/s Process [migration/0]
 28.0 µs/s Timer tpt_trig_timer
 23.5 µs/s Process [kworker/3:2]
 17.2 µs/s Process [migration/2]
 16.1 µs/s Process [migration/1]
 12.8 µs/s Process [migration/3]
 11.6 µs/s kWork vmstat_update
 11.2 µs/s Timer monitor_timeout
 8.9 µs/s kWork iwl_bg_rx_replenish
 8.6 µs/s Process [ksoftirqd/3]
 7.0 µs/s Timer clocksource_watchdog
 1.1 µs/s kWork ieee80211_sta_monitor_work
 0.7 µs/s Process [kworker/0:2]
 0.5 µs/s Interrupt [8] hrtimer(softirq)
 0.5 µs/s Timer sync_supers_timer_fn
 0.4 µs/s Timer commit_timeout
 0.3 µs/s Timer cfq_idle_slice_timer
 0.3 µs/s Timer inet_twdr_hangman
 0.1 µs/s Timer ieee80211_sta_conn_mon_timer
 0.1 µs/s Timer wakeup_timer_fn
 0.1 µs/s Timer blk_rq_timed_out_timer
 0.1 µs/s kWork iwl_bg_tt_work

Process device activityProcess Device
mount.ntfs /dev/sda7
/dev/fuse
/dev/fuse
/dev/sda2
bluetoothd /dev/rfkill
hddtemp /dev/sda
Xorg /dev/input/event10
/dev/input/event11
/dev/input/event6
/dev/input/event3
/dev/input/event5
/dev/input/event1
/dev/input/event2
/dev/input/event4
/dev/vga_arbiter
/dev/ati/card0
/dev/ati/card0
/dev/ati/card0
/dev/ati/card0
/dev/ati/card0
/dev/ati/card0
upowerd /dev/input/event0
/dev/network_latency
/dev/cpu_dma_latency
pulseaudio /dev/snd/controlC0
/dev/snd/controlC0
/dev/snd/controlC0
/dev/snd/controlC1
/dev/snd/controlC1

Device power reportUsage Device name
 9.9% CPU use
100.0% Audio codec hwC0D0: Realtek
683.5 rpm Laptop fan
231.2 pkts/s Network interface: wlan0 (iwlwifi)
100.0% USB Device: Intel built in USB hub
100.0% USB device: Fingerprint Sensor (TouchStrip )
100.0% USB device: Broadcom Bluetooth Device (Broadcom Corp)
100.0% USB device: Integrated Camera (Ricoh Company Ltd.)
100.0% USB device: EHCI Host Controller
100.0% Radio device: btusb
100.0% Radio device: iwlwifi
100.0% USB Device: Intel built in USB hub
100.0% USB device: EHCI Host Controller
100.0% Display backlight
100.0% PCI Device: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 6
100.0% PCI Device: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller
100.0% PCI Device: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller
100.0% PCI Device: Intel Corporation 5 Series/3400 Series Chipset 4 port SATA AHCI Controller
100.0% PCI Device: Intel Corporation 5 Series/3400 Series Chipset Thermal Subsystem
100.0% PCI Device: Advanced Micro Devices [AMD] nee ATI RV710 [Mobility Radeon HD 4500/5100 Series]
100.0% PCI Device: Advanced Micro Devices [AMD] nee ATI RV710/730 HDMI Audio [Radeon HD 4000 series]
100.0% PCI Device: Intel Corporation Centrino Wireless-N 1000
100.0% PCI Device: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 4
100.0% PCI Device: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 2
100.0% PCI Device: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 1
100.0% PCI Device: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio
100.0% PCI Device: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller
100.0% PCI Device: Intel Corporation 5 Series/3400 Series Chipset HECI Controller
100.0% PCI Device: Intel Corporation Core Processor PCI Express x16 Root Port
100.0% Radio device: thinkpad_acpi
 0.0 pkts/s Network interface: eth0 (r8169)

Software settings in need of tuning
Wireless Power Saving for interface wlan0
Enable SATA link power management for /dev/sda
NMI watchdog should be turned off
VM writeback timeout
Enable Audio codec power management
Autosuspend for USB device EHCI Host Controller [usb1]
Autosuspend for USB device EHCI Host Controller [usb2]
Autosuspend for unknown USB device 1-1 (8087:0020)
Autosuspend for unknown USB device 2-1 (8087:0020)
Autosuspend for USB device Fingerprint Sensor (TouchStrip )
Autosuspend for USB device Broadcom Bluetooth Device (Broadcom Corp)
Autosuspend for USB device Integrated Camera (Ricoh Company Ltd.)
Runtime PM for PCI Device Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller
Runtime PM for PCI Device Intel Corporation 5 Series/3400 Series Chipset High Definition Audio
Runtime PM for PCI Device Advanced Micro Devices [AMD] nee ATI RV710/730 HDMI Audio [Radeon HD 4000 series]
Runtime PM for PCI Device Intel Corporation Centrino Wireless-N 1000


Untunable software issues
PCI Device Intel Corporation Core Processor DRAM Controller has no runtime power management
PCI Device Intel Corporation 82801 Mobile PCI Bridge has no runtime power management
PCI Device Intel Corporation Mobile 5 Series Chipset LPC Interface Controller has no runtime power management
PCI Device Intel Corporation 5 Series/3400 Series Chipset SMBus Controller has no runtime power management
PCI Device Intel Corporation Core Processor QuickPath Architecture Generic Non-core Registers has no runtime power management
PCI Device Intel Corporation Core Processor QuickPath Architecture System Address Decoder has no runtime power management
PCI Device Intel Corporation Core Processor QPI Link 0 has no runtime power management
PCI Device Intel Corporation Core Processor QPI Physical 0 has no runtime power management
PCI Device Intel Corporation Core Processor Reserved has no runtime power management
PCI Device Intel Corporation Core Processor Reserved has no runtime power management


Optimal tuned software settings
Bluetooth device interface status
Runtime PM for PCI Device Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 6
Runtime PM for PCI Device Intel Corporation Core Processor PCI Express x16 Root Port
Runtime PM for PCI Device Intel Corporation 5 Series/3400 Series Chipset HECI Controller
Runtime PM for PCI Device Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller
Runtime PM for PCI Device Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 2
Runtime PM for PCI Device Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 4
Runtime PM for PCI Device Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller
Runtime PM for PCI Device Intel Corporation 5 Series/3400 Series Chipset 4 port SATA AHCI Controller
Runtime PM for PCI Device Advanced Micro Devices [AMD] nee ATI RV710 [Mobility Radeon HD 4500/5100 Series]
Runtime PM for PCI Device Intel Corporation 5 Series/3400 Series Chipset Thermal Subsystem
Runtime PM for PCI Device Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 1
Wake-on-lan status for device eth0
Wake-on-lan status for device wlan0
Using 'ondemand' cpufreq governor
Tak si říkám, že ono se to provede, ale je tam něco, co to přepisuje zpět na původní hodnoty, po úpravě se to vše vrátí po několika vteřinách, max minuta.
Teď otázka, jak to tedy změnit a pak, jak jednotlivé úkoly udělat samostatně bez podpory programu powernap?

Já právě vím, že tim uspořím energii, proto to dělám, nicméně se mi to zatím nedaří, to je ten problém ale děkuju. Zbytek odpovědi, viz výše.
« Poslední změna: 05 Září 2012, 23:58:16 od JARDA001 »

Rover623

Re:Nastavení power managementu komponent
« Odpověď #5 kdy: 06 Září 2012, 00:45:23 »
Na tu Wifi bych zkusil tohle
Kód: [Vybrat]
sudo gedit /etc/pm/power.d/wireless.sh to by mělo vytvořit prázdný soubor, do něj zapsat tohle
Kód: [Vybrat]
#!/bin/sh

/sbin/iwconfig wlan0 power on
uložit, zavřít a přidělit spustitelný příznak
Kód: [Vybrat]
sudo chmod +x /etc/pm/power.d/wireless.sh nakonec restartovat
Kód: [Vybrat]
sudo shutdown -r now

JARDA001

  • Aktivní člen
  • *
  • Příspěvků: 236
Re:Nastavení power managementu komponent
« Odpověď #6 kdy: 06 Září 2012, 00:55:18 »
stejné, když jsem spustil powertop hned po startu, tak to fungovalo ale pak se opět přeplo na bad, takže stále nic.

JARDA001

  • Aktivní člen
  • *
  • Příspěvků: 236
Re:Nastavení power managementu komponent
« Odpověď #7 kdy: 06 Září 2012, 01:32:03 »
Zkusil jsem udělat prasárnu a přes root účet nastavil přístup všem, uživatelům a skupinám a po přepnutí na můj účet už to nepíše Permisison denied ale
Kód: [Vybrat]
enabled]  kms_powermode        -
[enabled]  cpu_frequency        - Lowers the CPU frequency, changing the scaling governor from ondemand to powersave.
[enabled]  usb                  - Removes support of USB 1.1 to save power.
[enabled]  eth_speed            - Change Gigabit Ethernet card speed to 100Mbps to save power.
[enabled]  usb_autosuspend      - Auto suspend USB bus to save power.
[enabled]  00flag               -
[enabled]  video                - Disable CRT and DVI outputs.
[enabled]  01cpu_online         - Turns off all the CPU's (cores) available but CPU0. (Tuto položku jsem smazal, nechci běh pouze na jedno jádro)
Výsledek je, že, v powertopu je vše good (když si to pak popřepínám) a stabilně drží, pokud ale připojím adaptér tak se to opět vrátí zpět. Když pak spustím powernap-now, opět vše běží chvíli.
Nemám to úplně otestovaný ale aktuálně se to tak projevilo, radši bych to ale udělal na úrovni ovladačů manuálně a toho powernapu se zbavil, neví někdo kde to udělat? Zároveň by to ale chtělo pořešit to, proč se to přepíná samo zpět. Předem díky.

JARDA001

  • Aktivní člen
  • *
  • Příspěvků: 236
Re:Nastavení power managementu komponent
« Odpověď #8 kdy: 06 Září 2012, 23:02:46 »
Tak jsem se v tom šťoural a při úpravě aspm, kde jsem do grubu připsal příkaz
Kód: [Vybrat]
pcie_aspm=force jsem pak narazil na thinkwiki na článek řešící z velké části právě to, nač jsem se ptal:  http://www.thinkwiki.org/wiki/How_to_reduce_power_consumption. Tam lze najít třeba příkaz
Kód: [Vybrat]
usbcore.autosuspend=1, což právě povolilo PM pro vše na usb, čili z výpisu výše na EHCI, camera, fingerprint reader apod. Další parametry mě ještě čekají, některé zatím nevím, kam s nimi. Průběžně bych to sem rád doplnil (a případně si aj nechal poradit) aby to mohlo sloužit i dalším lidem toužící po dlouhé výdrži notesu. Prozatím díky všem, pokud bych nevěděl, kde co upravit, rád bych se vás opět zeptal. Díky

JARDA001

  • Aktivní člen
  • *
  • Příspěvků: 236
Re:Nastavení power managementu komponent
« Odpověď #9 kdy: 07 Září 2012, 10:35:52 »
Další věc, po nastavení PM pro zvukovku, začalo v repro praskat, ověřeno i zde na foru -> nenastavujte PM pro zvukovky.

Roman Vacho

  • Moderátor
  • Závislák
  • ***
  • Příspěvků: 6029
Re:Nastavení power managementu komponent
« Odpověď #10 kdy: 07 Září 2012, 13:23:33 »
Další věc, po nastavení PM pro zvukovku, začalo v repro praskat, ověřeno i zde na foru -> nenastavujte PM pro zvukovky.
Proto se to zatím a i jiné úspornosti nepoužívají globálně. Žel si to musí každý ozkoušet.
Vyřešená vlákna je vhodné uzavřít "Topic Solved" dole pod vláknem. Děkujeme.

JARDA001

  • Aktivní člen
  • *
  • Příspěvků: 236
Re:Nastavení power managementu komponent
« Odpověď #11 kdy: 07 Září 2012, 16:35:39 »
Jasný, chápu. Přiznám se, že jsem nevěděl, že to bude mít tenhle efekt. Mě šlo hlavně o to USB, což se podařilo a předně o CPU a GPU PM, což jsem též rozchodil. Aktuálně jsem spokojena výdrž též dobrá. Jinak, máš samozřejmě pravdu:)

Rover623

Re:Nastavení power managementu komponent
« Odpověď #12 kdy: 07 Září 2012, 19:41:21 »
Tedy já na to na posledním notebooku ani nesáhl a i tak mám se zapnutou Wifi a BT odběr z baterie kolem 8W, s Windows 7 mám skoro trojnásobek

JARDA001

  • Aktivní člen
  • *
  • Příspěvků: 236
Re:Nastavení power managementu komponent
« Odpověď #13 kdy: 08 Září 2012, 01:18:37 »
Mě skákalo kolem 15-20W (v podstatě jenom konsole) a teploty 80-90°C a aktuálně spotřeba cca10-15W (i s Operou apod.) a teploty běžně mezi 50 a 60°C, spíš k pade. Teď jsem přišel k notesu, zvedl víko a od té doby teploty od 40 do 50°C (i s operou, kpat apod.). Takže teď jsem spokoj, teplota nestoupá ani při zacpání (položení na postel), takže za mě super a baterka teď snad taky něco vydrží;)

 

Provoz zaštiťuje spolek OpenAlt.