mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Very high scheduling delay with plenty of idle CPUs
@ 2024-11-08  7:28 Saravana Kannan
  2024-11-08  8:31 ` Peter Zijlstra
  2024-11-08  9:02 ` Vincent Guittot
  0 siblings, 2 replies; 22+ messages in thread
From: Saravana Kannan @ 2024-11-08  7:28 UTC (permalink / raw)
  To: Ingo Molnar, Peter Zijlstra (Intel),
	Juri Lelli, Vincent Guittot, Dietmar Eggemann, Steven Rostedt,
	Benjamin Segall, Mel Gorman, Valentin Schneider, LKML,
	wuyun.abel, youssefesmat, Thomas Gleixner, efault,
	K Prateek Nayak, John Stultz, Vincent Palomares

Hi scheduler folks,

I'm running into some weird scheduling issues when testing non-sched
changes on a Pixel 6 that's running close to 6.12-rc5. I'm not sure if
this is an issue in earlier kernel versions or not.

The async suspend/resume code calls async_schedule_dev_nocall() to
queue up a bunch of work. These queued up work seem to be running in
kworker threads.

However, there have been many times where I see scheduling latency
(runnable, but not running) of 4.5 ms or higher for a kworker thread
when there are plenty of idle CPUs.

Does async_schedule_dev_nocall() have some weird limitations on where
they can be run? I know it has some NUMA related stuff, but the Pixel
6 doesn't have NUMA. This oddity unnecessarily increases
suspend/resume latency as it adds up across kworker threads. So, I'd
appreciate any insights on what might be happening?

If you know how to use perfetto (it's really pretty simple, all you
need to know is WASD and clicking), here's an example:
https://ui.perfetto.dev/#!/?s=e20045736e7dfa1e897db6489710061d2495be92

Thanks,
Saravana

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

end of thread, other threads:[~2024-11-14 13:06 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-11-08  7:28 Very high scheduling delay with plenty of idle CPUs Saravana Kannan
2024-11-08  8:31 ` Peter Zijlstra
2024-11-10  5:49   ` Saravana Kannan
2024-11-11  5:17     ` K Prateek Nayak
2024-11-11  6:15       ` Saravana Kannan
2024-11-11  8:25         ` Christian Loehle
2024-11-11  9:02           ` Saravana Kannan
2024-11-11  9:08             ` Christian Loehle
2024-11-11 10:40         ` Peter Zijlstra
2024-11-11 11:15           ` Vincent Guittot
2024-11-11 18:17             ` Saravana Kannan
2024-11-11 19:00               ` Vincent Guittot
2024-11-11 18:23           ` Saravana Kannan
2024-11-11 19:01             ` Vincent Guittot
2024-11-11 19:12               ` Vincent Guittot
2024-11-12  7:23                 ` Saravana Kannan
2024-11-12  9:03                   ` Vincent Guittot
2024-11-12 16:25                     ` Saravana Kannan
2024-11-12 17:00                       ` Vincent Guittot
2024-11-08  9:02 ` Vincent Guittot
2024-11-14  6:36   ` Saravana Kannan
2024-11-14 13:06     ` Vincent Guittot

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

all inboxes | Powered by JetHome®