From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Rigg Date: Tue, 10 Jan 2006 01:27:18 +0000 Subject: Re: [Alsa-devel] Re: [OT] ALSA userspace API complexity Message-Id: <20060110012718.GA5375@localhost.localdomain> List-Id: References: <20050726150837.GT3160@stusta.de> <200601091405.23939.rene@exactcode.de> <200601091812.55943.rene@exactcode.de> <20060109232043.GA5013@localhost.localdomain> <20060110001617.GA5154@localhost.localdomain> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: David Lang Cc: John Rigg , =?iso-8859-1?Q?Ren=E9?= Rebe , Hannu Savolainen , Jaroslav Kysela , Takashi Iwai , linux-sound@vger.kernel.org, ALSA development , LKML On Mon, Jan 09, 2006 at 04:29:45PM -0800, David Lang wrote: > On Tue, 10 Jan 2006, John Rigg wrote: > > >>does the CPU touch the data for these, or do you DMA directly from > >>userspace (i.e. "zero-copy")? > > > >The cards I mentioned use DMA. RME actually advertises that some of their > >cards can handle 52 channels with zero CPU load. Their onboard DSPs can > >also do routing and mixing, again without touching the CPU. > > I was under the (apparently mistaken) impression that you couldn't DMA > from userspace (something to do with the possibility that the userspace > memory pages could be swapped out in the middle of the DMA) Hmm. Maybe I've been paying too much attention to card vendors' sales talk :) John