Re: Celeron J3160 with enabled Turbo mode stays at 480MHz(lowestsetting) forever and can not lower frequency without Tuebo mode

From: Lev Serebryakov <lev_at_FreeBSD.org>
Date: Thu, 6 Sep 2018 16:41:27 +0300
On 06.09.2018 4:15, Benjamin Kaduk wrote:

> Okay, "system openssl" and the FreeBSD version is enough to nail down the
> code and configuration, and I see the processor type is in the subject
> line.  I guess posting the CPU features bits from dmesg might save whoever
> tries to track down the codepaths being used some time (unless that was
> posted already and I missed it?).

CPU: Intel(R) Celeron(R) CPU  J3160  _at_ 1.60GHz (1600.05-MHz K8-class CPU)
  Origin="GenuineIntel"  Id=0x406c4  Family=0x6  Model=0x4c  Stepping=4

Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>

Features2=0x43d8e3bf<SSE3,PCLMULQDQ,DTES64,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,MOVBE,POPCNT,TSCDLT,AESNI,RDRAND>
  AMD Features=0x28100800<SYSCALL,NX,RDTSCP,LM>
  AMD Features2=0x101<LAHF,Prefetch>
  Structured Extended Features=0x2282<TSCADJ,SMEP,ERMS,NFPUSG>
  VT-x: PAT,HLT,MTF,PAUSE,EPT,UG,VPID
  TSC: P-state invariant, performance statistics

And here are two outputs of turbostat with additional settings:

turbostat, Turbo DISABLED:

CPUID(0): GenuineIntel 11 CPUID levels; family:model:stepping 0x6:4c:4
(6:76:4)
CPUID(1): SSE3 MONITOR - EIST TM2 TSC MSR ACPI-TM TM
CPUID(6): APERF, No-TURBO, DTS, No-PTM, No-HWP, No-HWPnotify,
No-HWPwindow, No-HWPepp, No-HWPpkg, EPB
cpu3: MSR_IA32_MISC_ENABLE: 0x4000850089 (TCC EIST No-MWAIT PREFETCH
No-TURBO)
CPUID(7): No-SGX
cpu3: MSR_PLATFORM_INFO: 0x60002001400
6 * 133.3 = 800.0 MHz max efficiency frequency
20 * 133.3 = 2666.6 MHz base frequency
cpu3: MSR_IA32_POWER_CTL: 0x00000000 (C1E auto-promotion: DISabled)
cpu3: MSR_TURBO_RATIO_LIMIT: 0x00000000
cpu3: MSR_PKG_CST_CONFIG_CONTROL: 0x0014000f (UNlocked:
pkg-cstate-limit=15: unknown)
NSFOD /sys/devices/system/cpu/cpu3/cpufreq/scaling_driver
cpu0: MSR_IA32_ENERGY_PERF_BIAS: 0x00000000 (performance)
cpu2: MSR_IA32_ENERGY_PERF_BIAS: 0x00000000 (performance)
cpu0: MSR_IA32_TEMPERATURE_TARGET: 0x005a0000 (90 C)
cpu2: MSR_IA32_TEMPERATURE_TARGET: 0x005a0000 (90 C)

turbostat, Turbo ENABLED:

CPUID(0): GenuineIntel 11 CPUID levels; family:model:stepping 0x6:4c:4
(6:76:4)
CPUID(1): SSE3 MONITOR - EIST TM2 TSC MSR ACPI-TM TM
CPUID(6): APERF, TURBO, DTS, No-PTM, No-HWP, No-HWPnotify, No-HWPwindow,
No-HWPepp, No-HWPpkg, EPB
cpu1: MSR_IA32_MISC_ENABLE: 0x00850089 (TCC EIST No-MWAIT PREFETCH TURBO)
CPUID(7): No-SGX
cpu1: MSR_PLATFORM_INFO: 0x60002001400
6 * 133.3 = 800.0 MHz max efficiency frequency
20 * 133.3 = 2666.6 MHz base frequency
cpu1: MSR_IA32_POWER_CTL: 0x00000000 (C1E auto-promotion: DISabled)
cpu1: MSR_TURBO_RATIO_LIMIT: 0x00000000
cpu1: MSR_PKG_CST_CONFIG_CONTROL: 0x0014000f (UNlocked:
pkg-cstate-limit=15: unknown)
NSFOD /sys/devices/system/cpu/cpu1/cpufreq/scaling_driver
cpu0: MSR_IA32_ENERGY_PERF_BIAS: 0x00000000 (performance)
cpu2: MSR_IA32_ENERGY_PERF_BIAS: 0x00000000 (performance)
cpu0: MSR_IA32_TEMPERATURE_TARGET: 0x005a0000 (90 C)
cpu2: MSR_IA32_TEMPERATURE_TARGET: 0x005a0000 (90 C)

-- 
// Lev Serebryakov
Received on Thu Sep 06 2018 - 11:41:29 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:18 UTC