Technical issues/questions of an intermediate or advanced nature.
-
fulalas
- DEV Team

- Posts: 2058
- Joined: 26 Oct 2016, 15:34
- Distribution: Porteus
- Location: Brazil
Post#1
by fulalas » 13 Nov 2023, 21:05
I would like you guys to run the command below and tell which CPU you have:
Code: Select all
cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_available_governors
This is part of a research I'm conducting to better understand the differences between kernel CPU governors and alternative solutions like power-profiles-daemon and TLP.
Thanks in advance!
fulalas
-
Rapha_
- Shogun

- Posts: 248
- Joined: 12 Jun 2021, 21:59
- Distribution: Xfce 4.12 - 5.rc3 - x86_64
- Location: France
Post#2
by Rapha_ » 13 Nov 2023, 23:45
Code: Select all
guest@porteus:~$ uname -mpi
x86_64 AMD Athlon(tm) Dual Core Processor 4850e AuthenticAMD
2x 2500,00 MHz
Code: Select all
guest@porteus:$ cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_available_governors
ondemand performance schedutil
ondemand performance schedutil
Rapha_
-
Ed_P
- Contributor

- Posts: 8908
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Post#3
by Ed_P » 14 Nov 2023, 00:13
Code: Select all
guest@porteus:~$ uname -mpi
x86_64 11th Gen Intel(R) Core(TM) i5-1135G7 @ 2.40GHz GenuineIntel
guest@porteus:~$ cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_available_governors
performance powersave
performance powersave
performance powersave
performance powersave
performance powersave
performance powersave
performance powersave
performance powersave
guest@porteus:~$
Ed_P
-
donald
- Full of knowledge

- Posts: 2104
- Joined: 17 Jun 2013, 13:17
- Distribution: Porteus 3.2.2 XFCE 32bit
- Location: Germany
Post#4
by donald » 14 Nov 2023, 04:05
Code: Select all
i686 AMD Athlon(tm) 64 X2 Dual Core Processor 5000+ AuthenticAMD
guest@porteus:~$ cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_available_governors
ondemand performance schedutil
ondemand performance schedutil
donald
-
fulalas
- DEV Team

- Posts: 2058
- Joined: 26 Oct 2016, 15:34
- Distribution: Porteus
- Location: Brazil
Post#5
by fulalas » 14 Nov 2023, 18:52
Thanks a lot!

fulalas
-
ncmprhnsbl
- DEV Team

- Posts: 4253
- Joined: 20 Mar 2012, 03:42
- Distribution: v5.0-64bit
- Location: australia
-
Contact:
Post#6
by ncmprhnsbl » 14 Nov 2023, 21:30
Code: Select all
AMD Ryzen 5 2600
cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_available_governors
conservative ondemand userspace powersave performance schedutil
(x12)
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44
ncmprhnsbl
-
M. Eerie
- Moderator

- Posts: 710
- Joined: 31 Aug 2017, 21:18
- Distribution: Nemesis Xfce/MATE x64
Post#7
by M. Eerie » 15 Nov 2023, 09:15
AMD Ryzen 7
Code: Select all
conservative ondemand userspace powersave performance schedutil
x16
> Does not compute_
https://forum.porteus.org/viewtopic.php?p=94310#p94310
https://forum.porteus.org/viewtopic.php?p=102066#p102066
https://forum.porteus.org/viewtopic.php?p=102306#p102306
https://forum.porteus.org/viewtopic.php?p=72741#p72741
M. Eerie
-
rych
- Warlord

- Posts: 767
- Joined: 04 Jan 2014, 04:27
- Distribution: Porteus 5.0 x64 OpenBox
- Location: NZ
-
Contact:
Post#8
by rych » 15 Nov 2023, 09:57
Code: Select all
root@porteus:~# cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_available_governors
performance powersave
performance powersave
performance powersave
performance powersave
performance powersave
performance powersave
root@porteus:~# uname -mpi
x86_64 Intel(R) Core(TM) i5-9500 CPU @ 3.00GHz GenuineIntel
rych
-
Vic
- Samurai

