Re: [RFC PATCH 0/2] Disable RT-throttling for idle-inject threads
From: Steven Rostedt
Date: Wed Apr 10 2024 - 09:29:08 EST
On Wed, 10 Apr 2024 10:24:15 +0530
Atul Pant <quic_atulpant@xxxxxxxxxxx> wrote:
> We are trying to implement a solution for thermal mitigation by using
> idle injection on CPUs. However we face some limitations with the
> current idle-inject framework. As per our need, we want to start
> injecting idle cycles on a cpu for indefinite time (until the
> temperature/power of the CPU falls below a threshold). This will allow
> to keep the hot CPUs in the sleep state until we see improvement in
> temperature/power. If we set idle duration to a large value or have an
> idle-injection ratio of 100%, then the idle-inject RT thread suffers
> from RT throttling. This results in the CPU exiting from the sleep state
> and consume some power.
>
> To solve this limitation, we propose a solution to disable RT-throttling
> whenever idle-inject threads run. We achieve this by not accounting the
> runtime for the idle-inject threads.
I'm going to assume that when dl-server is finally accepted, this will no
longer be an issue for you?
https://lore.kernel.org/all/cover.1699095159.git.bristot@xxxxxxxxxx/
-- Steve