J784S4XEVM: DMA copy speeds: DMA Linux driver vs UDMA on R5F in the J784S4 platform

Part Number: J784S4XEVM

Tool/software:

Hi TI Expert,
I want to know why speed on DMA linux driver too slow to compare with UDMA on R5F, or I missing

some config in linux driver side ?

DMA Linux driver to copy data from KMEM to KMEM with size 4MB with speed around 260MB/s

tx = dma_dev->device_prep_dma_memcpy(chan, dst_addr,
src_addr, p->len, DMA_CTRL_ACK | DMA_PREP_INTERRUPT);
if (!tx) {
printk("Failed to prepare DMA memcpy\n");
}

UDMA on R5F send with size 4MB speed around 12GB/s

BRs,
Ninh Nguyen