[alsa-devel] ALSA processor usage is too high

Clemens Ladisch clemens at ladisch.de
Fri Nov 5 15:31:04 CET 2010

Adam Rosenberg wrote:
> I am trying to decode 8 MP3 files simultaneously.  Each file is 3
> minutes 11 seconds long.  When I just decode the files and copy the
> PCM data to memory it takes 2 minutes 36 seconds.  When I do the same
> test after opening 8 ALSA PCM streams and while writing data to them
> it takes 4 minutes 37 seconds.  This is much too slow for what should
> be a simple copy operation.

Are you using the "hw" device?  Otherwise, it's not a simple copy op.

How much CPU does "aplay -D hw -t raw -f dat /dev/zero" use?


More information about the Alsa-devel mailing list