Z-Stack: A High-Performance DPDK-Based Zero-Copy TCP/IP Protocol Stack

Anvaya B. Narappa, Federico Parola, Shixiong Qi, K. K. Ramakrishnan

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

2 Scopus citations

Abstract

Data centers require high-performance and efficient networking for fast and reliable communication between applications. TCP/IP-based networking still plays a dominant role in data center networking to support a wide range of Layer-4 and Layer-7 applications, such as middleboxes and cloud-based microservices. However, traditional kernel-based TCP/IP stacks face performance challenges due to overheads such as context switching, interrupts, and copying. We present Z-stack, a high-performance userspace TCP/IP stack with a zero-copy design. Utilizing DPDK's Poll Mode Driver, Z-stack bypasses the kernel and moves packets between the NIC and the protocol stack in userspace, eliminating the overhead associated with kernel-based processing. Z-stack em-ploys polling-based packet processing that improves performance under high loads, and eliminates receive livelocks compared to interrupt-driven packet processing. With its zero-copy socket design, Z-stack eliminates copies when moving data between the user application and the protocol stack, which further minimizes latency and improves throughput. In addition, Z-stack seamlessly integrates with shared memory processing within the node, eliminating duplicate protocol processing and serializationldese-rialization overheads for intra-node communication. Z-stack uses F-stack as the starting point which integrates the proven TCP/IP stack from FreeBSD, providing a versatile solution for a variety of cloud use cases and improving performance of data center networking.

Original languageEnglish
Title of host publication2024 IEEE 30th International Symposium on Local and Metropolitan Area Networks, LANMAN 2024
Pages100-105
Number of pages6
ISBN (Electronic)9798350352092
DOIs
StatePublished - 2024
Event30th IEEE International Symposium on Local and Metropolitan Area Networks, LANMAN 2024 - Boston, United States
Duration: Jul 10 2024Jul 11 2024

Publication series

NameIEEE Workshop on Local and Metropolitan Area Networks
ISSN (Print)1944-0367
ISSN (Electronic)1944-0375

Conference

Conference30th IEEE International Symposium on Local and Metropolitan Area Networks, LANMAN 2024
Country/TerritoryUnited States
CityBoston
Period7/10/247/11/24

Bibliographical note

Publisher Copyright:
© 2024 IEEE.

Keywords

  • DPDK
  • shared memory
  • TCP/IP protocol stack
  • zero-copy

ASJC Scopus subject areas

  • Computer Networks and Communications
  • Software
  • Electrical and Electronic Engineering
  • Communication

Fingerprint

Dive into the research topics of 'Z-Stack: A High-Performance DPDK-Based Zero-Copy TCP/IP Protocol Stack'. Together they form a unique fingerprint.

Cite this