From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: Dmix using more CPU than plug:hw Date: Wed, 11 May 2005 16:14:05 +0200 Message-ID: References: <20050507095346.37b16e6a.erikd-alsa@mega-nerd.com> Mime-Version: 1.0 (generated by SEMI 1.14.5 - "Awara-Onsen") Content-Type: text/plain; charset=US-ASCII Return-path: In-Reply-To: Sender: alsa-devel-admin@lists.sourceforge.net Errors-To: alsa-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: Thierry Vignaud Cc: Erik de Castro Lopo , alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org At Wed, 11 May 2005 16:03:33 +0200, Thierry Vignaud wrote: > > Takashi Iwai writes: > > > > I'm playing around with Polypaudio (an EsoundD replacement) and > > > find that it works really well when I connect it to the plug:hw > > > and the CPU usage is as I would expect. > > > > > > If on the other hand I connect Polypaudio to the plug:dmix1 > > > (defined as below) device it attempts to chew up 100% of CPU and > > > then dies. > > > > > > The ALSA version is whatever is in the 2.6.11 kernel. I have also > > > seen this problem on two different systems (iBook/Tumbler and > > > ia32/CMI8738) so its not hardware specific. > > > > > > Does anyone have any ideas as to why a dmix device behaves so > > > differently to plug:hw? > > > > Does it still happen with 1.0.9rc3? > > afaic artsd with alsa-lib-1.0.9rc3 eats quite lots cpu time. i've got > similar reports from people that previously reported that artsd was > using too much cpu time. That's bad. I hope it got fixed now. Anyway, this high CPU usage is usually solved when you run without rate conversion in alsa-lib. Specify 48000Hz for artsd or polyaudio. Takashi ------------------------------------------------------- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click