How to use acpi-cpufreq driver?
The default is intel_pstate, and i can't disable it.
I tried viewtopic.php?t=59128 , but it's still pstate.
I can't use userspace governer and adjust the cpu frequency.
How to use acpi-cpufreq driver?
Re: How to use acpi-cpufreq driver?
I'm Analyzing and trying to use that but i'm having problem too. If someone have more information about how to enable and use it will be very welcome.
In my case, i'll enable on Virtual Server over Hyper-V.
System Info:
CPU Info:
ACPI FREQ Not running
Kernel Modules not present:
In my case, i'll enable on Virtual Server over Hyper-V.
System Info:
Code: Select all
[root@lnxvm01 ~]# uname -a
Linux lnxvm01 3.10.0-862.11.6.el7.x86_64 #1 SMP Tue Aug 14 21:49:04 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
[root@lnxvm01 ~]#
Code: Select all
System Information
Manufacturer: Microsoft Corporation
Product Name: Virtual Machine
Version: 7.0
Code: Select all
Processor Information
Socket Designation: None
Type: Central Processor
Family: Xeon
Manufacturer: Intel(R) Corporation
ID: F2 06 03 00 FF FB 8B 1F
Signature: Type 0, Family 6, Model 63, Stepping 2
Flags:
FPU (Floating-point unit on-chip)
VME (Virtual mode extension)
DE (Debugging extension)
PSE (Page size extension)
TSC (Time stamp counter)
MSR (Model specific registers)
PAE (Physical address extension)
MCE (Machine check exception)
CX8 (CMPXCHG8 instruction supported)
APIC (On-chip APIC hardware supported)
SEP (Fast system call)
MTRR (Memory type range registers)
PGE (Page global enable)
MCA (Machine check architecture)
CMOV (Conditional move instruction supported)
PAT (Page attribute table)
PSE-36 (36-bit page size extension)
CLFSH (CLFLUSH instruction supported)
MMX (MMX technology supported)
FXSR (FXSAVE and FXSTOR instructions supported)
SSE (Streaming SIMD extensions)
SSE2 (Streaming SIMD extensions 2)
SS (Self-snoop)
HTT (Multi-threading)
[b] Version: Intel(R) Xeon(R) CPU E5-2673 v3 @ 2.40GHz
Voltage: 2.3 V
External Clock: 100 MHz
Max Speed: 4000 MHz
Current Speed: 2400 MHz[/b]
Status: Populated, Enabled
Upgrade: None
L1 Cache Handle: Not Provided
L2 Cache Handle: Not Provided
L3 Cache Handle: Not Provided
Serial Number: None
Asset Tag: None
Part Number: None
Code: Select all
[root@lnxvm01 ~]# cpupower -c all 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.
hardware limits: 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
analyzing CPU 1:
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.
hardware limits: 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
[root@lnxvm01 ~]#
Code: Select all
[root@lnxvm01 ~]# ls /sys/devices/system/cpu/cpu0/
cache/ crash_notes crash_notes_size driver/ firmware_node/ microcode/ node0/ online power/ subsystem/ topology/ uevent
[root@lnxvm01 ~]# lsmod | grep -i freq
[root@lnxvm01 ~]#
Code: Select all
[root@lnxvm01 ~]# ls /lib/modules/3.10.0-862.11.6.el7.x86_64/kernel/arch/
x86
[root@lnxvm01 ~]# ls /lib/modules/3.10.0-862.11.6.el7.x86_64/kernel/arch/x86/
crypto/ kernel/ kvm/ oprofile/ platform/
[root@lnxvm01 ~]# ls /lib/modules/3.10.0-862.11.6.el7.x86_64/kernel/arch/x86/kernel/cpu/
mcheck
[root@lnxvm01 ~]# ls /lib/modules/3.10.0-862.11.6.el7.x86_64/kernel/arch/x86/kernel/cpu/mcheck/
mce-inject.ko.xz
[root@lnxvm01 ~]#
Re: How to use acpi-cpufreq driver?
You don't say why you want to do this.
You also don't say if the hypervisor layer will filter your requests.
Personally I'd just use tuned to set the governor mode.
An intro is available at:
https://www.certdepot.net/rhel7-get-sta ... -governor/
You also don't say if the hypervisor layer will filter your requests.
Personally I'd just use tuned to set the governor mode.
An intro is available at:
https://www.certdepot.net/rhel7-get-sta ... -governor/
Re: How to use acpi-cpufreq driver?
In a VM I don't think you want any cpu government at all. That should be done on the host if at all.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Re: How to use acpi-cpufreq driver?
Yup. What he ^^^ said