lmsreborn / yastack

YAStack: User-space network-stack based on DPDK, FreeBSD TCP/IP Stack, EnvoyProxy

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build Status

yastack

YAStack brings the speed of F-stack to envoy proxy.

Envoy's modular C++ codebase, clear separation of control plane and its filter architecture provides a way to quickly add new functionality. F-stack's freebsd stack provides the ability to perform packet processing from L2-L6. This integration provides for a high-speed L2-L7 stack for use in performance critial applications. Since the network stack resides in the user-space, it allows for quick iterations without modifying kernel code.

Envoy uses libevent to collect OS events. Libevent integration with f-stack thus provides a way for other applications that use libevent to integrate with this work. Details of libevent integration can be found under fs/app/libevent

DPDK integration generally uses Receive Side Scaling (RSS) to scale flow across cores. This needs hardware support. Yastack implementation can work without RSS hardware support. The flow distribution logic is encoded in software for better control. Setting of a newly introduced flag allows for the flow distribution logic in software to take over. This also eases the development process since it removes the dependency on hardware during development.

Software versions used in this project:

  Envoy Proxy - 1.8.0
  DPDK        - 18.0
  F-Stack     - fs/last_commit.txt

Blogs and additional documentation at - yastack.io

Quick Start

About

YAStack: User-space network-stack based on DPDK, FreeBSD TCP/IP Stack, EnvoyProxy

License:Apache License 2.0


Languages

Language:C 82.8%Language:C++ 13.0%Language:Assembly 0.8%Language:HTML 0.7%Language:Python 0.6%Language:Objective-C 0.6%Language:Roff 0.5%Language:Makefile 0.4%Language:Shell 0.2%Language:CMake 0.2%Language:Yacc 0.1%Language:Awk 0.1%Language:Lex 0.1%Language:Meson 0.1%Language:M4 0.0%Language:Perl 0.0%Language:CSS 0.0%Language:Ruby 0.0%Language:PowerShell 0.0%Language:Forth 0.0%Language:JavaScript 0.0%Language:Mathematica 0.0%Language:GDB 0.0%Language:Go 0.0%Language:Emacs Lisp 0.0%Language:Thrift 0.0%Language:sed 0.0%Language:PureBasic 0.0%Language:Batchfile 0.0%