Average Write Size - 2022.1 English

Vitis Guidance Messaging (UG1315)

Document ID
UG1315
Release Date
2022-10-19
Version
2022.1 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.