ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "C.Н. Рева" <revasn@yandex.ru>
To: ALT Linux Community general discussions <community@lists.altlinux.org>
Subject: Re: [Comm] Текущая частота процессора
Date: Tue, 9 Nov 2010 11:08:47 +0300
Message-ID: <201011091108.47724.revasn@yandex.ru> (raw)
In-Reply-To: <AANLkTinNV_=YL7q1YWny12bBt-MFG_saSnpv8gZV2Fhe@mail.gmail.com>

В сообщении от Вторник 09 ноября 2010 10:51:39 автор Anton Chernyshov написал:
> 9 ноября 2010 г. 10:39 пользователь C.Н. Рева <revasn@yandex.ru> написал:
> > В сообщении от Вторник 09 ноября 2010 09:21:16 автор Anton Chernyshov 
написал:
> >> 9 ноября 2010 г. 9:03 пользователь C.Н. Рева <revasn@yandex.ru> написал:
> >> > Прощу прощения за вопрос, как можно просмотреть текущую частоту
> >> > процессора(с какой он в данный момент работает)?
> >> 
> >> cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq
> >> 
> >> Только должны быть подгружены модули регулирования частоты процессора.
> >> Обычно это acpi-cpufreq для Intel или что-то там с powernow для AMD.
> >> 
> >> Если нужные модули не подгружены, то команда не сработает. Значит
> >> процессор работает на максимальной частоте.
> >> 
> >> Еще более простой путь - можно поставить пакет cpufrequtils и тогда
> >> команда cpufreq-info покажет нужную Вам информацию.
> > 
> > установил cpufrequtils, запустил драйвер # modprobe powernow-k8
> > и выбрал схему управления
> > #cpufreq-set -g ondemand -c 1
> > #cpufreq-set -g ondemand -c 0
> > Вроде сейчас все отлично:
> > # cat /proc/cpuinfo | grep cpu
> > cpu family      : 15
> > cpu MHz         : 1000.000
> > cpu cores       : 2
> > cpuid level     : 1
> > cpu family      : 15
> > cpu MHz         : 1000.000
> > cpu cores       : 2
> > cpuid level     : 1
> > Вопрос, куда все это прописать для автоматической загрузки? В интернете
> > все пути сводятся к  /etc/rc.conf, но его нет.
> 
> Добавьте powernow-k8 в /etc/modules, а нужные команды в
> /etc/rc.d/rc.local. Если последнего файла нет, его нужно создать (в
> формате обычного скрипта) и (!!обязательно!!) сделать исполняемым.
Спасибо! Все работает.

  reply	other threads:[~2010-11-09  8:08 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-09  6:03 C.Н. Рева
2010-11-09  6:09 ` Andrey Rahmatullin
2010-11-09  6:18   ` Anton Farygin
2010-11-09  6:21 ` Anton Chernyshov
2010-11-09  7:39   ` C.Н. Рева
2010-11-09  7:41     ` Andrey Rahmatullin
2010-11-09  8:08       ` C.Н. Рева
2010-11-09  7:51     ` Anton Chernyshov
2010-11-09  8:08       ` C.Н. Рева [this message]
2010-11-09  8:35         ` Anton Chernyshov
2010-11-09  9:54           ` [Comm] Overquoting (was: Re: Текущая частота процессора) Andrew Borodin
2010-11-09 10:25             ` Anton Chernyshov
2010-11-09 15:19         ` [Comm] Текущая частота процессора Boris Gulay
2010-11-09 15:52           ` Andrey Rahmatullin
2010-11-09 15:59             ` Boris Gulay
2010-11-13 12:19             ` Rinat Bikov
2010-11-13 12:35               ` Andrey Rahmatullin
2010-11-13 14:56                 ` Rinat Bikov
2010-11-14  4:14                   ` Rinat Bikov
2010-11-14  5:49                     ` Anton Chernyshov
2010-11-14 11:52                       ` Boris Gulay
2010-11-14 13:30                         ` Andrey Rahmatullin
2010-11-14 22:19                           ` Boris Gulay
2010-11-15  8:03                             ` Andrey Rahmatullin
2010-11-15  8:32                               ` Boris Gulay
2010-11-15  4:00                         ` Rinat Bikov
2010-11-15  7:54                           ` Boris Gulay

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=201011091108.47724.revasn@yandex.ru \
    --to=revasn@yandex.ru \
    --cc=community@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 Community general discussions

This inbox may be cloned and mirrored by anyone:

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

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


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