Re: regression/bisected/6.9 commit 587d67fd929ad89801bcc429675bda90d53f6592 decrease 30% of gaming performance

From: Takashi Iwai
Date: Mon Apr 01 2024 - 10:48:30 EST


On Mon, 01 Apr 2024 15:49:33 +0200,
Mikhail Gavrilov wrote:
>
> On Mon, Apr 1, 2024 at 4:41 PM Takashi Iwai <tiwai@xxxxxxx> wrote:
> > The only code of the commit 587d67fd929a is the close of ALSA timer
> > device. If it really matters, it implies that the user-space seems
> > trying to open/close the ALSA timer device so frequently.
> >
> > Are you using ALSA dmix/dsnoop? It would explain.
>
> It's new words for me. I didn’t configure anything like this myself,
> only if the maintainers of my distribution enable it by default.
> I only know that Fedora Rawhide uses Pipewire for mixing sound.

Then it shouldn't be dmix/dsnoop. You'd better try profiling what's
going on there. e.g. try to get perf results with and without the
commit.


Takashi