13 Oct
2020
13 Oct
'20
8:35 p.m.
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/a6c8ac0c85ca1b16684a687c7000...
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@perex.cz
Linux Sound Maintainer; ALSA Project; Red Hat, Inc.