top
cpupower frequency-info
Good question.zugunder wrote:Is cpupower default in Mageia 2? In Mageia 1 it was cpufreq as far as I remember.
988 root 20 0 139m 29m 16m S 5 0.5 6:52.98 X
14853 billy_bu 20 0 512m 31m 21m S 3 0.5 0:02.66 konsole
2554 billy_bu 20 0 2953m 96m 38m S 2 1.6 1:29.34 plasma-deskt
2545 billy_bu 20 0 2787m 50m 23m S 2 0.9 3:05.50 kwin
2602 billy_bu 20 0 926m 43m 21m S 1 0.7 1:03.75 ktorrent
217 root 20 0 0 0 0 S 0 0.0 0:05.25 rtsx-polling
729 root 20 0 481m 940 716 S 0 0.0 0:02.60 nscd
2530 billy_bu 20 0 701m 27m 18m S 0 0.5 0:01.78 kded4
2557 billy_bu 20 0 9268 1296 780 S 0 0.0 0:06.10 ksysguardd
2575 billy_bu 20 0 731m 38m 23m S 0 0.6 0:02.70 krunner
2615 billy_bu 39 19 509m 47m 6272 S 0 0.8 0:11.90 virtuoso-t
2651 billy_bu 20 0 383m 48m 15m S 0 0.8 0:04.06 mgaapplet
2652 billy_bu 20 0 326m 50m 15m S 0 0.8 0:17.11 net_applet
2748 billy_bu 20 0 1240m 168m 46m S 0 2.8 6:20.65 chrome
2886 billy_bu 20 0 260m 15m 12m S 0 0.3 0:00.18 akonadi_nepo
13389 root 20 0 0 0 0 S 0 0.0 0:00.53 kworker/0:3
15032 root 20 0 10920 1140 804 R 0 0.0 0:00.13 top
1 root 20 0 44396 4988 1996 S 0 0.1 0:01.25 systemd
2 root 20 0 0 0 0 S 0 0.0 0:00.01 kthreadd
3 root 20 0 0 0 0 S 0 0.0 0:00.30 ksoftirqd/0
6 root RT 0 0 0 0 S 0 0.0 0:00.29 migration/0
17 root 0 -20 0 0 0 S 0 0.0 0:00.00 cpuset
18 root 0 -20 0 0 0 S 0 0.0 0:00.00 khelper
19 root 20 0 0 0 0 S 0 0.0 0:00.00 kdevtmpfs
20 root 0 -20 0 0 0 S 0 0.0 0:00.00 netns
21 root 20 0 0 0 0 S 0 0.0 0:00.02 sync_supers
22 root 20 0 0 0 0 S 0 0.0 0:00.00 bdi-default
23 root 0 -20 0 0 0 S 0 0.0 0:00.00 kintegrityd
24 root 0 -20 0 0 0 S 0 0.0 0:00.00 kblockd
neither did cpupower frequency-info
su -
urpmi cpupower
cpupower frequency-info
[root@localhost John_Smith]#cpupower frequency-info
analyzing CPU 0:
driver: acpi-cpufreq
CPUs which run at the same hardware frequency: 0 1 2 3
CPUs which need to have their frequency coordinated by software: 0
maximum transition latency: 10.0 us.
hardware limits: 800 MHz - 2.20 GHz
available frequency steps: 2.20 GHz, 2.10 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: ondemand, conservative, powersave, userspace, performance
current policy: frequency should be within 800 MHz and 2.20 GHz.
The governor "ondemand" may decide which speed to use
within this range.
current CPU frequency is 2.20 GHz (asserted by call to hardware).
boost state support:
Supported: no
Active: no
25500 MHz max turbo 4 active cores
25500 MHz max turbo 3 active cores
25500 MHz max turbo 2 active cores
25500 MHz max turbo 1 active cores
[root@localhost John_Smith]#
current CPU frequency is 2.20 GHz (asserted by call to hardware).
[John_Smith@localhost ~]$ cpupower frequency-info
analyzing CPU 0:
driver: acpi-cpufreq
CPUs which run at the same hardware frequency: 0 1 2 3
CPUs which need to have their frequency coordinated by software: 0
maximum transition latency: 10.0 us.
hardware limits: 800 MHz - 2.20 GHz
available frequency steps: 2.20 GHz, 2.10 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: ondemand, conservative, powersave, userspace, performance
current policy: frequency should be within 800 MHz and 2.20 GHz.
The governor "performance" may decide which speed to use
within this range.
current CPU frequency is 2.20 GHz.
boost state support:
Supported: no
Active: no
25500 MHz max turbo 4 active cores
25500 MHz max turbo 3 active cores
25500 MHz max turbo 2 active cores
25500 MHz max turbo 1 active cores
[John_Smith@localhost ~]$
The governor "performance" may decide which speed to use
su -
cpupower frequency-set -g ondemand
Should I install cpufreqd?
cat /etc/sysconfig/cpupower
[root@localhost John_Smith]# cat /etc/sysconfig/cpupower
# See 'cpupower help' and cpupower(1) for more info
CPUPOWER_START_OPTS="frequency-set -g performance"
CPUPOWER_STOP_OPTS="frequency-set -g ondemand"
[root@localhost John_Smith]#
$ cat /etc/sysconfig/cpupower
# See 'cpupower help' and cpupower(1) for more info
CPUPOWER_START_OPTS="frequency-set -g ondemand"
CPUPOWER_STOP_OPTS="frequency-set -g ondemand"
mrligugu wrote:CPUPOWER_START_OPTS="frequency-set -g performance"
su
vim /etc/sysconfig/cpupower
Users browsing this forum: No registered users and 1 guest