更新:

更新:

我有一块 Intel Core i5-7600(不是 K)CPU 和一块 B250 Gigabyte 主板(具体来说是 GA-B250M-D3H),并且安装了最新的 BIOS 更新。BIOS 中启用了 Turbo Boost 功能。然而,turbostat在 Ubuntu 16.10 上运行一些计算量大的操作(例如openssl speed)时,我得到的结果是:

 CPU Avg_MHz   Busy% Bzy_MHz TSC_MHz
   -    1045   29.83    3500    3506
   0     245    7.00    3500    3508
   1     213    6.08    3500    3507
   2     222    6.33    3500    3507
   3    3500  100.00    3500    3504

CPU 在 Turbo Boost 下应该以 4.1 GHz 运行,但它使用的是基本频率。这是什么原因造成的?还有其他因素会阻止 Turbo Boost 工作吗?

更新:

输出如下turbostat --debug

CPUID(0): GenuineIntel 22 CPUID levels; family:model:stepping 0x6:9e:9 (6:158:9)
CPUID(1): SSE3 MONITOR SMX EIST TM2 TSC MSR ACPI-TM TM
CPUID(6): APERF, DTS, PTM, HWP, HWPnotify, HWPwindow, HWPepp, No-HWPpkg, No-EPB
cpu0: MSR_IA32_MISC_ENABLE: 0x00850089 (TCC EIST MONITOR)
CPUID(7): SGX
cpu0: MSR_IA32_FEATURE_CONTROL: 0x00000005 (Locked )
CPUID(0x15): eax_crystal: 2 ebx_tsc: 292 ecx_crystal_hz: 0
TSC: 3504 MHz (24000000 Hz * 292 / 2 / 1000000)
CPUID(0x16): base_mhz: 3500 max_mhz: 2800 bus_mhz: 100
cpu0: MSR_MISC_PWR_MGMT: 0x00001cc0 (ENable-EIST_Coordination DISable-EPB)
RAPL: 4033 sec. Joule Counter Range, at 65 Watts
cpu0: MSR_PLATFORM_INFO: 0x8080838f1012300
8 * 100 = 800 MHz max efficiency frequency
35 * 100 = 3500 MHz base frequency
cpu0: MSR_IA32_POWER_CTL: 0x0038005d (C1E auto-promotion: DISabled)
cpu0: MSR_TURBO_RATIO_LIMIT: 0x1c1c1c1c
28 * 100 = 2800 MHz max turbo 4 active cores
28 * 100 = 2800 MHz max turbo 3 active cores
28 * 100 = 2800 MHz max turbo 2 active cores
28 * 100 = 2800 MHz max turbo 1 active cores
cpu0: MSR_CONFIG_TDP_NOMINAL: 0x00000023 (base_ratio=35)
cpu0: MSR_CONFIG_TDP_LEVEL_1: 0x00000000 ()
cpu0: MSR_CONFIG_TDP_LEVEL_2: 0x00000000 ()
cpu0: MSR_CONFIG_TDP_CONTROL: 0x80000000 ( lock=1)
cpu0: MSR_TURBO_ACTIVATION_RATIO: 0x00000000 (MAX_NON_TURBO_RATIO=0 lock=0)
cpu0: MSR_NHM_SNB_PKG_CST_CFG_CTL: 0x7e000006 (UNdemote-C3, UNdemote-C1, demote-C3, demote-C1, UNlocked: pkg-cstate-limit=6: pc8)
cpu0: MSR_PM_ENABLE: 0x00000001 (HWP)
cpu0: MSR_HWP_CAPABILITIES: 0x010f2329 (high 0x29 guar 0x23 eff 0xf low 0x1)
cpu0: MSR_HWP_REQUEST: 0x80002909 (min 0x9 max 0x29 des 0x0 epp 0x80 window 0x0 pkg 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_RAPL_POWER_UNIT: 0x000a0e03 (0.125000 Watts, 0.000061 Joules, 0.000977 sec.)
cpu0: MSR_PKG_POWER_INFO: 0x00000208 (65 W TDP, RAPL 0 - 0 W, 0.000000 sec.)
cpu0: MSR_PKG_POWER_LIMIT: 0x42ffd0001aea82 (UNlocked)
cpu0: PKG Limit #1: ENabled (3408.250000 Watts, 8.000000 sec, clamp DISabled)
cpu0: PKG Limit #2: ENabled (4090.000000 Watts, 0.002441* sec, clamp DISabled)
cpu0: MSR_DRAM_POWER_LIMIT: 0x148ffa00148ffa (UNlocked)
cpu0: DRAM Limit: ENabled (511.250000 Watts, 1.000000 sec, clamp DISabled)
cpu0: MSR_IA32_TEMPERATURE_TARGET: 0x00641400 (100 C)
cpu0: MSR_IA32_PACKAGE_THERM_STATUS: 0x88390000 (43 C)
cpu0: MSR_IA32_THERM_STATUS: 0x883c0000 (40 C +/- 1)
cpu1: MSR_IA32_THERM_STATUS: 0x883a0000 (42 C +/- 1)
cpu2: MSR_IA32_THERM_STATUS: 0x88390000 (43 C +/- 1)
cpu3: MSR_IA32_THERM_STATUS: 0x88370000 (45 C +/- 1)
cpu0: MSR_PKGC3_IRTL: 0x0000884e (valid, 79872 ns)
cpu0: MSR_PKGC6_IRTL: 0x00008876 (valid, 120832 ns)
cpu0: MSR_PKGC7_IRTL: 0x00008894 (valid, 151552 ns)
cpu0: MSR_PKGC8_IRTL: 0x000088fa (valid, 256000 ns)
cpu0: MSR_PKGC9_IRTL: 0x0000894c (valid, 339968 ns)
cpu0: MSR_PKGC10_IRTL: 0x00008bf2 (valid, 1034240 ns)
    Core     CPU Avg_MHz   Busy% Bzy_MHz TSC_MHz     IRQ     SMI  CPU%c1  CPU%c3  CPU%c6  CPU%c7 CoreTmp  PkgTmp Totl%C0  Any%C0  GFX%C0 CPUGFX% Pkg%pc2 Pkg%pc3 Pkg%pc6 Pkg%pc7 Pkg%pc8 Pkg%pc9 Pk%pc10 PkgWatt RAMWatt   PKG_%   RAM_%
       -       -    1231   35.15    3500    3506    3143       0    5.87    0.05    0.83   58.14      45      45  141.15  100.08    0.00    0.00    0.00    0.00    0.00    0.00    0.00    0.00    0.00   23.02    1.19    0.00    0.00
       0       0     337    9.62    3500    3509     576       0   10.83    0.08    1.20   78.28      34      45  141.05  100.00    0.00    0.00    0.00    0.00    0.00    0.00    0.00    0.00    0.00   23.02    1.19    0.00    0.00
       1       1     502   14.32    3500    3509     653       0    3.39    0.08    1.18   81.04      34
       2       2    3499  100.00    3500    3503    1336       0    0.11    0.00    0.00    0.00      45
       3       3     585   16.73    3500    3503     578       0    9.14    0.02    0.96   73.16      36

奇怪的是,尽管我仔细检查了 BIOS 中是否启用了“Intel Turbo Boost 技术”,但结果还是cat /sys/devices/system/cpu/intel_pstate/no_turbo返回了。而且我无法手动更改此文件。1

答案1

最后,这只是一个 BIOS 问题。如果您也有类似的硬件,请将您的 BIOS 更新到最新版本(即使您认为您拥有的是最新版本,也请检查一下 :))。此外,如果您已启用 XMP,请尝试禁用它,看看它是否有效。

相关内容