Saturday, May 4, 2024
 Popular · Latest · Hot · Upcoming
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 1168  / 3 Years ago, wed, june 9, 2021, 3:46:39

After solving my graphics issue with help from here: Blank (no signal) display on new ASUS Z590 motherboard


And helping someone else out here: UnclaImed display in ubuntu 21.04 with Rocket Lake


I have an issue with my 11900k "powersave" govenor (cpupower) only allowing a max of 4.7ghz. If I manually change it to "performance" using cpupower-gui I can clock up to 5.3ghz and 5.1 on heavy AVX using s-tui just like my motherboard is set for.


Is there a way to "fix" the powersave governor built into this oem kernel to allow max speed in powersave mode? Because under performance mode it's constantly revved up to over 5ghz and running a little hotter. I've searched all over for microcode to no avail. I am clueless about modifying kernels.


Side note: I will ask in a separate thread: iperf is showing my 2.5gb NIC running only at gigabit speed tested against a known 2.5gb connection (works with other PCs at full speed).


Seem like we are needing some actual linux drivers from Intel, what gives?


Update to add inxi output:


CPU: 8-Core 11th Gen Intel Core i9-11900K (-MT MCP-) 
speed/min/max: 3726/800/5300 MHz Kernel: 5.10.0-1023-oem x86_64 Up: 1h
05m
Mem: 1485.8/64079.5 MiB (2.3%) Storage: 11.94 TiB (12.7% used) Procs:
369
Shell: bash 5.0.17 inxi: 3.0.38

^^^ That storage output is odd as well, only showing my hardware raid array an not my 3 NVMe drives


UPDATE: I installed kernel 5.12. Initially I thought I couldn't boot into it until I moved one of my monitors cables to my discrete GPU. It boots up on the onboard graphics then that just shows a blinking cursor and the gpu connected monitor takes over for a single monitor desktop. Still the same issue with the CPU governor speeds and still no 2.5G ethernet.


Update 2: per Doug Smythies request
Before Grub change:


grep . /sys/devices/system/cpu/intel_pstate/*
/sys/devices/system/cpu/intel_pstate/hwp_dynamic_boost:0
/sys/devices/system/cpu/intel_pstate/max_perf_pct:100
/sys/devices/system/cpu/intel_pstate/min_perf_pct:15
/sys/devices/system/cpu/intel_pstate/no_turbo:0
/sys/devices/system/cpu/intel_pstate/num_pstates:46
/sys/devices/system/cpu/intel_pstate/status:active
/sys/devices/system/cpu/intel_pstate/turbo_pct:40

After Grub change:


chris@pc-01:~$ grep . /sys/devices/system/cpu/cpu*/cpufreq/scaling_m*
/sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq:5300000
/sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq:800000
/sys/devices/system/cpu/cpu10/cpufreq/scaling_max_freq:5300000
/sys/devices/system/cpu/cpu10/cpufreq/scaling_min_freq:800000
/sys/devices/system/cpu/cpu11/cpufreq/scaling_max_freq:5300000
/sys/devices/system/cpu/cpu11/cpufreq/scaling_min_freq:800000
/sys/devices/system/cpu/cpu12/cpufreq/scaling_max_freq:5300000
/sys/devices/system/cpu/cpu12/cpufreq/scaling_min_freq:800000
/sys/devices/system/cpu/cpu13/cpufreq/scaling_max_freq:5300000
/sys/devices/system/cpu/cpu13/cpufreq/scaling_min_freq:800000
/sys/devices/system/cpu/cpu14/cpufreq/scaling_max_freq:5300000
/sys/devices/system/cpu/cpu14/cpufreq/scaling_min_freq:800000
/sys/devices/system/cpu/cpu15/cpufreq/scaling_max_freq:5300000
/sys/devices/system/cpu/cpu15/cpufreq/scaling_min_freq:800000
/sys/devices/system/cpu/cpu1/cpufreq/scaling_max_freq:5300000
/sys/devices/system/cpu/cpu1/cpufreq/scaling_min_freq:800000
/sys/devices/system/cpu/cpu2/cpufreq/scaling_max_freq:5300000
/sys/devices/system/cpu/cpu2/cpufreq/scaling_min_freq:800000
/sys/devices/system/cpu/cpu3/cpufreq/scaling_max_freq:5300000
/sys/devices/system/cpu/cpu3/cpufreq/scaling_min_freq:800000
/sys/devices/system/cpu/cpu4/cpufreq/scaling_max_freq:5300000
/sys/devices/system/cpu/cpu4/cpufreq/scaling_min_freq:800000
/sys/devices/system/cpu/cpu5/cpufreq/scaling_max_freq:5300000
/sys/devices/system/cpu/cpu5/cpufreq/scaling_min_freq:800000
/sys/devices/system/cpu/cpu6/cpufreq/scaling_max_freq:5300000
/sys/devices/system/cpu/cpu6/cpufreq/scaling_min_freq:800000
/sys/devices/system/cpu/cpu7/cpufreq/scaling_max_freq:5300000
/sys/devices/system/cpu/cpu7/cpufreq/scaling_min_freq:800000
/sys/devices/system/cpu/cpu8/cpufreq/scaling_max_freq:5300000
/sys/devices/system/cpu/cpu8/cpufreq/scaling_min_freq:800000
/sys/devices/system/cpu/cpu9/cpufreq/scaling_max_freq:5300000
/sys/devices/system/cpu/cpu9/cpufreq/scaling_min_freq:800000

