pcm_meter.c issue at s16_update
Jaroslav Kysela
perex at perex.cz
Tue Oct 13 19:35:36 CEST 2020
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