AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • Início
  • system&network
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • Início
  • system&network
    • Recentes
    • Highest score
    • tags
  • Ubuntu
    • Recentes
    • Highest score
    • tags
  • Unix
    • Recentes
    • tags
  • DBA
    • Recentes
    • tags
  • Computer
    • Recentes
    • tags
  • Coding
    • Recentes
    • tags
Início / ubuntu / Perguntas / 1379048
Accepted
Rick T
Rick T
Asked: 2021-12-04 08:08:30 +0800 CST2021-12-04 08:08:30 +0800 CST 2021-12-04 08:08:30 +0800 CST

driver intel_pstate não sendo carregado quando adicionado ao arquivo grub

  • 772

eu tenho um

Processor   Intel(R) Core(TM) i7-4700MQ CPU @ 2.40GHz
Memory  16305MB (2531MB used)
Machine Type    Laptop
Operating System    Ubuntu 20.04.3 LTS

No meu arquivo /etc/default/grub eu tenho a linha

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash intel_pstate=enable"

Eu fiz um sudo update-grub após as alterações, mas quando faço um cpupower frequency-info ou um cpufreq-info --driver , ele diz que o driver usado é intel_cpufreq

rt@sys76:~$ cpufreq-info --driver
intel_cpufreq


rt@sys76:~$ cpupower frequency-info

analyzing CPU 0:
  driver: intel_cpufreq
  CPUs which run at the same hardware frequency: 0
  CPUs which need to have their frequency coordinated by software: 0
  maximum transition latency: 20.0 us
  hardware limits: 800 MHz - 3.40 GHz
  available cpufreq governors: conservative ondemand userspace powersave performance schedutil
  current policy: frequency should be within 1.70 GHz and 3.40 GHz.
                  The governor "ondemand" may decide which speed to use
                  within this range.
  current CPU frequency: Unable to call hardware
  current CPU frequency: 798 MHz (asserted by call to kernel)
  boost state support:
    Supported: yes
    Active: yes
rt@sys76:~$ 

Como posso obter o cpufreq-info --driver para usar o driver intel_pstate ?

drivers
  • 1 1 respostas
  • 1114 Views

1 respostas

  • Voted
  1. Best Answer
    Doug Smythies
    2021-12-04T08:47:10+08:002021-12-04T08:47:10+08:00

    Seu processador, i7-4700MQ, é anterior ao controle HWP (HardWare Pstate). O caminho de migração, conforme determinado pelo grupo de gerenciamento de energia do kernel, para esses processadores Intel é o padrão para o driver de dimensionamento de frequência de CPU intel_pstate estar no modo passivo usando o governador de dimensionamento schedutil. Para isso foi feito este commit:

    commit 33aa46f252c703e42c81a76696cd0c240f2281e4 Autor: Rafael J. Wysocki [email protected] Data: qua 25 de março 15:03:35 2020 +0100

    cpufreq: intel_pstate: Use passive mode by default without HWP
    
    After recent changes allowing scale-invariant utilization to be
    used on x86, the schedutil governor on top of intel_pstate in the
    passive mode should be on par with (or better than) the active mode
    "powersave" algorithm of intel_pstate on systems in which
    hardware-managed P-states (HWP) are not used, so it should not be
    necessary to use the internal scaling algorithm in those cases.
    
    Accordingly, modify intel_pstate to start in the passive mode by
    default if the processor at hand does not support HWP of if the driver
    is requested to avoid using HWP through the kernel command line.
    
    Among other things, that will allow utilization clamps and the
    support for RT/DL tasks in the schedutil governor to be utilized on
    systems in which intel_pstate is used.
    

    Na verdade, você está usando o driver de dimensionamento de frequência da CPU intel_pstate, mas está no modo passivo. Tente isto:

    echo active | sudo tee /sys/devices/system/cpu/intel_pstate/status
    

    e depois verifique:

    cat /sys/devices/system/cpu/intel_pstate/status
    

    Se isso funcionar como esperado, altere sua linha grub para:

    GRUB_CMDLINE_LINUX_DEFAULT="quiet splash intel_pstate=active"
    

    e veja se ele inicializa do jeito que você quer.

    Observe que o driver de dimensionamento de frequência da CPU intel_cpufreqé apenas o intel_pstatedriver no modo passivo.

    Exemplo:

    doug@s19:~/temp$ grep . /sys/devices/system/cpu/cpu*/cpufreq/scaling_driver
    /sys/devices/system/cpu/cpu0/cpufreq/scaling_driver:intel_cpufreq
    /sys/devices/system/cpu/cpu10/cpufreq/scaling_driver:intel_cpufreq
    /sys/devices/system/cpu/cpu11/cpufreq/scaling_driver:intel_cpufreq
    /sys/devices/system/cpu/cpu1/cpufreq/scaling_driver:intel_cpufreq
    /sys/devices/system/cpu/cpu2/cpufreq/scaling_driver:intel_cpufreq
    /sys/devices/system/cpu/cpu3/cpufreq/scaling_driver:intel_cpufreq
    /sys/devices/system/cpu/cpu4/cpufreq/scaling_driver:intel_cpufreq
    /sys/devices/system/cpu/cpu5/cpufreq/scaling_driver:intel_cpufreq
    /sys/devices/system/cpu/cpu6/cpufreq/scaling_driver:intel_cpufreq
    /sys/devices/system/cpu/cpu7/cpufreq/scaling_driver:intel_cpufreq
    /sys/devices/system/cpu/cpu8/cpufreq/scaling_driver:intel_cpufreq
    /sys/devices/system/cpu/cpu9/cpufreq/scaling_driver:intel_cpufreq
    
    doug@s19:~/temp$ cat /sys/devices/system/cpu/intel_pstate/status
    passive
    doug@s19:~/temp$ echo active | sudo tee /sys/devices/system/cpu/intel_pstate/status
    active
    
    doug@s19:~/temp$ grep . /sys/devices/system/cpu/cpu*/cpufreq/scaling_driver
    /sys/devices/system/cpu/cpu0/cpufreq/scaling_driver:intel_pstate
    /sys/devices/system/cpu/cpu10/cpufreq/scaling_driver:intel_pstate
    /sys/devices/system/cpu/cpu11/cpufreq/scaling_driver:intel_pstate
    /sys/devices/system/cpu/cpu1/cpufreq/scaling_driver:intel_pstate
    /sys/devices/system/cpu/cpu2/cpufreq/scaling_driver:intel_pstate
    /sys/devices/system/cpu/cpu3/cpufreq/scaling_driver:intel_pstate
    /sys/devices/system/cpu/cpu4/cpufreq/scaling_driver:intel_pstate
    /sys/devices/system/cpu/cpu5/cpufreq/scaling_driver:intel_pstate
    /sys/devices/system/cpu/cpu6/cpufreq/scaling_driver:intel_pstate
    /sys/devices/system/cpu/cpu7/cpufreq/scaling_driver:intel_pstate
    /sys/devices/system/cpu/cpu8/cpufreq/scaling_driver:intel_pstate
    /sys/devices/system/cpu/cpu9/cpufreq/scaling_driver:intel_pstate
    
    • 2

