Giter Site home page Giter Site logo

onload's Introduction

OpenOnload®️

Onload®️ is a high performance user-level network stack, which accelerates TCP and UDP network I/O for applications using the BSD sockets on Linux.

Features

  • Low Application-to-application latency.
  • Binary compatible with existing applications.
  • Open Source (GPLv2.0 and BSD-2-Clause).

OpenOnload comprises a user-level shared library that intercepts network- related system calls and implements the protocol stack, and supporting kernel modules. It is compatible with the full system call API, including those aspects that are usually problematic for user-level networking, such as fork(), exec(), passing sockets through Unix domain sockets, and advancing the protocol when the application is not scheduled.

Installation and Quick Start Guide

OpenOnload is distributed as source code. Instructions for building, packaging and installing may be found in DEVELOPING.md

For each interface on which Onload is to use AF_XDP, execute the following:

echo ens2f0 > /sys/module/sfc_resource/afxdp/register

Nota bene: for linux<5.11 you may need to run ulimit -l unlimited before the line above.

The application to be Onloaded should be launched by prefixing the command line with onload.

Contributors

Please see CONTRIBUTING.md

Compatible network adapters, drivers and operating systems

OpenOnload can accelerate applications on operating systems with AF_XDP support. AF_XDP support needs Linux kernel version 5.3 or later. To support zero-copy, Onload needs AF_XDP network adapter drivers to implement the necessary AF_XDP primitives. Typically the latest drivers from the network adapter vendors will support these primitives.

The AF_XDP support is currently under development and is not yet at final release quality.

The following operating system distributions are known to provide an adequate level of AF_XDP support for Onload:

  • Ubuntu LTS 20.04
  • Ubuntu 21.04
  • Debian 10 with Linux kernel 5.10
  • Debian 11
  • Redhat Enterprise Linux 8.3, 8.4
  • Linux kernel in the range 5.3 - 5.16

Onload also works with the native ef_vi hardware interface, supported by Xilinx network adapters. In this mode of operation, AF_XDP kernel and driver support is not required. This allows Onload to be used on older operating systems and take advantage of additional features. A version of the 'sfc' net driver for Xilinx network adapters is included.

Compatible Xilinx network adapters

The following adapters at least are able to support OpenOnload without AF_XDP:

  • X2541
  • X2522, X2522-25G
  • SFN8042
  • SFN8522, SFN8542

Compatible Linux kernels and distributions for Xilinx network adapters

This source tree is known to work with Xilinx network adapters on following Linux distributions:

  • Ubuntu LTS 18.04, LTS 20.04, 21.04
  • Debian 10, 11
  • Redhat Enterprise Linux 7.9, 8.3, 8.4
  • Linux kernel in the range 4.15 - 5.16

Support

The publicly-hosted repository is a community-supported project.

Supported releases of OpenOnload are available from https://www.xilinx.com/support/download/nic-software-and-drivers.html#open

onload's People

Contributors

ol-alexandra avatar sianj-xilinx avatar maciejj-xilinx avatar iand-xilinx avatar abower-amd avatar ol-dmitriyb avatar drussell-xilinx avatar jmulla-xilinx avatar mseymour-xilinx avatar nhemingway avatar mplayle-xilinx avatar krishd-amd avatar jbondpre-amd avatar emanuele-amd avatar andriuss-amd avatar sf-nh avatar ol-romanzh avatar ol-denispr avatar mcal-xilinx avatar kieranm-xilinx avatar ol-sergeyn avatar matthewr-xilinx avatar dchadwic-xilinx avatar ol-yurijp avatar ol-vasilii avatar smchale-xilinx avatar pcolledg-amd avatar neenam-xilinx avatar fuy-xilinx avatar ol-dilshod avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.