Project Description

Containerization is here to stay and seems to be the next big thing also in the upcoming OSes releases. Most of the customers appreciate its lightweight, its resiliency and its scalability; some of them do use these features to push very hard on consolidation, squeezing every single cycle out of their CPUs.

But what when it comes to networking? Is there any chance to couple the benefits of containerization with the superpowers of DPDK library?

Goal for this Hackweek

  • Outline an architecture offering DPDK capabilities to the containers
  • Setup a DPDK-capable container environment
  • (optional): Setup a DPDK-capable Kubernetes installation
  • Benchmarking the networking for the DPDK-capable vs the non-DPDK-capable environments

Resources

[1] https://www.dpdk.org/wp-content/uploads/sites/35/2020/11/DPDK-Container-Plug-ins-2019-1.pdf

Looking for hackers with the skills:

networking containers kuberentes dpdk

This project is part of:

Hack Week 23

Activity

  • almost 2 years ago: paolodepa added keyword "dpdk" to this project.
  • almost 2 years ago: dbenini started this project.
  • almost 2 years ago: vliaskovitis liked this project.
  • almost 2 years ago: m.crivellari liked this project.
  • about 2 years ago: paolodepa added keyword "networking" to this project.
  • about 2 years ago: paolodepa added keyword "containers" to this project.
  • about 2 years ago: paolodepa added keyword "kuberentes" to this project.
  • about 2 years ago: paolodepa originated this project.

  • Comments

    • paolodepa
      almost 2 years ago by paolodepa | Reply

      Preliminary finding: as per https://doc.dpdk.org/guides/howto/virtiouserforcontainernetworking.html, two main configs seem to be supported: "Slicing" and "Aggregation". It's worth to try to setup both and compare their performances.

    • paolodepa
      almost 2 years ago by paolodepa | Reply

      Looking at https://doc.dpdk.org/guides/howto/virtiouserforcontainernetworking.html two main approaches emerge: slicing and aggregation. Slicing relies on SR-IOV and Virtual Functions: not having at hand an SR-IOV capable NIC I decided to postpone this investigation. Aggregation decouples the physical NIC access from the containers introducing OpenVSwitch as middle layer: this simplifies the setup and opens the door to connection between containers, VMs and VirtualApps.

      My investigation on how to connect containers using OVS is summarized here: https://github.com/paolo-depa/container-on-ovs

    • paolodepa
      almost 2 years ago by paolodepa | Reply

      Next steps: 1. Investigate Slicing scenario using the proper hardware; 2. Add a DPDK interface to an "Aggregation" bridge and benchmark north-south traffic; 3. Enter the kubernetes world...

    Similar Projects

    Technical talks at universities by agamez

    Description

    This project aims to empower the next generation of tech professionals by offering hands-on workshops on containerization and Kubernetes, with a strong focus on open-source technologies. By providing practical experience with these cutting-edge tools and fostering a deep understanding of open-source principles, we aim to bridge the gap between academia and industry.

    For now, the scope is limited to Spanish universities, since we already have the contacts and have started some conversations.

    Goals

    • Technical Skill Development: equip students with the fundamental knowledge and skills to build, deploy, and manage containerized applications using open-source tools like Kubernetes.
    • Open-Source Mindset: foster a passion for open-source software, encouraging students to contribute to open-source projects and collaborate with the global developer community.
    • Career Readiness: prepare students for industry-relevant roles by exposing them to real-world use cases, best practices, and open-source in companies.

    Resources

    • Instructors: experienced open-source professionals with deep knowledge of containerization and Kubernetes.
    • SUSE Expertise: leverage SUSE's expertise in open-source technologies to provide insights into industry trends and best practices.