arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2105.03864cs.NI
收藏

Quick NAT:商用平台上的高性能NAT系统

Quick NAT: High performance NAT system on commodity platforms

Junfeng Li, Dan Li, Yukai Huang, Yang Cheng, Ruilin Ling

摘要:

NAT网关是当前IPv4网络中将私有IPv4地址转换为公有地址的重要网络系统。然而,传统的基于Linux Netfilter的NAT系统无法实现高的网络吞吐量,无法满足数据中心等现代化网络的需求。为了应对这一挑战,我们从三个方面来提高NAT系统的网络性能。首先,我们利用DPDK启用轮询和零拷贝交付,以减少中断和数据包拷贝的成本。第二,我们使多个CPU核并行处理,并使用无锁哈希表,以尽量减少CPU核之间的竞争。第三,在查找NAT规则表时,我们使用散列搜索而不是顺序搜索。评估表明,我们的快速NAT系统显着提高了商品平台上的NAT的性能。

英文摘要:

NAT gateway is an important network system in today's IPv4 network when translating a private IPv4 address to a public address. However, traditional NAT system based on Linux Netfilter cannot achieve high network throughput to meet modern requirements such as data centers. To address this challenge, we improve the network performance of NAT system by three ways. First, we leverage DPDK to enable polling and zero-copy delivery, so as to reduce the cost of interrupt and packet copies. Second, we enable multiple CPU cores to process in parallel and use lock-free hash table to minimize the contention between CPU cores. Third, we use hash search instead of sequential search when looking up the NAT rule table. Evaluation shows that our Quick NAT system significantly improves the performance of NAT on commodity platforms.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