LINUX.ORG.RU

Сообщения Falarick

 

Некорректная работа Intel Pentium N5000 в Linux/BSD системах.

Доброе времени суток! Возникла следующая проблема на ноутбуке ASUS x507ma с процессором intel pentium silver n5000 (gemini lake). Частота процессора на установленной системе, пусть то debian, ubuntu, centos или freebsd, всегда постоянна и равна базовой частоте в 1.1 ГГц. смотрел через watch ‘cat /proc/cpuninfo | grep MHz’. Перебирая дистрибутивы, поставил arch linux, и на мое удивление все заработало из коробки, процессор нормально определился, частоты динамические, в зависимости от нагрузки, все хорошо. Но по учебе нужно осваивать услуги и серверы, и под каждую виртуальную машину устанавливать arch не удобно. Смотрел cpupower frequency-info, в arch драйвер определяется, и он intel_pstate, в debian при выводе той же команды сообщение, что модуль не найден или драйвер не активен под данным cpu. Привожу вывод некоторых утилит для arch и debian.

Arch:

  1. 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 - 2.70 GHz
  available cpufreq governors: performance powersave
  current policy: frequency should be within 800 MHz and 2.70 GHz.
                  The governor "powersave" may decide which speed to use
                  within this range.
  current CPU frequency: Unable to call hardware
  current CPU frequency: 1.79 GHz (asserted by call to kernel)
  boost state support:
    Supported: yes
    Active: yes
  1. lshw -C CPU:
  *-cpu
       description: CPU
       product: Intel(R) Pentium(R) Silver N5000 CPU @ 1.10GHz
       vendor: Intel Corp.
       physical id: 16
       bus info: cpu@0
       version: Intel(R) Pentium(R) Silver N5000 CPU @ 1.10GHz
       slot: SOCKET 0
       size: 2205MHz
       capacity: 2700MHz
       width: 64 bits
       clock: 100MHz
       capabilities: x86-64 fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg cx16 xtpr pdcm sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave rdrand lahf_lm 3dnowprefetch cpuid_fault cat_l2 pti cdp_l2 ssbd ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust smep erms mpx rdt_a rdseed smap clflushopt intel_pt sha_ni xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts umip rdpid md_clear arch_capabilities cpufreq
       configuration: cores=4 enabledcores=4 threads=4
  1. inxi -C:
CPU:       Topology: Quad Core model: Intel Pentium Silver N5000 bits: 64 type: MCP L2 cache: 4096 KiB 
           Speed: 1043 MHz min/max: 800/2700 MHz Core speeds (MHz): 1: 895 2: 895 3: 895 4: 895 

Debian:

  1. cpupower frequency-info:
analyzing CPU 0:
  no or unknown cpufreq driver is active on this CPU
  CPUs which run at the same hardware frequency: Not Available
  CPUs which need to have their frequency coordinated by software: Not Available
  maximum transition latency:  Cannot determine or is not supported.
Not Available
  available cpufreq governors: 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
  1. lshw -C CPU:
  *-cpu
       product: Intel(R) Pentium(R) Silver N5000 CPU @ 1.10GHz
       vendor: Intel Corp.
       physical id: 2
       bus info: cpu@0
       width: 64 bits
       capabilities: fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx rdtscp x86-64 constant_tsc rep_good nopl xtopology nonstop_tsc cpuid tsc_known_freq pni pclmulqdq monitor ssse3 cx16 sse4_1 sse4_2 x2apic movbe popcnt aes xsave rdrand hypervisor lahf_lm 3dnowprefetch pti fsgsbase rdseed clflushopt arch_capabilities
  1. inxi -C:
CPU:       Topology: Single Core model: Intel Pentium Silver N5000 bits: 64 type: MCP 
           arch: Goldmont Plus rev: 1 L2 cache: 4096 KiB 
           flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 bogomips: 2188 
           Speed: 1094 MHz min/max: N/A Core speed (MHz): 1: 1094 

Я просто ума не приложу, где лежит ключ данной разгадки. Или какие-то патчи применяются в ядре или мой процессор не поддерживается. Хочу разобраться в данном вопросе, и прошу помощи.

 , , , ,

Falarick
()

RSS подписка на новые темы