Skip to content

Check Transfer

Dmitry Smekhov edited this page Sep 10, 2017 · 5 revisions

Check Transfer

Purpose of the program

Program for check data transfer between host and Xilinx OpenCL device

Resource

Main properties

The program is developed on the basis of a TF_Test, TF_TestThread and TableEngineConsole templates that was developed in conjunction with Vladimir Karakozov. (https://github.com/karakozov) The program in console application that can work in two modes:

  • with test table - for direct launch and launch from Qt
  • without test table - for launch from SDAccel and launch on Nimbix server

Test table is a text table with status information:

  • BlockWr - count of written blocks
  • BlockRd - count of read blocks
  • BlockOk - count of correct blocks
  • BlockError - count of incorrect blocks
  • SPD_CURRENT - velocity of data transfer for last 4 seconds
  • SPD_AVR - velocity of data transfer from test start

Preview:

There are two test classes:

Arguments:

  • -table <flag_show> : 1 - show table, 0 - do not show table, default 0
  • -time : execution time [s], default 10
  • -file : fullpath for xclbin, default: "../binary_container_1.xclbin"
  • -size : size block of megabytes, default 64
  • -metric : 0 - binary: 1MB=2^10=10241024=1048576 bytes; 1 - decimal: 1MB=10^6=10001000=1000000 bytes
  • -mode : 1 - check input, 2 - check output, 3 - check input and output

Results:

1 MB = 2^10 = 1024*1024 = 1048576 bytes

Size of block = 256 MiB = 268435456 bytes

Single tests

PCIe Input [MiB/s] Output [MiB/s]
2.0 2048 1837
3.0 2889 2953

Input and Output together

PCIe Input [MiB/s] Output [MiB/s]
2.0 1609 1307
3.0 2048 2057