-
Notifications
You must be signed in to change notification settings - Fork 518
Open
Description
Recently I'm working to get low latency in xdma tranfer, when I load the driver in interrupt mode, I always get 30us latency per transfer(32 byte), that means a bit long for my project. So I try to load the driver in poll mode, In XDMA/linux-kernel/test, I run that:
sudo ./load_driver.sh 4
and terminal returns:
interrupt_selection 4.
xdma 86016 0
Loading driver...insmod xdma.ko poll_mode=1 ...
The Kernel module installed correctly and the xmda devices were recognized.
DONE
after this, In linux-kernel/tools, I run that:
sudo ./dma_to_device -a 0x44a00000 -v
and it takes about 10 seconds then terminal returns:
dev /dev/xdma0_h2c_0, addr 0x44a00000, aperture 0x0, size 0x20, offset 0x0, count 1
host buffer 0x1020 = 0x5620bae8f000
/dev/xdma0_h2c_0, write 0x20 @ 0x44a00000 failed -1.
write file: Unknown error 512
That issue was struggling and I have read other issues but it seems that no evidence had been given.
I will be appreciate if someone can help or share hints on the similar question.
My working environment:
- Ubuntu 18.04.6
- Kernel Version: 5.3.0-28-generic
- dma_ip_driver Version: 2022.1.5
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels