From mboxrd@z Thu Jan 1 00:00:00 1970 From: Clemens Ladisch Subject: Re: ALSA processor usage is too high Date: Fri, 05 Nov 2010 15:31:04 +0100 Message-ID: <4CD41528.1060600@ladisch.de> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from out3.smtp.messagingengine.com (out3.smtp.messagingengine.com [66.111.4.27]) by alsa0.perex.cz (Postfix) with ESMTP id 9A4B110396F for ; Fri, 5 Nov 2010 15:29:17 +0100 (CET) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: Adam Rosenberg Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org 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? Regards, Clemens