Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Data transfer not working above 8 MB #180

Open
mar-ven opened this issue Jan 25, 2024 · 1 comment
Open

Data transfer not working above 8 MB #180

mar-ven opened this issue Jan 25, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@mar-ven
Copy link
Contributor

mar-ven commented Jan 25, 2024

I tried to perform an accl.copy call with more than 8 MB in size, and all data above 8388544 bytes are not correctly copied.
For reproducibility, I used the Coyote RDMA setup.

@quetric quetric self-assigned this Jan 25, 2024
@quetric
Copy link
Collaborator

quetric commented Jan 25, 2024

Thanks @mar-ven for flagging this. I've looked into this - it is likely caused by the fragmentation mechanism in the DMA Mover HLS kernel, which aims to break up large transfers into 8MB chunks that are compatible with the Xilinx DataMover. A fragmented transfer issues several DMA commands but one single long data stream terminated by a single TLAST. For Coyote, our adapter sets the Coyote DMA CTL field to 1 which means the DMA engine expects TLAST=1 at the end of the data corresponding for each issued command.

@quetric quetric added the bug Something isn't working label Jan 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants