powersaving(i7) [решено]
Tuule 28 января, 2012 - 18:25
Dell inspiron n5110;
Винда держит 4 часа, под gentoo 1,5 максимум.
пробовал pm-powersave true, не помогло.
cpufreqd не запускается
valik@deimos ~ $ sudo /etc/init.d/cpufreqd start Пароль: * Starting CPU Frequency Daemon ... *** buffer overflow detected ***: /usr/sbin/cpufreqd terminated ======= Backtrace: ========= /lib64/libc.so.6(__fortify_fail+0x37)[0x7f01f2193857] /lib64/libc.so.6(+0xee670)[0x7f01f2191670] /lib64/libc.so.6(+0xeeceb)[0x7f01f2191ceb] /usr/sbin/cpufreqd(main+0x7d3)[0x403ce3] /lib64/libc.so.6(__libc_start_main+0xfd)[0x7f01f20c509d] /usr/sbin/cpufreqd[0x402ec9] ======= Memory map: ======== 00400000-0040b000 r-xp 00000000 08:06 229880 /usr/sbin/cpufreqd 0060a000-0060b000 r--p 0000a000 08:06 229880 /usr/sbin/cpufreqd 0060b000-0060c000 rw-p 0000b000 08:06 229880 /usr/sbin/cpufreqd 0143c000-0145d000 rw-p 00000000 00:00 0 [heap] 7f01f1e8d000-7f01f1ea2000 r-xp 00000000 08:06 467746 /lib64/libgcc_s.so.1 7f01f1ea2000-7f01f20a1000 ---p 00015000 08:06 467746 /lib64/libgcc_s.so.1 7f01f20a1000-7f01f20a2000 r--p 00014000 08:06 467746 /lib64/libgcc_s.so.1 7f01f20a2000-7f01f20a3000 rw-p 00015000 08:06 467746 /lib64/libgcc_s.so.1 7f01f20a3000-7f01f2225000 r-xp 00000000 08:06 2027672 /lib64/libc-2.13.so 7f01f2225000-7f01f2425000 ---p 00182000 08:06 2027672 /lib64/libc-2.13.so 7f01f2425000-7f01f2429000 r--p 00182000 08:06 2027672 /lib64/libc-2.13.so 7f01f2429000-7f01f242a000 rw-p 00186000 08:06 2027672 /lib64/libc-2.13.so 7f01f242a000-7f01f242f000 rw-p 00000000 00:00 0 7f01f242f000-7f01f2434000 r-xp 00000000 08:06 690876 /usr/lib64/libcpufreq.so.0.0.0 7f01f2434000-7f01f2633000 ---p 00005000 08:06 690876 /usr/lib64/libcpufreq.so.0.0.0 7f01f2633000-7f01f2634000 r--p 00004000 08:06 690876 /usr/lib64/libcpufreq.so.0.0.0 7f01f2634000-7f01f2635000 rw-p 00005000 08:06 690876 /usr/lib64/libcpufreq.so.0.0.0 7f01f2635000-7f01f2637000 r-xp 00000000 08:06 2027673 /lib64/libdl-2.13.so 7f01f2637000-7f01f2837000 ---p 00002000 08:06 2027673 /lib64/libdl-2.13.so 7f01f2837000-7f01f2838000 r--p 00002000 08:06 2027673 /lib64/libdl-2.13.so 7f01f2838000-7f01f2839000 rw-p 00003000 08:06 2027673 /lib64/libdl-2.13.so 7f01f2839000-7f01f2858000 r-xp 00000000 08:06 2027536 /lib64/ld-2.13.so 7f01f2a24000-7f01f2a27000 rw-p 00000000 00:00 0 7f01f2a57000-7f01f2a58000 rw-p 00000000 00:00 0 7f01f2a58000-7f01f2a59000 r--p 0001f000 08:06 2027536 /lib64/ld-2.13.so 7f01f2a59000-7f01f2a5a000 rw-p 00020000 08:06 2027536 /lib64/ld-2.13.so 7f01f2a5a000-7f01f2a5b000 rw-p 00000000 00:00 0 7fff19e95000-7fff19eb6000 rw-p 00000000 00:00 0 [stack] 7fff19fd9000-7fff19fda000 r-xp 00000000 00:00 0 [vdso] ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall] * start-stop-daemon: failed to start `/usr/sbin/cpufreqd' [ !! ] * ERROR: cpufreqd failed to start
powertop выдает 16 часов от батареи, лол. апплет гнома - 1,5 максимум.
имеется laptop-mode-tools
что мне сделать, чтобы добится обещаных 4х часов?
PPS. траблу удалось решить благодаря людям ниже. и собственно суть: emerge powertop; sudo powertop. важно через sudo. а внизу подсказочки. ;)
4 часа — нереальная цифра для такого проца (i7), но я добился 2,2 часа при полном заряде(благодаря powertop и cpufrequtils) как-то так
»
- Для комментирования войдите или зарегистрируйтесь

sys-power/cpufrequtils cpufre
sys-power/cpufrequtils
cpufreq-set и ставить ondemand на все ядра проца.
cpufreq-info наблюдать за тем что происходит
cpufreqd - я бы прогнал revdep-rebuild
ps в ядре все необходимое включено?
А вот мне помогло. Только
А вот мне помогло. Только немного другое. Просто заемерджил cpufrequtils и запустил как обычно: /etc/init.d/cpufrequtils start - после этого частота в простое сваливается с 2.66 GHz до 1.67.
Только у меня вопрос: чем отличаются утилиты cpufreqd и cpufrequtils?
cpufreqd - демон cpufrequtils
cpufreqd - демон
cpufrequtils - утилитки позволяющие смотреть и менять некоторые параметры. мне хватает cpufrequtils, да и то стоит ondemand и не трогаю.
запустил, не помогло. да и
запустил, не помогло. да и ondemand у меня и так стоял
revdep-rebuild пересобрал
revdep-rebuild пересобрал cpufreqd, не помогло.
valik@deimos ~ $ sudo cpufreq-info cpufrequtils 008: cpufreq-info (C) Dominik Brodowski 2004-2009 Report errors and bugs to , please. analyzing CPU 0: driver: acpi-cpufreq CPUs which run at the same hardware frequency: 0 1 2 3 4 5 6 7 CPUs which need to have their frequency coordinated by software: 0 maximum transition latency: 10.0 us. hardware limits: 800 MHz - 2.00 GHz available frequency steps: 2.00 GHz, 2.00 GHz, 1.90 GHz, 1.80 GHz, 1.70 GHz, 1.60 GHz, 1.50 GHz, 1.40 GHz, 1.30 GHz, 1.20 GHz, 1.10 GHz, 1000 MHz, 900 MHz, 800 MHz available cpufreq governors: conservative, ondemand, powersave, userspace, performance current policy: frequency should be within 800 MHz and 2.00 GHz. The governor "ondemand" may decide which speed to use within this range. current CPU frequency is 2.00 GHz (asserted by call to hardware). analyzing CPU 1: driver: acpi-cpufreq CPUs which run at the same hardware frequency: 0 1 2 3 4 5 6 7 CPUs which need to have their frequency coordinated by software: 1 maximum transition latency: 10.0 us. hardware limits: 800 MHz - 2.00 GHz available frequency steps: 2.00 GHz, 2.00 GHz, 1.90 GHz, 1.80 GHz, 1.70 GHz, 1.60 GHz, 1.50 GHz, 1.40 GHz, 1.30 GHz, 1.20 GHz, 1.10 GHz, 1000 MHz, 900 MHz, 800 MHz available cpufreq governors: conservative, ondemand, powersave, userspace, performance current policy: frequency should be within 800 MHz and 2.00 GHz. The governor "performance" may decide which speed to use within this range. current CPU frequency is 2.00 GHz (asserted by call to hardware). analyzing CPU 2: driver: acpi-cpufreq CPUs which run at the same hardware frequency: 0 1 2 3 4 5 6 7 CPUs which need to have their frequency coordinated by software: 2 maximum transition latency: 10.0 us. hardware limits: 800 MHz - 2.00 GHz available frequency steps: 2.00 GHz, 2.00 GHz, 1.90 GHz, 1.80 GHz, 1.70 GHz, 1.60 GHz, 1.50 GHz, 1.40 GHz, 1.30 GHz, 1.20 GHz, 1.10 GHz, 1000 MHz, 900 MHz, 800 MHz available cpufreq governors: conservative, ondemand, powersave, userspace, performance current policy: frequency should be within 800 MHz and 2.00 GHz. The governor "userspace" may decide which speed to use within this range. current CPU frequency is 2.00 GHz (asserted by call to hardware). analyzing CPU 3: driver: acpi-cpufreq CPUs which run at the same hardware frequency: 0 1 2 3 4 5 6 7 CPUs which need to have their frequency coordinated by software: 3 maximum transition latency: 10.0 us. hardware limits: 800 MHz - 2.00 GHz available frequency steps: 2.00 GHz, 2.00 GHz, 1.90 GHz, 1.80 GHz, 1.70 GHz, 1.60 GHz, 1.50 GHz, 1.40 GHz, 1.30 GHz, 1.20 GHz, 1.10 GHz, 1000 MHz, 900 MHz, 800 MHz available cpufreq governors: conservative, ondemand, powersave, userspace, performance current policy: frequency should be within 800 MHz and 2.00 GHz. The governor "userspace" may decide which speed to use within this range. current CPU frequency is 2.00 GHz (asserted by call to hardware). analyzing CPU 4: driver: acpi-cpufreq CPUs which run at the same hardware frequency: 0 1 2 3 4 5 6 7 CPUs which need to have their frequency coordinated by software: 4 maximum transition latency: 10.0 us. hardware limits: 800 MHz - 2.00 GHz available frequency steps: 2.00 GHz, 2.00 GHz, 1.90 GHz, 1.80 GHz, 1.70 GHz, 1.60 GHz, 1.50 GHz, 1.40 GHz, 1.30 GHz, 1.20 GHz, 1.10 GHz, 1000 MHz, 900 MHz, 800 MHz available cpufreq governors: conservative, ondemand, powersave, userspace, performance current policy: frequency should be within 800 MHz and 2.00 GHz. The governor "userspace" may decide which speed to use within this range. current CPU frequency is 2.00 GHz (asserted by call to hardware). analyzing CPU 5: driver: acpi-cpufreq CPUs which run at the same hardware frequency: 0 1 2 3 4 5 6 7 CPUs which need to have their frequency coordinated by software: 5 maximum transition latency: 10.0 us. hardware limits: 800 MHz - 2.00 GHz available frequency steps: 2.00 GHz, 2.00 GHz, 1.90 GHz, 1.80 GHz, 1.70 GHz, 1.60 GHz, 1.50 GHz, 1.40 GHz, 1.30 GHz, 1.20 GHz, 1.10 GHz, 1000 MHz, 900 MHz, 800 MHz available cpufreq governors: conservative, ondemand, powersave, userspace, performance current policy: frequency should be within 800 MHz and 2.00 GHz. The governor "userspace" may decide which speed to use within this range. current CPU frequency is 2.00 GHz (asserted by call to hardware). analyzing CPU 6: driver: acpi-cpufreq CPUs which run at the same hardware frequency: 0 1 2 3 4 5 6 7 CPUs which need to have their frequency coordinated by software: 6 maximum transition latency: 10.0 us. hardware limits: 800 MHz - 2.00 GHz available frequency steps: 2.00 GHz, 2.00 GHz, 1.90 GHz, 1.80 GHz, 1.70 GHz, 1.60 GHz, 1.50 GHz, 1.40 GHz, 1.30 GHz, 1.20 GHz, 1.10 GHz, 1000 MHz, 900 MHz, 800 MHz available cpufreq governors: conservative, ondemand, powersave, userspace, performance current policy: frequency should be within 800 MHz and 2.00 GHz. The governor "userspace" may decide which speed to use within this range. current CPU frequency is 2.00 GHz (asserted by call to hardware). analyzing CPU 7: driver: acpi-cpufreq CPUs which run at the same hardware frequency: 0 1 2 3 4 5 6 7 CPUs which need to have their frequency coordinated by software: 7 maximum transition latency: 10.0 us. hardware limits: 800 MHz - 2.00 GHz available frequency steps: 2.00 GHz, 2.00 GHz, 1.90 GHz, 1.80 GHz, 1.70 GHz, 1.60 GHz, 1.50 GHz, 1.40 GHz, 1.30 GHz, 1.20 GHz, 1.10 GHz, 1000 MHz, 900 MHz, 800 MHz available cpufreq governors: conservative, ondemand, powersave, userspace, performance current policy: frequency should be within 800 MHz and 2.00 GHz. The governor "userspace" may decide which speed to use within this range. current CPU frequency is 2.00 GHz (asserted by call to hardware).ну да... но скажите лучше еще раз, что надо-то?)
что не понятно? доступные
что не понятно?
доступные политики available cpufreq governors:
текущая политика current policy:
устанавливайте, что нравится и лучше на все ядра ;)
у меня еще статистику по частотам показывает
автоматом при отключеннм
автоматом при отключеннм зарядном, частота понижается до 800мгц. вручную ставил ondemand. nothing happened D:
По прежнему не понимаю, что
По прежнему не понимаю, что что вам не нравиться.
что он держит под гентой 1,5
что он держит под гентой 1,5 а под виндой 4
Это сложная комплексная
Это сложная комплексная проблема, я юзаю только cpufrequtils, будут вопросы по нему пиши.
а acpid ?
а acpid ?
и можно конфиг ядра?
и можно конфиг ядра?
копать же
один проц мало прокачать
есть же ещё:
pci-e
wifi
hdd
звук
usb
eth*
видео
я тут ковырял когда-то
на своём нетбуке получил больше заявленных "до 3-х"
Здесь были линки но пришла Larry и их слизнула =)
Данный аккаунт забанен так как его владелец не умеет себя культурно вести на форуме. /// WBR alexxy
не помогло. добился того что
не помогло. добился того что оно на секунду пишет "4 часа до полной разрядки", и потом возвращается на 1,5
смотри свои
смотри свои скрипты/конфиги
что-то неладно в твоём королевстве
что-то, видимо, скидывает в дефолт/max_performance настройки
Здесь были линки но пришла Larry и их слизнула =)
Данный аккаунт забанен так как его владелец не умеет себя культурно вести на форуме. /// WBR alexxy
как рез нет. он и раньше при
как раз нет. он и раньше при plug/unplug менял нормально
фишка в чем-то другом...
в итоге держит он немного
в итоге держит он немного больше чем пишет.. но не 4 оО
В качестве хардкорного
В качестве хардкорного решения, можно попробовать добавить в параметры ядра:
первые 2 параметра и не имеют отношения к энергосбережению, остальное может дать неплохой прирост, но и изредка добавить глюков.
Так же у меня в /etc/acpi/default.sh :
ac_adapter) case "$value" in # Add code here to handle when the system is unplugged # (maybe change cpu scaling to powersave mode). For # multicore systems, make sure you set powersave mode # for each core! # cpufreq-set -g powersave *0) echo min_power > /sys/class/scsi_host/host0/link_power_management_policy echo 1 > /sys/devices/system/cpu/sched_mc_power_savings echo 1500 > /proc/sys/vm/dirty_writeback_centisecs ;; # Add code here to handle when the system is plugged in # (maybe change cpu scaling to performance mode). For # multicore systems, make sure you set performance mode # for each core! # cpufreq-set -g performance *1) echo max_performance > /sys/class/scsi_host/host0/link_power_management_policy echo 0 > /sys/devices/system/cpu/sched_mc_power_savings echo 500 > /proc/sys/vm/dirty_writeback_centisecs ;;Так как винт SSD то его настроек и нету.
фишка в этом не может оно
фишка в этом
не может оно само поменять просто так параметры
ставь powertop и думай кто жрёт
и копай в его сторону
если пользуешься графическими приблудами - гаси их нахрен
Здесь были линки но пришла Larry и их слизнула =)
Данный аккаунт забанен так как его владелец не умеет себя культурно вести на форуме. /// WBR alexxy