Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1227762

Bug#1078005: Enable Intel Idle

From Andrew Jorgensen <ajorgens@google.com>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#1078005: Enable Intel Idle
Date 2025-01-10 18:10 +0100
Message-ID <K3qGd-7GF4-5@gated-at.bofh.it> (permalink)
References <J8bSp-2WGo-9@gated-at.bofh.it> <JVa5z-BgD-1@gated-at.bofh.it> <J8bSp-2WGo-9@gated-at.bofh.it> <JVa5z-BgD-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


Hi Salvatore,

One of my colleagues supplied this explanation:

""'
intel_idle is a kernel module that implements specialized logic for
handling CPU idle/sleep states. This logic is optimized for Intel CPUs
to achieve better results than what is possible through the ACPI
C-state mechanism. For example, intel_idle can specify C-state target
residency different than 2*latency. Better results here means lower
wakeup latency (vs ACPI) while not compromising performance and power
savings. Without intel_idle, many VMs will use HLT for putting the CPU
cores to sleep, which will only put Intel CPUs in a shallow sleep
state, thus wasting power that could otherwise be saved or used by
other cores by boosting higher.

Importantly, intel_idle requires the presence of MWAIT instruction.
For some time, this hasn't been available in virtualized environments,
but it is now relatively widespread:
- GCE: https://cloud.google.com/compute/docs/cpu-platforms#frequency_behavior
- AWS: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/processor_state_control.html

Note this module is already present and used in many other cloud
distro images: Ubuntu, CentOS, RHEL, Rocky, CentOS to name a few.
"""

So in summary, the benefits to the Debian cloud kernel user are lower
wakeup latency and the ability to boost other cores higher by putting
some cores into a deeper sleep state (making power and thermal budget
available to adjacent cores).

Kind regards,
Andrew Jorgensen

Back to linux.debian.bugs.dist | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Bug#1078005: Enable Intel Idle Salvatore Bonaccorso <carnil@debian.org> - 2024-12-18 22:50 +0100
  Bug#1078005: Enable Intel Idle Andrew Jorgensen <ajorgens@google.com> - 2025-01-10 18:10 +0100
    Bug#1078005: Enable Intel Idle Salvatore Bonaccorso <carnil@debian.org> - 2025-01-11 10:40 +0100
      Bug#1078005: Enable Intel Idle Andrew Jorgensen <ajorgens@google.com> - 2025-01-13 16:50 +0100

csiph-web