Hi,
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.
Thanks
Bircan