Re: [PATCH v3] usb: musb: ux500: optimize DMA callback routine

From: Felipe Balbi
Date: Mon Aug 22 2011 - 09:05:48 EST


Hi,

On Wed, Aug 17, 2011 at 11:03:40AM +0200, Per Forlin wrote:
> From: Per Forlin <per.forlin@xxxxxxxxxx>
>
> Skip the use of work queue and call musb_dma_completion() directly from
> DMA callback context.
>
> Here follows measurements on a Snowball board with ondemand governor active.
>
> Performance using work queue:
> (105 MB) copied, 6.23758 s, 16.8 MB/s
> (105 MB) copied, 5.7151 s, 18.3 MB/s
> (105 MB) copied, 5.83583 s, 18.0 MB/s
> (105 MB) copied, 5.93611 s, 17.7 MB/s
>
> Performance without work queue
> (105 MB) copied, 5.62173 s, 18.7 MB/s
> (105 MB) copied, 5.61811 s, 18.7 MB/s
> (105 MB) copied, 5.57817 s, 18.8 MB/s
> (105 MB) copied, 5.58549 s, 18.8 MB/s
>
> Signed-off-by: Per Forlin <per.forlin@xxxxxxxxxx>
> Acked-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@xxxxxxxxxxxxxx>

thanks a lot :-) applied.

--
balbi

Attachment: signature.asc
Description: Digital signature