Also after grub update:


chris@pc-01:~$ grep . /sys/devices/system/cpu/intel_pstate/*
/sys/devices/system/cpu/intel_pstate/hwp_dynamic_boost:0
/sys/devices/system/cpu/intel_pstate/max_perf_pct:100
/sys/devices/system/cpu/intel_pstate/min_perf_pct:15
/sys/devices/system/cpu/intel_pstate/no_turbo:0
/sys/devices/system/cpu/intel_pstate/num_pstates:46
/sys/devices/system/cpu/intel_pstate/status:active
/sys/devices/system/cpu/intel_pstate/turbo_pct:40

s-tui no change. I did something with systemctl to force it to boot to performance mode. Disabled ondemand as I recall. Performance mode reports 5000mhz, correct per my bios setting for heavy AVX, powersave still at 4700mhz


Output of cpupower frequency-info


chris@pc-01:~$ sudo cpupower frequency-info
analyzing CPU 0:
driver: intel_pstate
CPUs which run at the same hardware frequency: 0
CPUs which need to have their frequency coordinated by software: 0
maximum transition latency: Cannot determine or is not supported.
hardware limits: 800 MHz - 5.30 GHz
available cpufreq governors: performance powersave
current policy: frequency should be within 800 MHz and 5.30 GHz.
The governor "powersave" may decide which speed to use
within this range.
current CPU frequency: Unable to call hardware
current CPU frequency: 2.20 GHz (asserted by call to kernel)
boost state support:
Supported: yes
Active: yes

Turbostat outputs:


chris@pc-01:~$ sudo turbostat --Summary --quiet --show 
Busy% Bzy_MHz IRQ PkgTmp PkgWatt GFXWatt RAMWatt PKG_%
0.37 5176 40647 32 21.14 0.01 0.00 0.00
0.37 5165 40647 33 21.26 0.01 0.00 0.00
0.37 5157 39663 32 21.19 0.01 0.00 0.00
0.36 5163 39501 33 21.27 0.01 0.00 0.00
0.37 5168 41354 32 21.17 0.01 0.00 0.00
0.38 5161 42241 32 21.37 0.01 0.00 0.00
0.39 5167 5869 33 21.51 0.01 0.00 0.00
chris@pc-01:~$ sudo turbostat --Summary --quiet --show
Busy% Bzy_MHz IRQ PkgTmp PkgWatt GFXWatt RAMWatt PKG_%
1.07 1393 42633 31 17.42 0.01 0.00 0.00
1.06 1435 43711 32 17.52 0.01 0.00 0.00
1.08 1397 41036 32 17.41 0.01 0.00 0.00
1.08 1389 41864 32 17.40 0.01 0.00 0.00
1.16 1390 19255 33 17.48 0.01 0.00 0.00

So it's costing me more like 4 watts just idling. Not a huge deal but I'd still like to fix it.


Also my turbo_pct should be roughly 51 to be correct. Does not appear to be a way to change it that I can find. Perhaps the kernels are seeing my CPU as a non K version? Like 11900 instead of 11900k yet when I check things like hwinfo it shows 11900k


Powersave turbostat no quiet:


chris@pc-01:~$ sudo turbostat --Summary --show 
Busy%,Bzy_MHz,IRQ,PkgWatt,PkgTmp,RAMWatt,GFXWatt,PKG_%
turbostat version 20.09.30 - Len Brown <[email protected]>
CPUID(0): GenuineIntel 0x1b CPUID levels; 0x80000008 xlevels;
family:model:stepping 0x6:a7:1 (6:167:1)
CPUID(1): SSE3 MONITOR SMX EIST TM2 TSC MSR ACPI-TM HT TM
CPUID(6): APERF, TURBO, DTS, PTM, HWP, HWPnotify, HWPwindow, HWPepp,
HWPpkg, EPB
cpu4: MSR_IA32_MISC_ENABLE: 0x00850089 (TCC EIST MWAIT PREFETCH TURBO)
CPUID(7): No-SGX
CPUID(0x15): eax_crystal: 2 ebx_tsc: 292 ecx_crystal_hz: 24000000
TSC: 3504 MHz (24000000 Hz * 292 / 2 / 1000000)
CPUID(0x16): base_mhz: 3500 max_mhz: 5300 bus_mhz: 100
cpu4: MSR_MISC_PWR_MGMT: 0x00401cc0 (ENable-EIST_Coordination DISable-
EPB DISable-OOB)
RAPL: 2097 sec. Joule Counter Range, at 125 Watts
cpu4: MSR_PLATFORM_INFO: 0x808083af1812300
8 * 100.0 = 800.0 MHz max efficiency frequency
35 * 100.0 = 3500.0 MHz base frequency
cpu4: MSR_IA32_POWER_CTL: 0x0034005d (C1E auto-promotion: DISabled)
cpu4: MSR_TURBO_RATIO_LIMIT: 0x3232323434353535
50 * 100.0 = 5000.0 MHz max turbo 8 active cores
50 * 100.0 = 5000.0 MHz max turbo 7 active cores
50 * 100.0 = 5000.0 MHz max turbo 6 active cores
52 * 100.0 = 5200.0 MHz max turbo 5 active cores
52 * 100.0 = 5200.0 MHz max turbo 4 active cores
53 * 100.0 = 5300.0 MHz max turbo 3 active cores
53 * 100.0 = 5300.0 MHz max turbo 2 active cores
53 * 100.0 = 5300.0 MHz max turbo 1 active cores
cpu4: MSR_CONFIG_TDP_NOMINAL: 0x00000023 (base_ratio=35)
cpu4: MSR_CONFIG_TDP_LEVEL_1: 0x001e02f8 (PKG_MIN_PWR_LVL1=0
PKG_MAX_PWR_LVL1=0 LVL1_RATIO=30 PKG_TDP_LVL1=760)
cpu4: MSR_CONFIG_TDP_LEVEL_2: 0x00000000 ()
cpu4: MSR_CONFIG_TDP_CONTROL: 0x00000000 ( lock=0)
cpu4: MSR_TURBO_ACTIVATION_RATIO: 0x00000000 (MAX_NON_TURBO_RATIO=0
lock=0)
cpu4: MSR_PKG_CST_CONFIG_CONTROL: 0x74000000 (UNdemote-C1, demote-C1,
UNlocked, pkg-cstate-limit=0 (pc0))
/dev/cpu_dma_latency: 2000000000 usec (default)
current_driver: intel_idle
current_governor: menu
current_governor_ro: menu
cpu4: POLL: CPUIDLE CORE POLL IDLE
cpu4: C1ACPI: ACPI FFH MWAIT 0x0
cpu4: C2ACPI: ACPI FFH MWAIT 0x31
cpu4: C3ACPI: ACPI FFH MWAIT 0x60
cpu4: cpufreq driver: intel_pstate
cpu4: cpufreq governor: powersave
cpufreq intel_pstate no_turbo: 0
cpu4: MSR_MISC_FEATURE_CONTROL: 0x00000000 (L2-Prefetch L2-Prefetch-
pair L1-Prefetch L1-IP-Prefetch)
cpu0: MSR_PM_ENABLE: 0x00000001 (HWP)
cpu0: MSR_HWP_CAPABILITIES: 0x010d2335 (high 53 guar 35 eff 13 low 1)
cpu0: MSR_HWP_REQUEST: 0x80003508 (min 8 max 53 des 0 epp 0x80 window
0x0
pkg 0x0)
cpu0: MSR_HWP_REQUEST_PKG: 0x8000ff01 (min 1 max 255 des 0 epp 0x80
window
0x0)
cpu0: MSR_HWP_INTERRUPT: 0x00000000 (Dis_Guaranteed_Perf_Change,
Dis_Excursion_Min)
cpu0: MSR_HWP_STATUS: 0x00000004 (No-Guaranteed_Perf_Change, No-
Excursion_Min)
cpu0: MSR_IA32_ENERGY_PERF_BIAS: 0x00000006 (balanced)
cpu0: MSR_RAPL_POWER_UNIT: 0x000a0e03 (0.125000 Watts, 0.000061
Joules,
0.000977 sec.)
cpu0: MSR_PKG_POWER_INFO: 0x000003e8 (125 W TDP, RAPL 0 - 0 W,
0.000000
sec.)
cpu0: MSR_PKG_POWER_LIMIT: 0x42fff800e5fff8 (UNlocked)
cpu0: PKG Limit #1: ENabled (4095.000000 Watts, 448.000000 sec, clamp
ENabled)
cpu0: PKG Limit #2: ENabled (4095.000000 Watts, 0.002441* sec, clamp
DISabled)
cpu0: MSR_DRAM_POWER_LIMIT: 0x5400de00000000 (UNlocked)
cpu0: DRAM Limit: DISabled (0.000000 Watts, 0.000977 sec, clamp
DISabled)
cpu0: MSR_PP0_POLICY: 0
cpu0: MSR_PP0_POWER_LIMIT: 0x00000000 (UNlocked)
cpu0: Cores Limit: DISabled (0.000000 Watts, 0.000977 sec, clamp
DISabled)
cpu0: MSR_PP1_POLICY: 0
cpu0: MSR_PP1_POWER_LIMIT: 0x00000000 (UNlocked)
cpu0: GFX Limit: DISabled (0.000000 Watts, 0.000977 sec, clamp
DISabled)
cpu4: MSR_IA32_TEMPERATURE_TARGET: 0x00640000 (100 C) (100 default - 0
offset)
cpu0: MSR_IA32_PACKAGE_THERM_STATUS: 0x88450000 (31 C)
cpu0: MSR_IA32_PACKAGE_THERM_INTERRUPT: 0x00000003 (100 C, 100 C)
cpu4: MSR_PKGC3_IRTL: 0x00000000 (NOTvalid, 0 ns)
cpu4: MSR_PKGC6_IRTL: 0x00000000 (NOTvalid, 0 ns)
cpu4: MSR_PKGC7_IRTL: 0x00000000 (NOTvalid, 0 ns)
cpu4: MSR_PKGC8_IRTL: 0x00000000 (NOTvalid, 0 ns)
cpu4: MSR_PKGC9_IRTL: 0x00000000 (NOTvalid, 0 ns)
cpu4: MSR_PKGC10_IRTL: 0x00000000 (NOTvalid, 0 ns)
Busy% Bzy_MHz IRQ PkgTmp PkgWatt GFXWatt RAMWatt PKG_%
0.76 1268 6511 30 16.87 0.00 0.00 0.00
0.89 983 9705 31 17.39 0.03 0.00 0.00
0.43 851 7473 31 17.03 0.00 0.00 0.00
0.36 800 5721 30 16.85 0.00 0.00 0.00
0.33 800 5427 30 16.80 0.00 0.00 0.00
0.34 800 5414 31 16.77 0.00 0.00 0.00
0.46 800 5744 30 16.61 0.01 0.00 0.00
0.48 800 2881 31 16.68 0.00 0.00 0.00

performance turbostat no quiet


chris@pc-01:~$ sudo turbostat --Summary --show 
Busy%,Bzy_MHz,IRQ,PkgWatt,PkgTmp,RAMWatt,GFXWatt,PKG_%
turbostat version 20.09.30 - Len Brown <[email protected]>
CPUID(0): GenuineIntel 0x1b CPUID levels; 0x80000008 xlevels;
family:model:stepping 0x6:a7:1 (6:167:1)
CPUID(1): SSE3 MONITOR SMX EIST TM2 TSC MSR ACPI-TM HT TM
CPUID(6): APERF, TURBO, DTS, PTM, HWP, HWPnotify, HWPwindow, HWPepp,
HWPpkg, EPB
cpu4: MSR_IA32_MISC_ENABLE: 0x00850089 (TCC EIST MWAIT PREFETCH TURBO)
CPUID(7): No-SGX
CPUID(0x15): eax_crystal: 2 ebx_tsc: 292 ecx_crystal_hz: 24000000
TSC: 3504 MHz (24000000 Hz * 292 / 2 / 1000000)
CPUID(0x16): base_mhz: 3500 max_mhz: 5300 bus_mhz: 100
cpu4: MSR_MISC_PWR_MGMT: 0x00401cc0 (ENable-EIST_Coordination DISable-
EPB DISable-OOB)
RAPL: 2097 sec. Joule Counter Range, at 125 Watts
cpu4: MSR_PLATFORM_INFO: 0x808083af1812300
8 * 100.0 = 800.0 MHz max efficiency frequency
35 * 100.0 = 3500.0 MHz base frequency
cpu4: MSR_IA32_POWER_CTL: 0x0034005d (C1E auto-promotion: DISabled)
cpu4: MSR_TURBO_RATIO_LIMIT: 0x3232323434353535
50 * 100.0 = 5000.0 MHz max turbo 8 active cores
50 * 100.0 = 5000.0 MHz max turbo 7 active cores
50 * 100.0 = 5000.0 MHz max turbo 6 active cores
52 * 100.0 = 5200.0 MHz max turbo 5 active cores
52 * 100.0 = 5200.0 MHz max turbo 4 active cores
53 * 100.0 = 5300.0 MHz max turbo 3 active cores
53 * 100.0 = 5300.0 MHz max turbo 2 active cores
53 * 100.0 = 5300.0 MHz max turbo 1 active cores
cpu4: MSR_CONFIG_TDP_NOMINAL: 0x00000023 (base_ratio=35)
cpu4: MSR_CONFIG_TDP_LEVEL_1: 0x001e02f8 (PKG_MIN_PWR_LVL1=0
PKG_MAX_PWR_LVL1=0 LVL1_RATIO=30 PKG_TDP_LVL1=760)
cpu4: MSR_CONFIG_TDP_LEVEL_2: 0x00000000 ()
cpu4: MSR_CONFIG_TDP_CONTROL: 0x00000000 ( lock=0)
cpu4: MSR_TURBO_ACTIVATION_RATIO: 0x00000000 (MAX_NON_TURBO_RATIO=0
lock=0)
cpu4: MSR_PKG_CST_CONFIG_CONTROL: 0x74000000 (UNdemote-C1, demote-C1,
UNlocked, pkg-cstate-limit=0 (pc0))
/dev/cpu_dma_latency: 2000000000 usec (default)
current_driver: intel_idle
current_governor: menu
current_governor_ro: menu
cpu4: POLL: CPUIDLE CORE POLL IDLE
cpu4: C1ACPI: ACPI FFH MWAIT 0x0
cpu4: C2ACPI: ACPI FFH MWAIT 0x31
cpu4: C3ACPI: ACPI FFH MWAIT 0x60
cpu4: cpufreq driver: intel_pstate
cpu4: cpufreq governor: performance
cpufreq intel_pstate no_turbo: 0
cpu4: MSR_MISC_FEATURE_CONTROL: 0x00000000 (L2-Prefetch L2-Prefetch-
pair L1-Prefetch L1-IP-Prefetch)
cpu0: MSR_PM_ENABLE: 0x00000001 (HWP)
cpu0: MSR_HWP_CAPABILITIES: 0x010d2335 (high 53 guar 35 eff 13 low 1)
cpu0: MSR_HWP_REQUEST: 0x00003535 (min 53 max 53 des 0 epp 0x0 window
0x0 pkg 0x0)
cpu0: MSR_HWP_REQUEST_PKG: 0x8000ff01 (min 1 max 255 des 0 epp 0x80
window 0x0)
cpu0: MSR_HWP_INTERRUPT: 0x00000000 (Dis_Guaranteed_Perf_Change,
Dis_Excursion_Min)
cpu0: MSR_HWP_STATUS: 0x00000004 (No-Guaranteed_Perf_Change, No-
Excursion_Min)
cpu0: MSR_IA32_ENERGY_PERF_BIAS: 0x00000006 (balanced)
cpu0: MSR_RAPL_POWER_UNIT: 0x000a0e03 (0.125000 Watts, 0.000061
Joules, 0.000977 sec.)
cpu0: MSR_PKG_POWER_INFO: 0x000003e8 (125 W TDP, RAPL 0 - 0 W,
0.000000 sec.)
cpu0: MSR_PKG_POWER_LIMIT: 0x42fff800e5fff8 (UNlocked)
cpu0: PKG Limit #1: ENabled (4095.000000 Watts, 448.000000 sec, clamp
ENabled)
cpu0: PKG Limit #2: ENabled (4095.000000 Watts, 0.002441* sec, clamp
DISabled)
cpu0: MSR_DRAM_POWER_LIMIT: 0x5400de00000000 (UNlocked)
cpu0: DRAM Limit: DISabled (0.000000 Watts, 0.000977 sec, clamp
DISabled)
cpu0: MSR_PP0_POLICY: 0
cpu0: MSR_PP0_POWER_LIMIT: 0x00000000 (UNlocked)
cpu0: Cores Limit: DISabled (0.000000 Watts, 0.000977 sec, clamp
DISabled)
cpu0: MSR_PP1_POLICY: 0
cpu0: MSR_PP1_POWER_LIMIT: 0x00000000 (UNlocked)
cpu0: GFX Limit: DISabled (0.000000 Watts, 0.000977 sec, clamp
DISabled)
cpu4: MSR_IA32_TEMPERATURE_TARGET: 0x00640000 (100 C) (100 default - 0
offset)
cpu0: MSR_IA32_PACKAGE_THERM_STATUS: 0x88410000 (35 C)
cpu0: MSR_IA32_PACKAGE_THERM_INTERRUPT: 0x00000003 (100 C, 100 C)
cpu4: MSR_PKGC3_IRTL: 0x00000000 (NOTvalid, 0 ns)
cpu4: MSR_PKGC6_IRTL: 0x00000000 (NOTvalid, 0 ns)
cpu4: MSR_PKGC7_IRTL: 0x00000000 (NOTvalid, 0 ns)
cpu4: MSR_PKGC8_IRTL: 0x00000000 (NOTvalid, 0 ns)
cpu4: MSR_PKGC9_IRTL: 0x00000000 (NOTvalid, 0 ns)
cpu4: MSR_PKGC10_IRTL: 0x00000000 (NOTvalid, 0 ns)
Busy% Bzy_MHz IRQ PkgTmp PkgWatt GFXWatt RAMWatt PKG_%
0.10 5295 2016 32 19.00 0.00 0.00 0.00
0.10 5297 2001 31 19.00 0.00 0.00 0.00
0.09 5298 1944 31 18.93 0.00 0.00 0.00
0.09 5297 1913 31 18.95 0.00 0.00 0.00
0.09 5298 1907 32 18.88 0.00 0.00 0.00
0.10 5287 1778 31 19.18 0.00 0.00 0.00

end


More From » networking

 Answers
2

Turns out this was a bios issue with the CPU frequency. I was running an updated version (0704), updated to 0707 that was released 4/28/2021 and now my CPU will run at full speed under load.


Here's a link to the latest bios from Asus: https://rog.asus.com/us/motherboards/rog-strix/rog-strix-z590-e-gaming-wifi-model/helpdesk_bios


Now I will check my networking and see if anything changed there. Still will not boot into the GUI on mainline kernels or stock kernels without an add in graphics card.


Networking checked with iperf. Still running at 1gb instead of 2.5


[#1643] Thursday, June 10, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
moloy

Total Points: 457
Total Questions: 93
Total Answers: 119

Location: Romania
Member since Wed, Dec 29, 2021
2 Years ago
;