DPDK Latency Reduction - Quant Trader Interview Question
Difficulty: Hard
Category: Networking & Systems
Practice quant interview questions from top firms including Jane Street, Citadel, Two Sigma, DE Shaw, and other leading quantitative finance companies.
Topics: DPDK, latency, networking, kernel-bypass, HFT
Problem Description
A high-frequency trading firm is evaluating the performance of their network stack. They are comparing standard socket I/O to a DPDK-accelerated approach. Assume that for standard socket I/O, the kernel processing overhead (context switching, system calls, memory copies) adds a fixed latency of 5 microseconds per packet. DPDK, by bypassing the kernel, reduces this overhead to 0.5 microseconds per packet. However, DPDK introduces a polling mechanism on the NIC, which, in a lightly loaded scenario
Practice this hard trader interview question on MyntBit - the all-in-one quant learning platform with 200+ quant interview questions for Jane Street, Citadel, Two Sigma, and other top quantitative finance firms.