TI E2E Community
kworker high cpu load(%80) when playing wav files on ti AM1808, TLV320AIC33, linux board
I'm experiencing kworker high CPU usage(%40-80) when playing ."wav" files with aplay command. Using aplay command and executing my own voip application give the same results. CPU load on capture is normal but playback process always consuming high CPU. I changed linux kernel to 2.6.32 from 2.6.36 but similar load appeared on "/sbin/klogd" and "/sbin/syslogd".
top command output on 2.6.36 kernel :
PID PPID USER STAT VSZ %MEM %CPU COMMAND
1445 2 root RW 0 0% 80% [kworker/0:2] 1444 1442 root R 3036 2% 35% top 1449 1434 root S 3320 3% 0% aplay 8bitpcm.wav
top command output on 2.6.32 kernel:
5 2 root RW 0 0% 33% [events/0] 1371 1 root R 2808 2% 38% /sbin/klogd -n 1369 1 root S 2872 2% 32% /sbin/syslogd -n -C64 -m 20 1388 1386 root R 2984 2% 7% top 1389 1381 root S 3268 3% 1% aplay 8bitpcm.wav
My custom hw is very similar with hawkboard (ti AM1808,TLV320AIC33 audio codec).
Linux version 2.6.36
Advanced Linux Sound Architecture Driver Version 1.0.23.
tlv320aic3x <-> davinci-i2s mapping ok
ALSA device list:DA850/OMAP-L138 EVM (tlv320aic3x)
An Angstrom distributed file system (UBIFS formated)
root@hawk:~# cat /proc/asound/version Advanced Linux Sound Architecture Driver Version 1.0.21.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.