Truth Matters! Index

A Judaizing Christian Anti-Romanizing Protestant Forum

You are not logged in.

Announcement

Working on the Forum

#1 2022-12-02 05:04:41

Darkijah
Admin
From: Danmark
Registered: 2021-10-13
Posts: 32
Website
Windows 7Opera 93.0

CPU Governor Linux notes.

CPU power application

watch -n.1 "grep \"^[c]pu MHz\" /proc/cpuinfo"

2166,779
2166,779


sudo lscpu

CPU max MHz: 2165.8000
CPU min MHz: 499.8000


sudo apt install intel-gpu-tools
sudo su
intel_gpu_frequency -help
intel-gpu-overlay

For closing the app: pidof intel-gpu-overlay and then sudo kill -9 process_ID


Method 7: Using i7z
The i7z is a dedicated tool for displaying processor states on Intel i3, i5, and i7 based CPUs.

sudo apt-get install i7z
sudo i7z

https://github.com/jmechnich/intel-power-control


https://bwidawsk.net/blog/2015/5/a-bit- … frequency/

https://stevescargall.com/2020/02/12/ho … rformance/


cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor

echo "performance" | sudo tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor

Dearly regards - Brother, Disciple and Child of Jehovah - Darkijah
May Jehovah bless you, Jayshua, be by you a most precious pearl, and their Spirit of Truth in us All, Amayn!

Offline

#2 2023-09-02 17:00:55

Darkijah
Admin
From: Danmark
Registered: 2021-10-13
Posts: 32
Website
LinuxOpera 102.0

Re: CPU Governor Linux notes.

CPU Governor
By default Linux uses the 'powersave' CPU governor. On 100G hosts, we've seen throughput increase by up by 30% by changing to the 'performance' governor instead.

The command to set this is one of the following:

For most newer Linux releases:
cpupower frequency-set -g performance
For some older Debian/Ubuntu systems:
cpufreq-set -r -g performance
To confirm what governor you are using, you can use one of these commands:

cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
cpupower -c 0-N frequency-info  (where N is the number of cores)
To watch the CPU governor in action, you can do this:

watch -n 1 grep MHz /proc/cpuinfo
To see the range of possible clock speeds for your CPUs, you can use the lscpu command.

You can also set the default CPU governor in the BIOS. Note that if you manually set the CPU power setting in the BIOS, then these commands may not work.

Reference: CPU Frequency Scaling

https://wiki.archlinux.org/title/CPU_frequency_scaling


Dearly regards - Brother, Disciple and Child of Jehovah - Darkijah
May Jehovah bless you, Jayshua, be by you a most precious pearl, and their Spirit of Truth in us All, Amayn!

Offline

Registered users online in this topic: 0, guests: 1
[Bot] CCBot

Board footer

Powered by FluxBB 1.5.11
Modified by Visman

[ Generated in 0.038 seconds, 10 queries executed - Memory usage: 1.54 MiB (Peak: 1.75 MiB) ]