* [Hardware] q: HDA Intel: 40+ wakeups/sec @ 2009-04-03 22:04 Michael Shigorin 2009-04-04 9:13 ` Konstantin A. Lepikhov 0 siblings, 1 reply; 7+ messages in thread From: Michael Shigorin @ 2009-04-03 22:04 UTC (permalink / raw) To: hardware Здравствуйте. Ни у кого часом нет мыслей по поводу такой картинки? Из нагугленного -- load snd-hda-intel with "power_save=10 power_save_controller=Y" options (https://wiki.edubuntu.org/OGerlich/Powertop), но ещё не успел проверить; если сработает -- мож куда-то в дефолты? PowerTOP version 1.10 (C) 2007 Intel Corporation Cn Avg residency P-states (frequencies) C0 (cpu running) ( 1.3%) 1.84 Ghz 0.0% C0 0.0ms ( 0.0%) 1333 Mhz 0.0% C1 halt 0.0ms ( 0.0%) 1000 Mhz 100.0% C2 0.8ms ( 0.0%) C3 5.9ms (98.7%) Wakeups-from-idle per second : 166.7 interval: 15.0s Power usage (ACPI estimate): 13.8W (1.0 hours) (long term: 16.2W,/0.9h) Top causes for wakeups: 27.9% ( 46.9) <interrupt> : HDA Intel ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 20.0% ( 33.5) <interrupt> : iwl3945 10.2% ( 17.2) seamonkey-bin : futex_wait (hrtimer_wakeup) 9.0% ( 15.1) psi : schedule_timeout (process_timeout) 8.3% ( 14.0) <interrupt> : extra timer interrupt 5.4% ( 9.1) <kernel IPI> : Rescheduling interrupts 5.4% ( 9.0) <interrupt> : acpi Lenovo Thinkpad X60 Tablet, 2.6.27-std-def-alt15 00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02) Subsystem: Lenovo ThinkPad T60/R60 series Kernel driver in use: HDA Intel Kernel modules: snd-hda-intel Микрофон за'mute'н, запись стоит не с него. -- ---- WBR, Michael Shigorin <mike@altlinux.ru> ------ Linux.Kiev http://www.linux.kiev.ua/ ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Hardware] q: HDA Intel: 40+ wakeups/sec 2009-04-03 22:04 [Hardware] q: HDA Intel: 40+ wakeups/sec Michael Shigorin @ 2009-04-04 9:13 ` Konstantin A. Lepikhov 2009-04-04 12:32 ` [Hardware] *SOLVED* " Michael Shigorin 0 siblings, 1 reply; 7+ messages in thread From: Konstantin A. Lepikhov @ 2009-04-04 9:13 UTC (permalink / raw) To: hardware, shigorin Hi Michael! Saturday 04, at 01:04:06 AM you wrote: > Здравствуйте. > Ни у кого часом нет мыслей по поводу такой картинки? > Из нагугленного -- load snd-hda-intel with > "power_save=10 power_save_controller=Y" options > (https://wiki.edubuntu.org/OGerlich/Powertop), > но ещё не успел проверить; если сработает -- > мож куда-то в дефолты? > > PowerTOP version 1.10 (C) 2007 Intel Corporation > > Cn Avg residency P-states (frequencies) > C0 (cpu running) ( 1.3%) 1.84 Ghz 0.0% > C0 0.0ms ( 0.0%) 1333 Mhz 0.0% > C1 halt 0.0ms ( 0.0%) 1000 Mhz 100.0% > C2 0.8ms ( 0.0%) > C3 5.9ms (98.7%) > > Wakeups-from-idle per second : 166.7 interval: 15.0s > Power usage (ACPI estimate): 13.8W (1.0 hours) (long term: 16.2W,/0.9h) > > Top causes for wakeups: > 27.9% ( 46.9) <interrupt> : HDA Intel > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > 20.0% ( 33.5) <interrupt> : iwl3945 > 10.2% ( 17.2) seamonkey-bin : futex_wait (hrtimer_wakeup) > 9.0% ( 15.1) psi : schedule_timeout (process_timeout) > 8.3% ( 14.0) <interrupt> : extra timer interrupt > 5.4% ( 9.1) <kernel IPI> : Rescheduling interrupts > 5.4% ( 9.0) <interrupt> : acpi > > Lenovo Thinkpad X60 Tablet, 2.6.27-std-def-alt15 > > 00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02) > Subsystem: Lenovo ThinkPad T60/R60 series > Kernel driver in use: HDA Intel > Kernel modules: snd-hda-intel > > Микрофон за'mute'н, запись стоит не с него. А на 2.6.29 проверял? http://www.unsafe.ru/lakostis/RPMS/ALTLinux/testing/ -- WBR et al. ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Hardware] *SOLVED* Re: q: HDA Intel: 40+ wakeups/sec 2009-04-04 9:13 ` Konstantin A. Lepikhov @ 2009-04-04 12:32 ` Michael Shigorin 2009-04-04 13:32 ` Konstantin A. Lepikhov 0 siblings, 1 reply; 7+ messages in thread From: Michael Shigorin @ 2009-04-04 12:32 UTC (permalink / raw) To: hardware [-- Attachment #1: Type: text/plain, Size: 3342 bytes --] On Sat, Apr 04, 2009 at 01:13:48PM +0400, Konstantin A. Lepikhov wrote: > > Lenovo Thinkpad X60 Tablet, 2.6.27-std-def-alt15 > А на 2.6.29 проверял? http://www.unsafe.ru/lakostis/RPMS/ALTLinux/testing/ Не, 2.6.29 я не собираюсь использовать по эстетическим соображениям. Твоих 2.6.28 здесь тоже пока не было, до позавчера машинка администрировалась скорее в режиме попытки прикинуться простым пользователем (tm), а с тех пор пошла в работу. > > 27.9% ( 46.9) <interrupt> : HDA Intel > > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > > Из нагугленного -- load snd-hda-intel with > > "power_save=10 power_save_controller=Y" options Ага, помогло. "На лету" так: amixer set CD mute nocap >&/dev/null amixer set Mic mute nocap >&/dev/null #amixer set Line mute nocap >&/dev/null echo 10 > /sys/module/snd_hda_intel/parameters/power_save echo Y > /sys/module/snd_hda_intel/parameters/power_save_controller Звук немного "сжамкивается" на старте, посмотрю, насколько это будет критично (пока -- нет). > > 20.0% ( 33.5) <interrupt> : iwl3945 Поднял на точке beacon interval (100->1000 ms): 13.1% ( 14.0) <interrupt> : iwl3945 Про DTIM interval почитал, но пока не трогал: https://docs.symbol.com/KanisaPlatform/Publishing/903/WID-00585_f.SAL_Public.html http://wireless-nets.blogspot.com/2008/07/beacon-interval-impacts-on-battery-life.html > > 10.2% ( 17.2) seamonkey-bin : futex_wait (hrtimer_wakeup) Это будет следующей целью, если вообще атакуемой. :) > > 9.0% ( 15.1) psi : schedule_timeout (process_timeout) https://bugzilla.altlinux.org/show_bug.cgi?id=19479 -- теперь: 1.9% ( 2.0) psi : schedule_timeout (process_timeout) > > 5.4% ( 9.1) <kernel IPI> : Rescheduling interrupts А, вот это ещё попробовал порыть опять -- тишина. /sys/devices/system/cpu/sched_mc_power_savings не предлагать, это про multi-socket, а не multicore. > > 5.4% ( 9.0) <interrupt> : acpi PS: тут ещё жили wmaker, wmclock и wmacpi, все пропатчены, но к сожалению -- не все патчи долетели до пакетов в сизифе: https://bugzilla.altlinux.org/show_bug.cgi?id=15951 У меня сейчас так: 4.7% ( 5.0) wmaker : schedule_timeout (process_timeout) 0.5% ( 0.5) wmacpi : schedule_timeout (process_timeout) (wmclock обычно не видать) в итоге X60 с 8-cell battery при довольно высокой яркости и работе через wifi грозится жить заметно более пяти часов: tab:~> head /proc/acpi/battery/BAT0/* ==> /proc/acpi/battery/BAT0/alarm <== alarm: 3474 mWh ==> /proc/acpi/battery/BAT0/info <== present: yes design capacity: 66240 mWh last full capacity: 69490 mWh battery technology: rechargeable design voltage: 14400 mV design capacity warning: 3474 mWh design capacity low: 200 mWh capacity granularity 1: 1 mWh capacity granularity 2: 1 mWh model number: 93P5032 ==> /proc/acpi/battery/BAT0/state <== present: yes capacity state: ok charging state: discharging present rate: 10508 mW remaining capacity: 53290 mWh present voltage: 14843 mV tab:~> acpi Battery 1: discharging, 76%, 04:59:43 remaining :) -- ---- WBR, Michael Shigorin <mike@altlinux.ru> ------ Linux.Kiev http://www.linux.kiev.ua/ [-- Attachment #2: rc.local --] [-- Type: text/plain, Size: 1522 bytes --] #!/bin/sh [ -d /sys/devices/platform/hdaps ] && cat /etc/hdaps.calibration > /sys/devices/platform/hdaps/calibrate [ -d /sys/devices/system/cpu/cpu0/cpufreq/ ] && { echo ondemand >/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor echo ondemand >/sys/devices/system/cpu/cpu1/cpufreq/scaling_governor echo 1 >/sys/devices/system/cpu/cpu0/cpufreq/ondemand/ignore_nice_load echo 5000000 > /sys/devices/system/cpu/cpu0/cpufreq/ondemand/sampling_rate } # http://www.thinkwiki.org/wiki/How_to_reduce_power_consumption echo 0 > /proc/sys/kernel/nmi_watchdog echo 10 > /sys/module/snd_hda_intel/parameters/power_save echo Y > /sys/module/snd_hda_intel/parameters/power_save_controller amixer set CD mute nocap >&/dev/null amixer set Mic mute nocap >&/dev/null for i in /sys/bus/usb/devices/*/power/autosuspend; do echo 1 > $i; done echo min_power > /sys/class/scsi_host/host0/link_power_management_policy echo min_power > /sys/class/scsi_host/host1/link_power_management_policy echo 5 > /proc/sys/vm/laptop_mode echo 1500 > /proc/sys/vm/dirty_writeback_centisecs echo dvi_disable > /proc/acpi/ibm/video echo crt_disable > /proc/acpi/ibm/video echo disable > /proc/acpi/ibm/bluetooth # powertop (I spotted the dups, it's sort of a log) echo 5 > /sys/bus/pci/drivers/iwl3945/0000:03:00.0/power_level echo min_power > /sys/class/scsi_host/host0/link_power_management_policy echo 1500 > /proc/sys/vm/dirty_writeback_centisecs ethtool -s eth0 wol d >&/dev/null echo 5 > /proc/sys/vm/laptop_mode ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Hardware] *SOLVED* Re: q: HDA Intel: 40+ wakeups/sec 2009-04-04 12:32 ` [Hardware] *SOLVED* " Michael Shigorin @ 2009-04-04 13:32 ` Konstantin A. Lepikhov 2009-04-04 14:12 ` Michael Shigorin 0 siblings, 1 reply; 7+ messages in thread From: Konstantin A. Lepikhov @ 2009-04-04 13:32 UTC (permalink / raw) To: hardware, shigorin Hi Michael! Saturday 04, at 03:32:19 PM you wrote: > On Sat, Apr 04, 2009 at 01:13:48PM +0400, Konstantin A. Lepikhov wrote: > > > Lenovo Thinkpad X60 Tablet, 2.6.27-std-def-alt15 > > А на 2.6.29 проверял? http://www.unsafe.ru/lakostis/RPMS/ALTLinux/testing/ > > Не, 2.6.29 я не собираюсь использовать по эстетическим > соображениям. Твоих 2.6.28 здесь тоже пока не было, > до позавчера машинка администрировалась скорее в режиме > попытки прикинуться простым пользователем (tm), а с тех > пор пошла в работу. "а вы батенька эстет" (c) <skip> > present rate: 10508 mW > remaining capacity: 53290 mWh > present voltage: 14843 mV > tab:~> acpi > Battery 1: discharging, 76%, 04:59:43 remaining > :) > о боже, только букв, а все равно результат меньше, чем у eee-901 с xfce с настройками "по умолчанию" ;) -- WBR et al. ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Hardware] *SOLVED* Re: q: HDA Intel: 40+ wakeups/sec 2009-04-04 13:32 ` Konstantin A. Lepikhov @ 2009-04-04 14:12 ` Michael Shigorin 2009-04-04 19:15 ` Konstantin A. Lepikhov 0 siblings, 1 reply; 7+ messages in thread From: Michael Shigorin @ 2009-04-04 14:12 UTC (permalink / raw) To: hardware On Sat, Apr 04, 2009 at 05:32:10PM +0400, Konstantin A. Lepikhov wrote: > > Battery 1: discharging, 76%, 04:59:43 remaining > > :) > о боже, только букв, а все равно результат меньше, > чем у eee-901 с xfce с настройками "по умолчанию" ;) Ты четверть добавить сам справился? :) Выходит шесть часов с яркостью выше средней и wifi. Меня собсно беспокоит то, как бы это всё безобразие одистрибутивить. -- ---- WBR, Michael Shigorin <mike@altlinux.ru> ------ Linux.Kiev http://www.linux.kiev.ua/ ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Hardware] *SOLVED* Re: q: HDA Intel: 40+ wakeups/sec 2009-04-04 14:12 ` Michael Shigorin @ 2009-04-04 19:15 ` Konstantin A. Lepikhov 2009-04-05 5:15 ` Michael Shigorin 0 siblings, 1 reply; 7+ messages in thread From: Konstantin A. Lepikhov @ 2009-04-04 19:15 UTC (permalink / raw) To: hardware, shigorin Hi Michael! Saturday 04, at 05:12:19 PM you wrote: > On Sat, Apr 04, 2009 at 05:32:10PM +0400, Konstantin A. Lepikhov wrote: > > > Battery 1: discharging, 76%, 04:59:43 remaining > > > :) > > о боже, только букв, а все равно результат меньше, > > чем у eee-901 с xfce с настройками "по умолчанию" ;) > > Ты четверть добавить сам справился? :) > Выходит шесть часов с яркостью выше средней и wifi. Я просто купил правильное железо и использовал правильное ядро ;) Тоже 6 часов, со включенным wifi и кардридером. > > Меня собсно беспокоит то, как бы это всё безобразие > одистрибутивить. Боюсь, такое кол-во хаков никому не нужно. Лучше исправлять сразу в драйверах, или в какой-то sysfs'ошной специфичной обвязке. -- WBR et al. ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Hardware] *SOLVED* Re: q: HDA Intel: 40+ wakeups/sec 2009-04-04 19:15 ` Konstantin A. Lepikhov @ 2009-04-05 5:15 ` Michael Shigorin 0 siblings, 0 replies; 7+ messages in thread From: Michael Shigorin @ 2009-04-05 5:15 UTC (permalink / raw) To: hardware On Sat, Apr 04, 2009 at 11:15:55PM +0400, Konstantin A. Lepikhov wrote: > > > > Battery 1: discharging, 76%, 04:59:43 remaining > > > > :) > > > о боже, только букв, а все равно результат меньше, > > > чем у eee-901 с xfce с настройками "по умолчанию" ;) > > Ты четверть добавить сам справился? :) > > Выходит шесть часов с яркостью выше средней и wifi. > Я просто купил правильное железо и использовал правильное ядро > ;) Тоже 6 часов, со включенным wifi и кардридером. Ну да, sdhci не выгружал. Труды по поводу подготовки кастомного ядра и кастомной настройки дефолтного сравнивать не буду. :) Здесь скорее всего твоё 2.6.28 будет, но по другой причине (см. #19459) и если hdaps себя "окупит", в чём я со слов raorn@ примерно годовалой давности не уверен. > > Меня собсно беспокоит то, как бы это всё безобразие > > одистрибутивить. > Боюсь, такое кол-во хаков никому не нужно. Лучше исправлять > сразу в драйверах, или в какой-то sysfs'ошной специфичной > обвязке. Кое-что пучком (например, стопка типовых рекомендаций powertop) вполне должно дистрибутивиться. Ты в дебиан-убунтушный acpi-support часом не смотрел? Похоже, туда много какие концы у них уходят, да вот всё никак... -- ---- WBR, Michael Shigorin <mike@altlinux.ru> ------ Linux.Kiev http://www.linux.kiev.ua/ ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2009-04-05 5:15 UTC | newest] Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2009-04-03 22:04 [Hardware] q: HDA Intel: 40+ wakeups/sec Michael Shigorin 2009-04-04 9:13 ` Konstantin A. Lepikhov 2009-04-04 12:32 ` [Hardware] *SOLVED* " Michael Shigorin 2009-04-04 13:32 ` Konstantin A. Lepikhov 2009-04-04 14:12 ` Michael Shigorin 2009-04-04 19:15 ` Konstantin A. Lepikhov 2009-04-05 5:15 ` Michael Shigorin
ALT Linux hardware support This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/hardware/0 hardware/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 hardware hardware/ http://lore.altlinux.org/hardware \ hardware@altlinux.ru hardware@lists.altlinux.org hardware@lists.altlinux.ru hardware@lists.altlinux.com hardware@altlinux.org public-inbox-index hardware Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.hardware AGPL code for this site: git clone https://public-inbox.org/public-inbox.git