Average Write Size - 2021.2 English

Vitis Guidance Messaging (UG1315)

Document ID
UG1315
Release Date
2021-10-27
Version
2021.2 English

Description

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

Explanation

PCIe® transactions from host to accelerator should be larger than ~1-2 megabytes to ensure efficient 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, Xilinx recommends running the https://github.com/Xilinx/Vitis_Accel_Examples/tree/master/host/host_global_bandwidth example on your accelerator board.

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