IO Round Trip

The following IO round trip times are sampled by using a program with no compute on the Vollo accelerator from the Vollo runtime.

More specifically this Vollo accelerator program waits for the last input byte to arrive before it sends the first output byte back. This method takes into account some of the overheads (such as copying to the DMA buffer in the Vollo runtime) associated with IO and this test is set up to see how it scales with difference sizes of inputs and output values.

The following tables shows the round trip times in μs on the IA420F board (similar times were observed on IA840F), each value is a bfloat16 (2 bytes), using fewer than 32 values gives the same times as 32 values.

To reproduce these values on your own hardware run the provided benchmark script with environment variable RUN_IO_TEST=1.

User buffers

mean:

out\in32641282565121024204840968192
321.81.91.92.02.12.22.73.45.0
641.92.02.02.02.12.32.83.75.1
1281.92.02.02.12.12.32.83.65.1
2562.02.02.02.12.12.32.93.65.2
5122.12.12.12.22.12.32.83.75.2
10242.32.32.22.42.32.42.93.75.1
20482.62.62.62.62.72.72.94.15.4
40963.23.13.23.23.33.53.93.95.3
81924.44.44.34.44.54.65.25.25.9

p99:

out\in32641282565121024204840968192
322.02.02.12.22.22.43.03.65.2
642.02.12.12.22.32.43.13.95.3
1282.02.12.32.22.32.53.13.95.4
2562.12.12.12.22.32.43.13.85.4
5122.22.22.22.42.32.63.14.05.5
10242.52.52.52.52.62.63.14.05.5
20482.82.92.82.92.93.13.24.45.7
40963.53.53.53.53.63.84.24.15.6
81924.74.74.64.74.74.95.55.46.1

Raw DMA buffers

This is using buffers allocated with vollo_rt_get_raw_buffer which lets the runtime skip IO copy.

mean:

out\in32641282565121024204840968192
321.81.91.81.81.91.92.12.53.0
641.81.91.81.81.91.92.12.43.0
1281.91.81.81.81.92.02.22.53.1
2561.81.91.91.81.92.02.22.53.1
5121.91.91.91.92.02.02.22.53.1
10241.92.02.02.02.02.12.32.53.2
20482.12.12.12.12.22.22.52.83.3
40962.42.42.42.42.52.52.73.03.6
81923.03.03.03.13.13.13.33.64.2

p99:

out\in32641282565121024204840968192
322.02.02.02.02.12.12.32.83.3
641.92.02.02.02.02.12.32.83.3
1282.02.02.02.02.12.22.32.73.3
2562.02.02.02.02.12.22.32.73.3
5122.02.02.12.02.12.22.42.73.4
10242.12.12.12.22.22.22.42.83.4
20482.32.32.32.32.32.42.63.03.6
40962.52.62.62.62.62.72.93.33.8
81923.23.33.23.33.33.33.53.94.4