Skip to contentSkip to conversation

New: My machine enter automaticaly in ondemand but my kernel config have default CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE enable by default

Bug 218919 [email protected] 1 participant 3 messages May 31, 2024

lore
Share & tools
lore
#0 lore raw

https://bugzilla.kernel.org/show_bug.cgi?id=218919

Bug ID: 218919
Summary: My machine enter automaticaly in ondemand but my
kernel config have default CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE enable by default
Product: Power Management
Version: 2.5
Hardware: All
OS: Linux
Status: NEW
Severity: normal
Priority: P3
Component: cpufreq
Assignee: [email protected]
Reporter: [email protected]
Regression: No

Hi Kernel Team,

I notice this today:

```
analyzing CPU 6:
  driver: intel_cpufreq
  CPUs which run at the same hardware frequency: 6
  CPUs which need to have their frequency coordinated by software: 6
  maximum transition latency: 20.0 us.
  hardware limits: 800 MHz - 5.00 GHz
  available cpufreq governors: conservative, ondemand, userspace, powersave,
performance, schedutil
  current policy: frequency should be within 800 MHz and 5.00 GHz.
                  The governor "ondemand" may decide which speed to use
                  within this range.
  current CPU frequency is 800 MHz.

```

Ondemand is enabled on boot, but in my kernel config i have CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE at default option.

CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE=y

I think is not correctly this.

Reproduce:
1. intel_pstate=passive
2. intel_pstate=disable
2. intel_pstate=no_hwp
4. acpi_cpufreq

I not have installed userspace controller for scheduler.

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are the assignee for the bug.
#1 lore raw

[Bug 218919] My machine enter automaticaly in ondemand but my kernel config have default CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE enable by default

https://bugzilla.kernel.org/show_bug.cgi?id=218919

sander44 ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------
Kernel Version| |6.8.11

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are the assignee for the bug.
#2 lore raw

[Bug 218919] My machine enter automaticaly in ondemand but my kernel config have default CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE enable by default

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=218919

--- Comment #1 from sander44 ([email protected]) --- # lscpu

Architecture:             x86_64
  CPU op-mode(s):         32-bit, 64-bit
  Address sizes:          39 bits physical, 48 bits virtual
  Byte Order:             Little Endian
CPU(s):                   16
  On-line CPU(s) list:    0-15
Vendor ID:                GenuineIntel
  BIOS Vendor ID:         Intel(R) Corporation
  Model name:             Intel(R) Core(TM) i9-9980HK CPU @ 2.40GHz
    BIOS Model name:      Intel(R) Core(TM) i9-9980HK CPU @ 2.40GHz To Be
Filled By O.E.M. CPU @ 2.3GHz
    BIOS CPU family:      207
    CPU family:           6
    Model:                158
    Thread(s) per core:   2
    Core(s) per socket:   8
    Socket(s):            1
    Stepping:             13
    Frequency boost:      enabled
    CPU(s) scaling MHz:   130%
    CPU max MHz:          2401.0000
    CPU min MHz:          800.0000
    BogoMIPS:             4806.40
    Flags:                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 ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ss
se3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic
movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb ssbd ibrs ibpb stibp ibrs_enhanced tpr_shadow flexpriority ept vpid ept_ad fsgsbase tsc_adjust sgx bmi1 avx2 smep bmi2 erms invpcid mpx r
dseed adx smap clflushopt intel_pt xsaveopt xsavec
xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp vnmi sgx_lc md_clear flush_l1d arch_capabilities
Virtualization features:
Virtualization: VT-x
Caches (sum of all):

  L1d:                    256 KiB (8 instances)
  L1i:                    256 KiB (8 instances)
  L2:                     2 MiB (8 instances)
  L3:                     16 MiB (1 instance)

NUMA:
NUMA node(s): 1
NUMA node0 CPU(s): 0-15
Vulnerabilities:

  Gather data sampling:   Vulnerable
  Itlb multihit:          KVM: Vulnerable
  L1tf:                   Not affected
  Mds:                    Not affected
  Meltdown:               Not affected
  Mmio stale data:        Vulnerable
  Reg file data sampling: Not affected
  Retbleed:               Vulnerable
  Spec rstack overflow:   Not affected
  Spec store bypass:      Vulnerable
  Spectre v1:             Vulnerable: __user pointer sanitization and usercopy

barriers only; no swapgs barriers
Spectre v2: Vulnerable; IBPB: disabled; STIBP: disabled;
PBRSB-eIBRS: Vulnerable; BHI: Vulnerable
Srbds: Vulnerable
Tsx async abort: Mitigation; TSX disabled

# cat /proc/cmdline
BOOT_IMAGE=/boot/vmlinuz-6.8.11-x64coreivybridge-pve-realtime1-rt11
root=/dev/mapper/pve-root ro apparmor=1 security=apparmor art=virtallow
udmabuf.list_limit=8192 processor.max_cstate=0 intel.max_cstate=0
processor_idle.max_cstate=0 intel_idle.max_cstate=0 clocksource=tsc
tsc=reliable nowatchdog rcupdate.rcu_cpu_stall_suppress=1 irqaffinity=0
hpet=disable numa_balancing=disable igb.blacklist=no efi=runtime hugepages=1024
nmi_watchdog=0 i915.force_probe=* i915.enable_rc6=0 i915.enable_dc=0
i915.disable_power_well=0 isolcpus rcu_nocbs noht nohpet nosoftlockup
rcu_nocb_poll vt.handoff=7 i915.enable_guc=2 msr.allow_writes=on
cpuidle.governor=mobile split_lock_detect=off intel_pstate=disable quiet
mitigations=off threadirqs cpufreq.default_governor=performance skew_tick=1
rcu_nocb_poll rcu_nocbs=14 nohz=on nohz_full=14 kthread_cpus=14 irqaffinity=14
isolcpus=managed_irq,domain,14 nosoftlockup tsc=nowatchdog acpi_irq_nobalance
Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are the assignee for the bug.