public inbox for linux-pm@vger.kernel.org
 help / color / mirror / Atom feed
* [RFC/RFT][PATCH v1 0/2] cpuidle: teo: Do not check timers unconditionally every time
@ 2023-08-01 19:35 Rafael J. Wysocki
  2023-08-01 19:39 ` [RFC/RFT][PATCH v1 1/2] cpuidle: teo: Do not call tick_nohz_get_sleep_length() upfront Rafael J. Wysocki
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Rafael J. Wysocki @ 2023-08-01 19:35 UTC (permalink / raw)
  To: Linux PM, Peter Zijlstra, Anna-Maria Behnsen
  Cc: LKML, Frederic Weisbecker, Kajetan Puchalski

Hi Folks,

This is on top of the fixes series posted previously:

https://lore.kernel.org/linux-pm/4515817.LvFx2qVVIh@kreacher/

(I'll put it all into one git branch tomorrow).

I started to play with the idea described here

https://lore.kernel.org/linux-pm/CAJZ5v0hQh2Pg_uXxj8KBRw3oLS1WdsU+rUafBAAq7dRdbRwYSA@mail.gmail.com/

and this is the result.

Note that this is completely experimental, even though it doesn't kill any of
the test boxes I've run it on.

Patch [1/2] moves the tick_nohz_get_sleep_length() call in teo_select() after
a preliminary idle state selection based on statistics and patch [2/2] adds
checks to avoid it completely if the idle state selected so far is shallow
enough.

I would appreciate checking if this actually makes any difference.

Thanks!




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-08-03 13:54 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-01 19:35 [RFC/RFT][PATCH v1 0/2] cpuidle: teo: Do not check timers unconditionally every time Rafael J. Wysocki
2023-08-01 19:39 ` [RFC/RFT][PATCH v1 1/2] cpuidle: teo: Do not call tick_nohz_get_sleep_length() upfront Rafael J. Wysocki
2023-08-01 19:40 ` [RFC/RFT][PATCH v1 2/2] cpuidle: teo: Skip tick_nohz_get_sleep_length() call in some cases Rafael J. Wysocki
2023-08-03 13:18 ` [RFC/RFT][PATCH v1 0/2] cpuidle: teo: Do not check timers unconditionally every time Kajetan Puchalski
2023-08-03 13:54   ` Rafael J. Wysocki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox