Kafe: Can OS Kernels Forward Packets Fast Enough for Software Routers?

Cheol Ho Hong, Kyungwoon Lee, Jaehyun Hwang, Hyunchan Park, Hyuck Yoo

Research output: Contribution to journalArticle

2 Citations (Scopus)

Abstract

It is widely believed that software routers based on commodity operating systems cannot deliver high-speed packet processing, and a number of alternative approaches (including user-space network stacks) have been proposed. This paper revisits the inefficiency of kernel-level packet processing inside modern OS-based software routers and explores whether a redesign of kernel network stacks can improve the incompetence. We present a case contrary to the belief through a redesign: Kafe--a kernel-based advanced forwarding engine that can process packets as fast as user-space network stacks. The Kafe neither adds any new API nor depends on proprietary hardware features, but the Kafe outperforms Linux by seven times and RouteBricks by three times. The current implementation of the Kafe can forward 64-byte IPv4 packets at 28.2 Gbps using eight cores running at 2.6 GHz. Our evaluation results show that the Kafe achieves similar packet forwarding performance to Intel DPDK while consuming much less CPU and memory resources.

Original languageEnglish
JournalIEEE/ACM Transactions on Networking
DOIs
Publication statusAccepted/In press - 2018 Jan 1

Keywords

  • optimization.
  • OS network stack
  • Software router

ASJC Scopus subject areas

  • Software
  • Computer Science Applications
  • Computer Networks and Communications
  • Electrical and Electronic Engineering

Fingerprint Dive into the research topics of 'Kafe: Can OS Kernels Forward Packets Fast Enough for Software Routers?'. Together they form a unique fingerprint.

  • Cite this