From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tony Lindgren Subject: Re: High CPU usage when video streaming on EHCI, 3.17.8 kernel with DMA enabled Date: Mon, 18 May 2015 07:59:20 -0700 Message-ID: <20150518145919.GC10274@atomide.com> References: <20150518102715.34e29c33@perruche.parrot.biz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from muru.com ([72.249.23.125]:51806 "EHLO muru.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752179AbbERO7W (ORCPT ); Mon, 18 May 2015 10:59:22 -0400 Content-Disposition: inline In-Reply-To: <20150518102715.34e29c33@perruche.parrot.biz> Sender: linux-omap-owner@vger.kernel.org List-Id: linux-omap@vger.kernel.org To: Matthieu CASTET Cc: Alan Stern , Tom Mises , linux-omap@vger.kernel.org, linux-usb@vger.kernel.org * Matthieu CASTET [150518 01:34]: > Hi, > > last time I checked uvc driver, it was doing memcpy of video buffer : see uvc_video_decode_data. > > It your video resolution is big, this can eat lot's of cpu. > > Doing a trace should help you. For the memcpy part with DMA this patch should help too: [PATCH] dmaengine: omap-dma: Add support for memcpy Regards, Tony