** Tags added: kernel-daily-bug

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/2069988

Title:
  intel_pstate fails to enable ITMT if CPPC v2 is disabled by firmware,
  resulting in bad single-core performance on some heterogeneous-core
  Intel systems

Status in linux package in Ubuntu:
  New

Bug description:
  This issue is explained and discussed in detail on the linux-acpi
  mailing list in the following three threads:

  * Initial issue report: 
https://lore.kernel.org/linux-acpi/[email protected]/T/#u
  * First patch submitted to mainline for review: 
https://lore.kernel.org/linux-acpi/[email protected]/T/#t
  * Second patch (not mine) submitted to mainline for review: 
https://lore.kernel.org/linux-acpi/[email protected]/T/#t

  Intel-based machines using heterogeneous-core processors (i.e.,
  anything with P-cores and E-cores) require Intel Turbo Boost Max
  Technology 3.0 (ITMT) in order for the EEVDF scheduler to correctly
  assign intensive single-core loads to P-cores. If ITMT is not enabled,
  the scheduler does not get hints about CPU performance differences,
  causing it to oftentimes schedule single-core workloads on E-cores
  rather than P-cores. This leads to a serious drop in single-core
  performance.

  Currently, if CPPC v2 is not acked by the firmware, the intel_pstate
  driver will *not* enable ITMT. This means that any device with a
  hybrid-core Intel CPU, where CPPC v2 is missing, non-functional, or
  incorrectly disabled by the firmware, will experience the performance
  drop mentioned above. This happens in the wild:

  * My workplace, Kubuntu Focus, is affected by this issue: 
https://lore.kernel.org/linux-acpi/[email protected]/T/#u
  * A user of a Star Labs laptop was also affected: 
https://github.com/StarLabsLtd/firmware/issues/143
  * Someone on the Manjaro forums appears to have run into this potentially: 
https://forum.manjaro.org/t/linux-kernel-6-6-lts-cpu-regression-on-i7-alderlake/157474
  * Someone onf the Gentoo forums also may have run into this: 
https://forums.gentoo.org/viewtopic-p-8819389.html?sid=5997f89fd5a202b6db8396fba0b45821

  This issue, as shown above, has been discussed on the linux-acpi
  mailing list, and currently has a fix in the works.
  https://lore.kernel.org/linux-
  acpi/[email protected]/T/#t The fix works
  by falling back to using info from MSR_HWP_CAPABILITIES in the event
  CPPC is not available.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2069988/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to