relate perguntas

Sidebar

Stats

  • Perguntas 205573
  • respostas 270741
  • best respostas 135370
  • utilizador 68524
  • Highest score
  • respostas
  • Marko Smith

    Existe um comando para listar todos os usuários? Também para adicionar, excluir, modificar usuários, no terminal?

    • 9 respostas
  • Marko Smith

    Como excluir um diretório não vazio no Terminal?

    • 4 respostas
  • Marko Smith

    Como descompactar um arquivo zip do Terminal?

    • 9 respostas
  • Marko Smith

    Como instalo um arquivo .deb por meio da linha de comando?

    • 11 respostas
  • Marko Smith

    Como instalo um arquivo .tar.gz (ou .tar.bz2)?

    • 14 respostas
  • Marko Smith

    Como listar todos os pacotes instalados

    • 24 respostas
  • Martin Hope
    Flimm Como posso usar o docker sem sudo? 2014-06-07 00:17:43 +0800 CST
  • Martin Hope
    led-Zepp Como faço para salvar a saída do terminal em um arquivo? 2014-02-15 11:49:07 +0800 CST
  • Martin Hope
    ubuntu-nerd Como descompactar um arquivo zip do Terminal? 2011-12-11 20:37:54 +0800 CST
  • Martin Hope
    TheXed Como instalo um arquivo .deb por meio da linha de comando? 2011-05-07 09:40:28 +0800 CST
  • Martin Hope
    Ivan Como listar todos os pacotes instalados 2010-12-17 18:08:49 +0800 CST
  • Martin Hope
    David Barry Como determino o tamanho total de um diretório (pasta) na linha de comando? 2010-08-06 10:20:23 +0800 CST
  • Martin Hope
    jfoucher "Os seguintes pacotes foram retidos:" Por que e como resolvo isso? 2010-08-01 13:59:22 +0800 CST
  • Martin Hope
    David Ashford Como os PPAs podem ser removidos? 2010-07-30 01:09:42 +0800 CST

Hot tag

10.10 10.04 gnome networking server command-line package-management software-recommendation sound xorg

Explore

  • Início
  • Perguntas
    • Recentes
    • Highest score
  • tag
  • help

Footer

AskOverflow.Dev

About Us

  • About Us
  • Contact Us

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve