Please sign in to comment.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
alsa: Fix excessive I/O causing higher CPU usage
"On GCW Zero jz4770 platform, I saw higher than usual CPU usage when running a more recent kernel (4.xx series versus 3.xx). Upon investigation, it was found that the ALSA pcm file was not blocking as it should. This resulted in ~30-50,000 system calls a second that were unnecesary. After adjusting the order in which SDL requests its pcm blocking mode, the number of syscalls a second has dropped to a much smaller figure, < 1,000/sec if I recall correctly. CPU usage also dropped by ~5%." (This patch was written by Daniel Silsby.) Fixes Bugzilla #4941.
- Loading branch information