Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
CI1164 - Utils
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Harbor Registry
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Armando Luiz Nicolini Delgado
CI1164 - Utils
Commits
e93b767b
Commit
e93b767b
authored
7 months ago
by
Armando Luiz Nicolini Delgado
Browse files
Options
Downloads
Patches
Plain Diff
/* Mudança no procedimento para alterar frequencia de relógio. */
parent
cc982bc8
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
likwid/LIKWID-DINF.txt
+6
-5
6 additions, 5 deletions
likwid/LIKWID-DINF.txt
likwid/LIKWID-INSTALL.txt
+14
-14
14 additions, 14 deletions
likwid/LIKWID-INSTALL.txt
with
20 additions
and
19 deletions
likwid/LIKWID-DINF.txt
+
6
−
5
View file @
e93b767b
...
@@ -44,14 +44,15 @@
...
@@ -44,14 +44,15 @@
===== GUIA DE CONFIGURAÇÃO DE FREQUENCIA DE RELÓGIO EM LINUX ===============
===== GUIA DE CONFIGURAÇÃO DE FREQUENCIA DE RELÓGIO EM LINUX ===============
1. Execute a seguinte linha de comando para aumentar a frequência de relógio:
1. Para aumentar a frequência de relógio, execute a seguinte linha de
comando (onde <CORE> é a identificação do core do qual se deseja
alterar a frequência):
echo "performance" > /sys/devices/system/cpu/cpufreq/policy
3
/scaling_governor
echo "performance" > /sys/devices/system/cpu/cpufreq/policy
<CORE>
/scaling_governor
2. Para retornar à frequencia original
2. Para retornar à frequência original execute:
echo "powersave" > /sys/devices/system/cpu/cpufreq/policy3/scaling_governor
echo "powersave" > /sys/devices/system/cpu/cpufreq/policy<CORE>/scaling_governor
===== GUIA DE ACESSO REMOTO ÀS MÁQUINAS DOS LABORATÓRIOS DINF ===============
===== GUIA DE ACESSO REMOTO ÀS MÁQUINAS DOS LABORATÓRIOS DINF ===============
...
...
This diff is collapsed.
Click to expand it.
likwid/LIKWID-INSTALL.txt
+
14
−
14
View file @
e93b767b
...
@@ -110,36 +110,36 @@
...
@@ -110,36 +110,36 @@
===== GUIA DE CONFIGURAÇÃO DE FREQUENCIA DE RELÓGIO EM LINUX ===============
===== GUIA DE CONFIGURAÇÃO DE FREQUENCIA DE RELÓGIO EM LINUX ===============
No item de (1) a (3), será necessário que se tenha permissão de administrador.
0. Para permitir que qualquer usuário possa alterar a frequência de
relógio, acrescentar o comando abaixo em '/etc/rc.local', em
alguma linha ANTES da última linha que contém 'exit 0':
1. Execute a seguinte linha de comando:
chmod a+rw /sys/devices/system/cpu/cpufreq/policy*/scaling_governor
sudo echo "performance" > /sys/devices/system/cpu/cpufreq/policy3/scaling_governor
2. Para retornar à frequencia original
1. Para aumentar a frequência de relógio, execute a seguinte linha de
comando (onde <CORE> é a identificação do core do qual se deseja
alterar a frequência):
sudo
echo "p
owersav
e" > /sys/devices/system/cpu/cpufreq/policy
3
/scaling_governor
echo "p
erformanc
e" > /sys/devices/system/cpu/cpufreq/policy
<CORE>
/scaling_governor
OBS.: Para permitir que qualquer usuário possa executar os comandos dos
2. Para retornar à frequência original execute:
itens (1) e (2), mudar permissão do arquivo:
sudo chmod a+rw /sys/devices/system/cpu/cpufreq/policy3/scaling_governor
echo "powersave" > /sys/devices/system/cpu/cpufreq/policy<CORE>/scaling_governor
E acrescentar o comando acima (sem 'sudo') em '/etc/rc.local', em
alguma linha ANTES da última linha que contém 'exit 0'.
3. Alternativamente, instale o pacote 'cpufrequtils' (via 'apt-get install cpufreputils')
3. Alternativamente, instale o pacote 'cpufrequtils' (via 'apt-get install cpufreputils')
e execute os passos abaixo:
e execute os passos abaixo:
(a) Para aumentar a frequência:
(a) Para aumentar a frequência:
sudo cpufreq-set -c <C
PU
> -g performance
sudo cpufreq-set -c <C
ORE
> -g performance
(b) Para retornar à frequência original:
(b) Para retornar à frequência original:
sudo cpufreq-set -c <C
PU
> -g powersave
sudo cpufreq-set -c <C
ORE
> -g powersave
(c) Para verificar a frequência:
(c) Para verificar a frequência:
cpufreq-info -c <CPU>
cpufreq-info -c <CPU>
OBS.: Esta forma alternativa só é efetiva se executada como root.
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment