English

Quick NAT: High performance NAT system on commodity platforms

Networking and Internet Architecture 2021-05-11 v1

Abstract

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.

Keywords

Cite

@article{arxiv.2105.03864,
  title  = {Quick NAT: High performance NAT system on commodity platforms},
  author = {Junfeng Li and Dan Li and Yukai Huang and Yang Cheng and Ruilin Ling},
  journal= {arXiv preprint arXiv:2105.03864},
  year   = {2021}
}
R2 v1 2026-06-24T01:54:48.847Z