ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Paul Wolneykien <manowar@altlinux.org>
To: sisyphus@lists.altlinux.org
Subject: Re: [sisyphus] Что с частотой процессора?
Date: Thu, 06 Jun 2013 14:13:06 +0400
Message-ID: <51B060B2.3090909@altlinux.org> (raw)
In-Reply-To: <2228552.711JBy9FkX@acer-7530.local.balticum.lt>

06.06.2013 13:30, kostiagol@yandex.ru пишет:
> Здравствуйте!
> 
> Для начала uname -a:
> 
>   * Linux Acer.local.balticum.lt 3.8.10-un-def-alt1 #1 SMP PREEMPT Mon
>     Apr 29 11:21:47 UTC 2013 i686 GNU/Linux (И опять это имя компа
>     поменялось? да ладно, сейчас не о том)
> 
> И lscpu:
> 
>   * Architecture: i686
>   * CPU op-mode(s): 32-bit, 64-bit
>   * Byte Order: Little Endian
>   * CPU(s): 2
>   * On-line CPU(s) list: 0,1
>   * Thread(s) per core: 1
>   * Core(s) per socket: 2
>   * Socket(s): 1
>   * Vendor ID: AuthenticAMD
>   * CPU family: 17
>   * Model: 3
>   * Stepping: 1
>   * CPU MHz: 2000.000
>   * BogoMIPS: 3999.92
>   * Virtualization: AMD-V
>   * L1d cache: 64K
>   * L1i cache: 64K
>   * L2 cache: 512K
> 
>  
> 
> Заметил я недавно, что лаптоп начал сильно греться, решил проверить, что
> там с частотой процессора и пр. После установке Альта в апреле проверял,
> переключение частоты работало, прыгало от 500 до 2000.
> 
> Но после нескольких обновлений ядра и systemd оказалось, что процессор
> всё время работает на полную мощность. Среди модулей ядра я не увидел
> привычного powernow-k8, а вместо него acpi-cpufreq. Попробовал
> подгрузить powernow, он говорит, что данный модуль устарел и теперь
> следует пользоваться acpi-cpufreq. И ещё заметил, ни cpufreq_performance
> ни cpufreq_ondemand не загружены. Они теперь не нужны чтоли? В сервисах
> systemd нашёл cpufreq-simple.service, но он не стартует с системой. почему?
> 
> Решил посмотреть, какая политика процессора задействована? а как
> посмотреть? cpufreq-info нет, cpufreqd, как оказалось, не установлен
> (очевидно управляется кем-то другим?) Я установил cpufreqd, надеялся с
> помощью него разобраться, cpufreq-info показывает следующее:
> 
>   * analyzing CPU 0:
>   * driver: acpi-cpufreq
>   * CPUs which run at the same hardware frequency: 0
>   * CPUs which need to have their frequency coordinated by software: 0
>   * maximum transition latency: 0.00 ms.
>   * hardware limits: 500 MHz - 2.00 GHz
>   * available frequency steps: 2.00 GHz, 1000 MHz, 500 MHz
>   * available cpufreq governors: performance
>   * current policy: frequency should be within 500 MHz and 2.00 GHz.
>   * The governor "performance" may decide which speed to use
>   * within this range.
>   * current CPU frequency is 2.00 GHz.
>   * analyzing CPU 1:
>   * driver: acpi-cpufreq
>   * CPUs which run at the same hardware frequency: 1
>   * CPUs which need to have their frequency coordinated by software: 1
>   * maximum transition latency: 0.00 ms.
>   * hardware limits: 500 MHz - 2.00 GHz
>   * available frequency steps: 2.00 GHz, 1000 MHz, 500 MHz
>   * available cpufreq governors: performance
>   * current policy: frequency should be within 500 MHz and 2.00 GHz.
>   * The governor "performance" may decide which speed to use
>   * within this range.
>   * current CPU frequency is 2.00 GHz.
> 
> Значит performance всё-таки задействован, причём и от сети и на
> батарейке. А как поменять?
> 
> cpufreqd-get и cpufreqd-set не работают, оказывается, cpufreqd не
> стартует с системой, хотя и назначен. запустил вручную, всё-равно
> отказываются работать, пишут "No cpufreqd socket found" Вобщем,
> очередной бардак. Я так понимаю, это связано с переходом на systemd и в
> довесок, изменениями в ядре?
> 
> Может разложите "на пальцах", кто и как теперь управляет моим
> процессором? Или где почитать можно? Потому что "по старому" не работает.
> 
> Извините за профанизм

  Я использую powernowd.

$ cat /etc/sysconfig/powernowd
OPTIONS="-c 1 -m 0"

Очень доволен. Единственное что, после выхода из ждущего режима одно
ядро (?!) иногда глючит, в смысле, что частота его всегда на максимуме.
Однако перезагрузка powernowd помогает. Видимо его нужно как-то для него
автоперезагрузку настроить в systemd, но я пока не разбирался как именно.



       reply	other threads:[~2013-06-06 10:13 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-06 10:13 ` Paul Wolneykien [this message]
2013-06-06 13:41 ` Mikhail Efremov
2013-06-06 15:59     ` Mikhail Efremov
2013-06-06 16:20       ` kostiagol
2013-06-06 16:45         ` Mikhail Efremov
2013-06-06 16:05   ` gBopHuk_alt
2013-06-06 16:19     ` Mikhail Efremov
2013-06-07 14:53       ` gBopHuk_alt
2013-06-07 22:34         ` Mikhail Efremov
2013-06-08  7:58           ` gbophuk_alt
2013-06-08 14:21             ` Mikhail Efremov
2013-06-08 19:28               ` kostiagol
2013-06-10  8:28                 ` gBopHuk_alt
2013-06-10  9:35                   ` kostiagol
2013-06-10 13:30                     ` Mikhail Efremov
2013-06-10 15:36                         ` Mikhail Efremov
2013-06-10 16:15                         ` Mikhail Efremov
2013-06-08 23:02               ` gBopHuk_alt
2013-06-10 10:40 ` [sisyphus] Kmod просмотр доступных модулей gbophuk_alt
2013-06-10 11:23   ` kostiagol
2013-06-10 11:34     ` Viacheslav Dubrovskyi
2013-06-10 11:34     ` Andrew Borodin
2013-06-10 11:55       ` kostiagol

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=51B060B2.3090909@altlinux.org \
    --to=manowar@altlinux.org \
    --cc=sisyphus@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git