m2mtest

The m2mtest command performs throughput data transfer tests between two device memory banks on a specified card. Note, it is necessary to download an xclbin on the card which uses at least two memory banks prior to running m2mtest, else running this command returns an error.

The m2mtest command only performs throughput tests on those memory banks accessed by the xclbin downloaded to the card.

The command has the following options:

  • -d <card> (Optional): Specifies the target card. Default = 0 if not specified.

To run the dmatest command, run the following command:

$ xbutil dmatest

An example of the command output with an xclbin using DDR banks 0, 1, 2, and 3 is shown below:

INFO: Found total 2 card(s), 2 are usable
bank0 -> bank1 M2M bandwidth: 12050.5 MB/s 
bank0 -> bank2 M2M bandwidth: 12074.3 MB/s 
bank0 -> bank3 M2M bandwidth: 12082.9 MB/s 
bank1 -> bank2 M2M bandwidth: 12061.8 MB/s 
bank1 -> bank3 M2M bandwidth: 12105.2 MB/s 
bank2 -> bank3 M2M bandwidth: 12065.8 MB/s 
INFO: xbutil m2mtest succeeded.