openSUSE Leap 15.0 下 CPU 不会睿频?

最近发现跑程序的时候电脑有些安静,然后我就发现系统即时满载,cpu似乎也不会自动睿频。

$ cat /proc/cpuinfo | grep -i mhz                                                   
cpu MHz         : 3200.000
cpu MHz         : 3200.000
cpu MHz         : 3200.000
...

系统满载运行4分钟后:

$ uptime                                                                           
19:35:47  up   0:06,  2 users,  load average: 6.00, 3.65, 1.57

$ sensors                                                                          
iwlwifi-virtual-0
Adapter: Virtual device
temp1:        +28.0°C  

acpitz-acpi-0
Adapter: ACPI interface
temp1:        +27.8°C  (crit = +119.0°C)

coretemp-isa-0000
Adapter: ISA adapter
Package id 0:  +85.0°C  (high = +82.0°C, crit = +100.0°C)
Core 0:        +83.0°C  (high = +82.0°C, crit = +100.0°C)
Core 1:        +82.0°C  (high = +82.0°C, crit = +100.0°C)
Core 2:        +84.0°C  (high = +82.0°C, crit = +100.0°C)
Core 3:        +85.0°C  (high = +82.0°C, crit = +100.0°C)
Core 4:        +82.0°C  (high = +82.0°C, crit = +100.0°C)
Core 5:        +80.0°C  (high = +82.0°C, crit = +100.0°C)

下面是一些配置信息,不知道有没有大佬可以帮忙看看是什么问题。

CPU:Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz
显卡:GeForce GTX 1050

kernel 启动参数:

$ cat /proc/cmdline                                                                
BOOT_IMAGE=/boot/vmlinuz-4.12.14-lp150.12.79-default root=UUID=7b4e31f6-8f21-49cc-9410-a809bccc22ce splash=silent quiet showopts noibrs noibpb nopti nospectre_v2 nospectre_v1 l1tf=off nospec_store_bypass_disable no_stf_barrier mds=off mitigations=off

内核版本:

$ uname -a                                                                         
Linux localhost.localdomain 4.12.14-lp150.12.79-default #1 SMP Wed Oct 23 05:26:19 UTC 2019 (8cbc240) x86_64 x86_64 x86_64 GNU/Linux

系统版本:

$ cat /etc/SUSE-brand                                                              
openSUSE
VERSION = 15.0

其他一些选项:

$ cat /sys/devices/system/cpu/intel_pstate/no_turbo  
0
$ cat /sys/devices/system/cpu/intel_pstate/max_perf_pct                            
100

BIOS里也没有选限制性能的选项。

这意思是已经睿频了么?

> $ 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 - 4.60 GHz
>   available cpufreq governors: performance powersave
>   current policy: frequency should be within 800 MHz and 4.60 GHz.
>                   The governor "powersave" may decide which speed to use
>                   within this range.
>   current CPU frequency: Unable to call hardware
>   current CPU frequency: 4.06 GHz (asserted by call to kernel)
>   boost state support:
>     Supported: yes
>     Active: yes

插楼问一下那个27.8度是个默认值吗?用screenfetch显示的cpu温度经常是这个,个别内核会显示正常温度,而且还不是每次开机都正常,有时也会显示27。8

看样子已经睿频了

这个我也不清楚,

笔记本平台(fedora 30)

acpitz-acpi-0
Adapter: ACPI interface
temp1: +27.8°C (crit = +105.0°C)
temp2: +29.8°C (crit = +105.0°C)

Dell台式机(opensuse leap 15.0)

iwlwifi-virtual-0
Adapter: Virtual device
temp1: +27.0°C

acpitz-acpi-0
Adapter: ACPI interface
temp1: +27.8°C (crit = +119.0°C)

相同的Dell台式机(centos 7.7)

acpitz-virtual-0
Adapter: Virtual device
temp1: +27.8°C (crit = +119.0°C)

全核八十度,从温度来看应该是睿了,没睿就废了(大概还能拿来煎蛋吃)。

内核太老的话,显示频率可能会不准吧,我也不是很确定。

我用的农企 CPU 也是如此,ryzen 1700 一直在处在 3.0g,但是看 7z 跑分又是睿频的。后来干脆在 BIOS 里面超到 3.7g

以前用笔记本 i7 的时候,睿频是正常的。

超频是不可能,这辈子都不可能超频的