cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
kayas257
Contributor
Contributor
628 Views
Registered: ‎06-03-2018

What would be maximum DMA transfer speed to linux user space with Xilinx AXI DMA?

Hello folks,

 

I am very curious on how much maximum speed we can achieve with AXI DMA considering OS latency.

 

Thanks & Regards,

Kayas Ahmed

0 Kudos
3 Replies
563 Views
Registered: ‎04-20-2017

Axi lite write to start the ddma takes a few us... 

Write to memory I saw around 500mb/sec..

Getting it into userspace is a different game... It depends how the addresses you are writing to with dma  is exposed to linux

Continuous memory allocation and know to userspace is fast (need Kernel driver). The fast and easy way is to use DDr adresses excluded from Linux completely and map over mmap to userspace... It that case you get around 40mb/sec on zynq7000 (I read that it has to do with caching, but not entirely sure why) 

0 Kudos
kayas257
Contributor
Contributor
548 Views
Registered: ‎06-03-2018

Hello,

Thanks for the info, I am trying the same to get data at a higher rate to userspace with custom kernel driver and DMA.

 

 

Thanks & Regrads,

Kayas Ahmed

 

0 Kudos
523 Views
Registered: ‎04-20-2017

checkout that github project...I plan to use it in the future for solving exactly the same problem

https://github.com/ikwzm/udmabuf

 

 

 

 

0 Kudos