- Posts: 171
- Joined: 10 Aug 2016, 05:36
- Distribution: Porteux V-0.1 64 KDE
- Location: Utopia in Tampa, Florida, USA
Post#9
by Vic » 15 Nov 2023, 13:10
Code: Select all
root@VICS-HP-PORTEUX-1:~# uname -mpi
x86_64 11th Gen Intel(R) Core(TM) i3-1115G4 @ 3.00GHz GenuineIntel
root@VICS-HP-PORTEUX-1:~# cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_available_governors
performance powersave
performance powersave
performance powersave
performance powersave
root@VICS-HP-PORTEUX-1:~#
Vic
-
Rava
- Contributor

- Posts: 5424
- Joined: 11 Jan 2011, 02:46
- Distribution: XFCE 5.01 x86_64 + 4.0 i586
- Location: Forests of Germany
Post#10
by Rava » 26 Nov 2023, 07:16
Code: Select all
guest@rava:~$ uname -mpi
x86_64 Intel(R) Core(TM) i7 CPU Q 720 @ 1.60GHz GenuineIntel
guest@rava:~$ cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_available_governors
ondemand performance schedutil
ondemand performance schedutil
ondemand performance schedutil
ondemand performance schedutil
ondemand performance schedutil
ondemand performance schedutil
ondemand performance schedutil
ondemand performance schedutil
guest@rava:~$
It is a 4 Core CPU and each core is able to run 2 tasks simultaneously, therefore the max CPU% would be 800%, but when asking for the Core's temperature only 4 are listed via
sensors|grep Core :
Code: Select all
guest@rava:~$ sensors|grep Core
Core 0: +69.0°C (high = +84.0°C, crit = +100.0°C)
Core 1: +69.0°C (high = +84.0°C, crit = +100.0°C)
Core 2: +70.0°C (high = +84.0°C, crit = +100.0°C)
Core 3: +74.0°C (high = +84.0°C, crit = +100.0°C)
guest@rava:~$
The "high = +84.0°C" is always the same, that temperature is happening at initial bootup; after that temperature got reached the system starts the fan.
Cheers!
Yours Rava
Rava
-
nanZor
- Shogun

- Posts: 469
- Joined: 09 Apr 2019, 03:27
- Distribution: Porteus 5.1 Alpha XFCE
Post#11
by nanZor » 26 Nov 2023, 19:58
Cool - I like LXDE and add the native cpu and governor app "cpufreq frontend" in the taskbar, where I can hover with the mouse. (Add-Remove Panel Items > ADD > CPUfreq Frontend) But here we go for this machine. I'll add other machines later..
Code: Select all
guest@porteus:~$ uname -mpi
x86_64 Intel(R) Celeron(R) CPU N2940 @ 1.83GHz GenuineIntel
Code: Select all
ondemand performance schedutil
ondemand performance schedutil
ondemand performance schedutil
ondemand performance schedutil
With the lxde panel app, I can hover and see the cpu frequency changing in real-time at idle or under a workload easily...
That's a UNIX book - cool. -Garth
nanZor
-
nanZor
- Shogun

- Posts: 469
- Joined: 09 Apr 2019, 03:27
- Distribution: Porteus 5.1 Alpha XFCE
Post#12
by nanZor » 29 Mar 2025, 10:46
Just an update - I found this handy cli one-liner to watch the cpu speeds. Yeah, Htop has that option etc, but this is always available:
Code: Select all
watch -n1 "grep \"^[c]pu MHz\" /proc/cpuinfo
There is a space between the p of grep and the backslash. And a space before /proc. Formatting sometimes makes that hard to see. Ctrl-c to quit obviously.
Interesting to see how you are doing at idle and under load with the various freq governers etc. -n1 is one-second. You can make it smaller, but then the command itself starts to make it a load!
I mostly use it to see if my cpu's actually settle down at idle, rather than staying hammered at full-speed.
That's a UNIX book - cool. -Garth
nanZor