基于OpenCL的超低延迟行情加速系统设计与实现

DESIGN AND IMPLEMENTATION OF ULTRA-LOW LATENCY MARKET ACCELERATION SYSTEM BASED ON OPENCL

  • 摘要: 针对量化高频交易中对数据处理的低延迟需求,定制一种超低延迟的行情系统,包含网络通信、数据解码和数据分析三部分功能,并在FPGA上进行实现。对各功能模块进行并行优化,构建全流水架构;对内存架构进行优化设计,提高数据传输速率;使用流接口实现模块间数据传输优化,降低数据处理延迟。实验结果表明:在Alveo U50上最大吞吐率可达38.4 Gbit/s,行情处理延迟最低为678 ns,波动稳定在10 ns间,与软件方案相比,性能提升12倍,吞吐率提升1.87倍,且延迟稳定。

     

    Abstract: Aimed at the low-latency requirements for data processing in quantitative high-frequency trading, an ultra-low-latency market system is customized, which includes three functions of network communication, data decoding and data analysis, and is implemented on FPGA. Parallel optimization of each functional module was used to build a full pipeline architecture. The design of the memory architecture was optimized to increase the data transmission rate. The stream interface was used to optimize the data transmission between modules and reduce the data processing latency. Experimental results show that the maximum throughput rate on the Alveo U50 can reach 38.4 Gbit/s, the market processing delay is as low as 678 ns, and the fluctuation is stable within 10 ns. Compared with the software solution, the performance is improved by 12 times, the throughput rate is increased by 1.87 times, and the delay is stable.

     

/

返回文章
返回