Average Read Size - 2023.2 English

Vitis Guidance Messaging (UG1315)

Document ID
UG1315
Release Date
2023-10-18
Version
2023.2 English

Description

This message reports the average size in kilobytes transferred per read.

Explanation

PCIe® transactions from accelerator to host should be larger than ~1-2 megabytes to ensure efficient PCIe bandwidth usage. Blocks smaller than this accumulate extra overhead for data transfers. Blocks larger than this should be transferred optimally.

Recommendation

As different accelerator cards might have different bandwidth requirements, AMD recommends running the https://xilinx.github.io/Vitis_Accel_Examples/2023.1/html/host_global_bandwidth.html example on your accelerator board.

If your algorithm is intended to work on smaller blocks of data, you should consider creating a wrapper which allows multiple datasets to be transferred together, reaching the ideal transfer sizes.