Enabling turbo boost on Manjaro

basically, I am trying to enable intel turbo boost on linux (works fine on Windows), since I see the cpu clock speed fixed at 1.8GHz, when it should be going up to 3.9

I’ve tried editing /sys/devices/system/cpu/cpufreq/boost to 1, in many different ways (including using su root) but I always get a “Permission Denied” error.

Could be useful:
neofetch:

██████████████████  ████████   alba4k@alba4k 
██████████████████  ████████   OS: Manjaro Linux x86_64 
██████████████████  ████████   Kernel: 5.15.2-2-MANJARO 
██████████████████  ████████   Desktop Environnement: Plasma 5.23.3 
████████            ████████   Host: HP ProBook 440 G6 
████████  ████████  ████████   CPU: i5-8265U (8) @ 1.8GHz [43.0°C] 
████████  ████████  ████████   CPU Usage: 13% 
████████  ████████  ████████   GPU: Intel WhiskeyLake-U GT2 [UHD Graphics 620] 
████████  ████████  ████████   Resolution: 1920x1080 @ 60.00Hz, 1920x1080 @ 60.00Hz 
████████  ████████  ████████   Memory: 3057MiB / 23440MiB (13%) 
████████  ████████  ████████   Battery0: 100% [Full] 
████████  ████████  ████████   Uptime: 1h 11m 
████████  ████████  ████████   Terminal: konsole 
████████  ████████  ████████

sudo i7z:

Cpu speed from cpuinfo 1799.00Mhz
cpuinfo might be wrong if cpufreq is enabled. To guess correctly try estimating via
Linux's inbuilt cpu_khz code emulated now
True Frequency (without accounting Turbo) 1799 MHz
  CPU Multiplier 18x || Bus clock frequency (BCLK) 99.94 MHz

Socket [0] - [physical cores=4, logical cores=8, max online cores ever=4]
  TURBO DISABLED on 4 Cores, Hyper Threading ON
  Max Frequency without considering Turbo 1800.00 MHz (100.00 x [18])
  Max TURBO Multiplier (if Enabled) with 1/2/3/4 Cores is  39x/38x/37x/37x
  Real Current Frequency 1590.57 MHz [100.00 x 15.91] (Max of below)
        Core [core-id]  :Actual Freq (Mult.)      C0%   Halt(C1)%  C3 %   C6 %   C7
        Core 1 [0]:       1590.57 (15.91x)      12.1    20.7    1.95      20    46.6
        Core 2 [1]:       1586.71 (15.87x)      11.5    24.5    2.11    20.3    42.9
        Core 3 [2]:       1573.67 (15.74x)      14.6    27.4    3.36    25.6    30.9
        Core 4 [3]:       1588.76 (15.89x)      12.4    25.3    1.26    16.4    46.1

sudo cpupower frequency-info:

analisi della CPU 0:
  nessun modulo o modulo cpufreq sconosciuto per questa CPU
  CPU che operano alla stessa frequenza hardware: Not Available
  CPU che è necessario siano coordinate dal software: Not Available
  latenza massima durante la transizione:  Cannot determine or is not supported.
Not Available
  gestori disponibili: Not Available
  Unable to determine current policy
  current CPU frequency: Unable to call hardware
  current CPU frequency:  Unable to call to kernel
  boost state support:
    Supported: no
    Active: no

[su root]
sudo touch /sys/devices/system/cpu/cpufreq/boost:

touch: impossibile fare touch di '/sys/devices/system/cpu/cpufreq/boost': Permesso negato

I am pretty new to Linux, but I would still like to have turbo boost working as intended
the weird thing is that i7z sees turbo frequency right, but cpupower says that it doesn’t support boost?
how can I enable this pretty basic feature?

Edit: i fixed it with x86_energy_perf_policy --turbo-enable 1

cpupower before:

analisi della CPU 0:
  nessun modulo o modulo cpufreq sconosciuto per questa CPU
  CPU che operano alla stessa frequenza hardware: Not Available
  CPU che è necessario siano coordinate dal software: Not Available
  latenza massima durante la transizione:  Cannot determine or is not supported.
Not Available
  gestori disponibili: Not Available
  Unable to determine current policy
  current CPU frequency: Unable to call hardware
  current CPU frequency:  Unable to call to kernel
  boost state support:
    Supported: no
    Active: no

cpupower after:

analisi della CPU 0:
  nessun modulo o modulo cpufreq sconosciuto per questa CPU
  CPU che operano alla stessa frequenza hardware: Not Available
  CPU che è necessario siano coordinate dal software: Not Available
  latenza massima durante la transizione:  Cannot determine or is not supported.
Not Available
  gestori disponibili: Not Available
  Unable to determine current policy
  current CPU frequency: Unable to call hardware
  current CPU frequency:  Unable to call to kernel
  boost state support:
    Supported: yes
    Active: yes

still really weird that cpupower says Supported: no and then goes to Supported: yes

but works fine.
hope this might be helpful to anybody

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.