Skip to content

Commit

Permalink
docs: Add document for vhost-user
Browse files Browse the repository at this point in the history
  • Loading branch information
carezkh committed Feb 27, 2023
1 parent 4f6ab5e commit f46e257
Show file tree
Hide file tree
Showing 19 changed files with 1,083 additions and 0 deletions.
Binary file added docs/images/simulation_latency_different_host.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/simulation_latency_same_host.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/tcp_bandwidth_different_host.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/tcp_bandwidth_same_host.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/tcp_latency_different_host.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/tcp_latency_same_host.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/tcp_pps_different_host.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/tcp_pps_same_host.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/udp_bandwidth_different_host.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/udp_bandwidth_same_host.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/udp_latency_different_host.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/udp_latency_same_host.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/udp_pps_different_host.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/udp_pps_same_host.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions docs/interfaces_and_networks.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ Each interface should declare its type by defining one of the following fields:
| `bridge` | Connect using a linux bridge |
| `masquerade` | Connect using iptables rules to NAT the traffic |
| `sriov` | Passthrough a SR-IOV PCI device via VFIO |
| `vhost-user` | Connect using DPDK in userspace |

Each interface may also have additional configuration fields that modify properties "seen" inside guest instances, as listed below:

Expand Down Expand Up @@ -224,3 +225,7 @@ spec:
multus:
networkName: mellanox-sriov-25g
```

### `vhost-user` mode

In `vhost-user` mode, VMs are connected to the network by DPDK, this fast packet processing library is implemented entirely in userspace, bypassing the kernel's networking stack. You can refer to document [vhost-user-net](vhost-user-net.md) to setup the vhost-user network and learn its performance details.
539 changes: 539 additions & 0 deletions docs/vhost-user-net-test.md

Large diffs are not rendered by default.

Loading

0 comments on commit f46e257

Please sign in to comment.