public inbox for [email protected]
 help / color / mirror / Atom feed
* [v5.12-rc2 regression] io_uring: high CPU use after suspend-to-ram
@ 2021-03-10  1:55 Kevin Locke
  2021-03-10  2:18 ` Jens Axboe
  2021-03-10  2:48 ` Jens Axboe
  0 siblings, 2 replies; 5+ messages in thread
From: Kevin Locke @ 2021-03-10  1:55 UTC (permalink / raw)
  To: Jens Axboe; +Cc: io-uring, linux-kernel

With kernel 5.12-rc2 (and torvalds/master 144c79ef3353), if mpd is
playing or paused when my system is suspended-to-ram, when the system is
resumed mpd will consume ~200% CPU until killed.  It continues to
produce audio and respond to pause/play commands, which do not affect
CPU usage.  This occurs with either pulse (to PulseAudio or
PipeWire-as-PulseAudio) or alsa audio_output.

The issue appears to have been introduced by a combination of two
commits: 3bfe6106693b caused freeze on suspend-to-ram when mpd is paused
or playing.  e4b4a13f4941 fixed suspend-to-ram, but introduced the high
CPU on resume.

I attempted to further diagnose using `perf record -p $(pidof mpd)`.
Running for about a minute after resume shows ~280 MMAP2 events and
almost nothing else.  I'm not sure what to make of that or how to
further investigate.

Let me know if there's anything else I can do to help diagnose/test.

Thanks,
Kevin

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

end of thread, other threads:[~2021-03-10 14:45 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-03-10  1:55 [v5.12-rc2 regression] io_uring: high CPU use after suspend-to-ram Kevin Locke
2021-03-10  2:18 ` Jens Axboe
2021-03-10  2:48 ` Jens Axboe
2021-03-10  3:23   ` Kevin Locke
2021-03-10 14:45     ` Jens Axboe

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