pc2 / Aurora-HLS

Ready-to-link, packaged Aurora IP on four QSFP28 lanes, providing 100Gb/s throughput
Apache License 2.0
7 stars 2 forks source link

Don't set a frame size when built without framing #22

Closed michaellass closed 1 month ago

michaellass commented 2 months ago

In case the Aurora HLS core is built without framing, config.frame_size needs to be set to 0 before we initialize the issue kernel. Otherwise, the frame_size kernel argument will be set incorrectly, leading to degraded performance for small frame sizes (such as the default 1).

Before: srun -n 6 -l ./host_aurora_hls_test -i 20 0: All correct, average throughput: 39.5697 Gbit/s

After: srun -n 6 -l ./host_aurora_hls_test -i 20 0: All correct, average throughput: 96.6041 Gbit/s