Comparing Busy Poll Socket and NAPI

Jing Xie,Xuesong Li,Qingkai Meng,Xunli Fan,Niu Bo,Fengyuan Ren
DOI: https://doi.org/10.1109/icpads47876.2019.00052
2019-01-01
Abstract:Low response time is the requirement for high performance computing applications. The network latency is an important influence factor on response time. Busy poll socket (BPS) is a new mechanism that can reduce network latency by introducing extra energy cost to busily poll RX queue. Unlike hardware dependent solutions such as RDMA, busy poll socket can improve performance without specialized hardware and transplanting applications. BPS now becomes mature and is supported by many off-the-shelf network interface cards. In this paper, we compare the mechanisms of BPS and NAPI. We make a comprehensive analysis about both BPS and NAPI mechanisms. We analyze which factors would influence latencies in BPS and NAPI modes respectively. We find out that BPS does not definitely outperform NAPI, and the reasons are explored in detail. Our findings can provide suggestions on the future deployment of BPS based applications.
What problem does this paper attempt to address?