Hi NXP team,
How to promote memory copy rate between FPGA and IMX8MQ?
My topology: FPGA ---(pcie access by mmap dev/mem)--- ARM(malloc buffer)
After our program did memory copy(copy from FPGA to IMX8MQ) by memcpy API, the rate was only 5MB/s.
I also use neon memcpy method to promote memory copy rate(about 11MB/s).
According to https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/i-MX6Q-PCIe-EP-RC-Validation-System/ta-p...,
all memory copy results are better than my test result.
And I find that memory copy of cached PCIe is better than uncached PCIe, and memory copy with IPU DMA is the best performance.
How to promote memory copy rate between FPGA and IMX8MQ?
Do I need change uncached PCIe to cached PCIe? If yes, how can I do?
How can I use IPU DMA on IMX8MQ? Is there any sample code for IMX8MQ?
I appreciate if someone can help me to solve it.
Thank you for any help.
Minying
Hi Minying
for PCIe performance analysis one can look at AN13164 iMX8MP PCIe Bandwith Analysis
https://www.kernel.org/doc/html/latest/PCI/endpoint/pci-test-howto.html
Best regards
igor
Hi Igor,
I am sorry to late reply. Thank you for your response.
I am new to PCIe. I want to promote PCIe's speed on the IMX8MQ(RC mode).
After I research promoted method, there are some promoted methods by DMA.
Does IMX8MQ support DMA implemented on PCIe RC mode? If Yes, how can I do?
Is "Throughput results" section base on IMX8MQ(RC) side on URL https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/i-MX6Q-PCIe-EP-RC-Validation-System/ta-p...?
Update my topology: IMX8MQ(RC) ---(pcie)--- FPGA(EP)
Best regards,
Minying
>Does IMX8MQ support DMA implemented on PCIe RC mode?
Best regards
igor