pcm_meter.c issue at s16_update

Go Peppy peppy.player at gmail.com
Thu Oct 15 05:59:03 CEST 2020


Hi Jaroslav,

I've tested the patch. It works fine. I didn't experience the original
issue with high CPU utilization after applying the patch.
When is the next planned release?

Thanks!
PPP


On Tue, Oct 13, 2020 at 10:35 AM Jaroslav Kysela <perex at perex.cz> wrote:

> Dne 17. 09. 20 v 21:13 Pavel Hofman napsal(a):
> > Hi,
> >
> > Dne 15. 09. 20 v 5:40 Go Peppy napsal(a):
> >>
> >> Just to remind what the issue is - while switching from one web radio
> >> station to another there is a high CPU usage for about 20 seconds.
> Because
> >> of that high CPU consumption almost all other processes are blocked.
> >
> > 20 seconds is only due to 32bit kernel on RPi. On 64bit machines the
> > boundary value is usually many orders of magnitude larger, basically
> > making the method never finish.
>
> Could you try this patch?
>
>
> https://github.com/alsa-project/alsa-lib/commit/a6c8ac0c85ca1b16684a687c7000c73aa38b7776
>
> It should prevent the big copies which are definitely nonsense and this
> change
> does not hide the real problem.
>
>                                         Jaroslav
>
> >
> > With regards,
> >
> > Pavel.
> >
>
>
> --
> Jaroslav Kysela <perex at perex.cz>
> Linux Sound Maintainer; ALSA Project; Red Hat, Inc.
>


More information about the Alsa-devel mailing list