Missing governor for frequency scaling

I’d like to set my laptop to use the performance governor but it’s not installed on my laptop.


> ls -alF /lib/modules/5.3.18-lp152.57-default/kernel/drivers/cpufreq
total 196
drwxr-xr-x  2 root root  4096 Dec 19 12:36 ./
drwxr-xr-x 96 root root  4096 Dec 19 12:36 ../
-rw-r--r--  1 root root 45075 Dec  5 00:57 acpi-cpufreq.ko
-rw-r--r--  1 root root  8731 Dec  5 00:57 amd_freq_sensitivity.ko
-rw-r--r--  1 root root 15819 Dec  5 00:57 cpufreq_conservative.ko
-rw-r--r--  1 root root  7747 Dec  5 00:57 cpufreq_powersave.ko
-rw-r--r--  1 root root 14275 Dec  5 00:57 cpufreq_userspace.ko
-rw-r--r--  1 root root 30491 Dec  5 00:57 pcc-cpufreq.ko
-rw-r--r--  1 root root 56955 Dec  5 00:57 powernow-k8.ko

Here’s my inxi


> inxi -Fxxxz
System:    Kernel: 5.3.18-lp152.57-default x86_64 bits: 64 compiler: gcc v: 7.5.0 
           Desktop: KDE Plasma 5.18.6 tk: Qt 5.12.7 wm: kwin_x11 dm: SDDM 
           Distro: openSUSE Leap 15.2 
Machine:   Type: Portable System: Dell product: Inspiron 5555 v: A12 serial: <filter> 
           Chassis: type: 8 v: A12 serial: <filter> 
           Mobo: Dell model: 0CHHXW v: A00 serial: <filter> UEFI [Legacy]: Dell v: A12 
           date: 08/30/2016 
CPU:       Topology: Quad Core model: AMD A10-8700P Radeon R6 10 Compute Cores 4C+6G 
           bits: 64 type: MCP arch: Excavator rev: 1 L2 cache: 1024 KiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm 
           bogomips: 14373 
           Speed: 2600 MHz min/max: N/A Core speeds (MHz): 1: 2600 2: 2963 3: 2924 4: 2727 
Graphics:  Device-1: AMD Wani [Radeon R5/R6/R7 Graphics] vendor: Dell driver: amdgpu 
           v: kernel bus ID: 00:01.0 chip ID: 1002:9874 
           Device-2: Sunplus Innovation type: USB driver: uvcvideo bus ID: 1-4:3 
           chip ID: 1bcf:2b90 
           Display: x11 server: X.Org 1.20.3 compositor: kwin_x11 driver: amdgpu,ati 
           unloaded: fbdev,modesetting,vesa resolution: 1366x768~60Hz s-dpi: 96 
           OpenGL: renderer: AMD Radeon R6 Graphics (CARRIZO DRM 3.33.0 
           5.3.18-lp152.57-default LLVM 9.0.1) 
           v: 4.5 Mesa 19.3.4 direct render: Yes 
Audio:     Device-1: AMD Kabini HDMI/DP Audio vendor: Dell driver: snd_hda_intel v: kernel 
           bus ID: 00:01.1 chip ID: 1002:9840 
           Device-2: AMD Family 15h Audio vendor: Dell driver: snd_hda_intel v: kernel 
           bus ID: 00:09.2 chip ID: 1022:157a 
           Sound Server: ALSA v: k5.3.18-lp152.57-default 
Network:   Device-1: Realtek RTL810xE PCI Express Fast Ethernet vendor: Dell driver: r8169 
           v: kernel port: e000 bus ID: 01:00.0 chip ID: 10ec:8136 
           IF: eth0 state: down mac: <filter> 
           Device-2: Qualcomm Atheros QCA9565 / AR9565 Wireless Network Adapter vendor: Dell 
           driver: ath9k v: kernel port: e000 bus ID: 02:00.0 chip ID: 168c:0036 
           IF: wlan0 state: up mac: <filter> 
           Device-3: Qualcomm Atheros type: USB driver: btusb bus ID: 1-1:4 
           chip ID: 0cf3:e005 
Drives:    Local Storage: total: 931.51 GiB used: 17.56 GiB (1.9%) 
           ID-1: /dev/sda vendor: Toshiba model: MQ01ABD100 size: 931.51 GiB speed: 6.0 Gb/s 
           rotation: 5400 rpm serial: <filter> rev: 3D scheme: GPT 
Partition: ID-1: / size: 904.91 GiB used: 17.56 GiB (1.9%) fs: ext4 dev: /dev/sda2 
Swap:      ID-1: swap-1 type: partition size: 11.15 GiB used: 0 KiB (0.0%) priority: -2 
           dev: /dev/sda3 
Sensors:   System Temperatures: cpu: 44.0 C mobo: 34.0 C sodimm: 29.0 C gpu: amdgpu 
           temp: 44 C 
           Fan Speeds (RPM): N/A 
Info:      Processes: 194 Uptime: N/A Memory: 11.15 GiB used: 990.1 MiB (8.7%) Init: systemd 
           v: 234 runlevel: 5 target: graphical.target Compilers: gcc: N/A Shell: bash 
           v: 4.4.23 running in: konsole inxi: 3.1.00 

How do I get cpufreq_performance.ko?

Thanks

Hi
You using the wrong tool to verify (as root user);

To check the available governors;


cpupower frequency-info

However, have a read of the governors and why they are set…
https://www.kernel.org/doc/Documentation/cpu-freq/governors.txt

It is built in kernel. “zgrep CPU_FREQ_GOV /proc/config.gz”.

Thank you for clarifying the why