High-Performance Networking Using eBPF, XDP, and io_uringScyllaDB
?
Bryan McCoid discusses using eBPF, XDP, and io_uring for high performance networking. XDP allows programs to process packets in the kernel without loading modules. AF_XDP sockets use eBPF to route packets between kernel and userspace via ring buffers. McCoid is building a Rust runtime called Glommio to interface with these techniques. The runtime integrates with io_uring and allows multiple design patterns for receiving packets from AF_XDP sockets.
OVN (Open Virtual Network) を用いる事により、OVS (Open vSwitch)が動作する複数のサーバー(Hypervisor/Chassis)を横断する仮想ネットワークを構築する事ができます。
本スライドはOVNを用いた論理ネットワークの構成と設定サンプルのメモとなります。
Using OVN, you can build logical network among multiple servers (Hypervisor/Chassis) running OVS (Open vSwitch).
This slide is describes HOW TO example of OVN configuration to create 2 logical switch connecting 4 VMs running on 2 chassis.
The document discusses using TCP/IP for high-performance computing and describes how TCP performance is impacted by factors like round-trip time, bandwidth limitations, and window size. It provides measurements of bandwidth over TCP for different round-trip times and explains TCP congestion control algorithms and how they influence transmission speed.
High-Performance Networking Using eBPF, XDP, and io_uringScyllaDB
?
Bryan McCoid discusses using eBPF, XDP, and io_uring for high performance networking. XDP allows programs to process packets in the kernel without loading modules. AF_XDP sockets use eBPF to route packets between kernel and userspace via ring buffers. McCoid is building a Rust runtime called Glommio to interface with these techniques. The runtime integrates with io_uring and allows multiple design patterns for receiving packets from AF_XDP sockets.
OVN (Open Virtual Network) を用いる事により、OVS (Open vSwitch)が動作する複数のサーバー(Hypervisor/Chassis)を横断する仮想ネットワークを構築する事ができます。
本スライドはOVNを用いた論理ネットワークの構成と設定サンプルのメモとなります。
Using OVN, you can build logical network among multiple servers (Hypervisor/Chassis) running OVS (Open vSwitch).
This slide is describes HOW TO example of OVN configuration to create 2 logical switch connecting 4 VMs running on 2 chassis.
The document discusses using TCP/IP for high-performance computing and describes how TCP performance is impacted by factors like round-trip time, bandwidth limitations, and window size. It provides measurements of bandwidth over TCP for different round-trip times and explains TCP congestion control algorithms and how they influence transmission speed.
The document is a slide presentation given by Akihiro Suda about his role as a maintainer for several open source projects related to containers. The presentation covers:
- Suda's background as a software engineer at NTT and his roles maintaining Moby, BuildKit, and containerd.
- An overview of what the Moby project is and its relationship to Docker. Key components like BuildKit, containerd, LinuxKit and InfraKit are described.
- Recent updates in Moby and Docker's transition to using containerd and supporting Kubernetes.
- How Suda became involved in Docker/Moby through contributing bug fixes and features, and was elected as a maintainer.
Introduction for Vagrant and Docker provider.
This presentation is prepared for Docker Meetup Tokyo 2014 #1 in 12, Feb, 2014 at National Institute of Informatics.
Copyright 2014, NTT Data Corporation.
Published on Feb 11, 2014
Introduction for Vagrant and Docker provider.
This presentation is prepared for Docker Meetup Tokyo 2014 #1 in 12, Feb, 2014 at National Institute of Informatics.
Copyright 2014, NTT Data Corporation.
/miurahr/introduction-to-vagrantdockernttdata
IoT Devices Compliant with JC-STAR Using Linux as a Container OSTomohiro Saneyoshi
?
Security requirements for IoT devices are becoming more defined, as seen with the EU Cyber Resilience Act and Japan’s JC-STAR.
It's common for IoT devices to run Linux as their operating system. However, adopting general-purpose Linux distributions like Ubuntu or Debian, or Yocto-based Linux, presents certain difficulties. This article outlines those difficulties.
It also, it highlights the security benefits of using a Linux-based container OS and explains how to adopt it with JC-STAR, using the "Armadillo Base OS" as an example.
Feb.25.2025@JAWS-UG IoT
7. 6Copyright?2015 NTT corp. All Rights Reserved.
カーネルバイパス
NIC
skb_buf
Ethernet Driver API
Socket API
vswitch
packet
buffer
Data plane
1. Interrupt
& DMA
2. system call (read)
User
space
Kernel space
Driver
4. DMA
3. system call (write)
NIC
Ethernet Driver API
Socket API
vswitch
packet
buffer
agentagent
1. DMA
Write
2. DMA
READ
DPDK
Data plane
Userspace
packet processing (Event-based)
DPDK apps
(polling-based)
8. 7Copyright?2015 NTT corp. All Rights Reserved.
# of packet to be proceeded for 10Gbps
with 1 CPU core
0
2,000,000
4,000,000
6,000,000
8,000,000
10,000,000
12,000,000
14,000,000
16,000,000
0 256 512 768 1024 1280
#ofpacketsperseconds
Packet size (Byte)
Short packet 64Byte
14.88 MPPS, 67.2 ns
? 2Ghz: 134 clocks
? 3Ghz: 201 clocks
Computer packet 1KByte
1.2MPPS, 835 ns
? 2Ghz: 1670 clocks
? 3Ghz: 2505 clocks
15. 15Copyright?2015 NTT corp. All Rights Reserved.
? SR-IOV or virtio-user
DPDKによる仮想環境との接続(コンテナ)
引用: http://dpdk.org/doc/guides/howto/virtio_user_for_container_networking.html#figure-use-
models-for-running-dpdk-in-containers
16. 16Copyright?2015 NTT corp. All Rights Reserved.
DPDKによる仮想環境との接続(コンテナ)
引用: http://dpdk.org/doc/guides/howto/virtio_user_for_container_networking.html#figure-use-
models-for-running-dpdk-in-containers
? virtio-user pmd
17. 17Copyright?2015 NTT corp. All Rights Reserved.
? パケットの流れ
? pktgen -> 物理 -> vswitch -> Container(L2Fwd) -> vswitch -> 物理 -> pktgen
性能評価
Lagopus or docker0
Server
Container
L2Fwd or Linux Bridge
Container
pktgen-dpdk
OS: Ubuntu 16.04.1
CPU: Xeon E5-2697 v2 @ 2.70GHz
メモリ: 64GB