High-performance TCP/IP networking for bhyve VMs using netmap passthrough

Vincenzo Maffione v.maffione at gmail.com
Mon Jul 25 07:53:08 UTC 2016


Hello

Project summary
=================
ptnet is a new multi-queue paravirtualized device that builds on ptnetmap
to allow VMs to exchange TCP traffic at 20 Gbps, while still offering the
same ptnetmap performance (10-100 Mpps) to native netmap applications.
The purpose of this SOC project is to write a ptnet driver for FreeBSD and
a corresponding device model for the bhyve hypervisor.


Status update for week 9
===================
In week 9 I did some code cleanup, sharing more code with the linux driver.
I tested the performance of the FreeBSD ptnet driver over QEMU-kvm, which
give ~20Gbps TCP_STREAM and 40Ktts TCP_RR tests, which is aligned to the
performance of the linux driver over the same hypervisor.
I also started to take a look at bhyve and libvmm, to familiarize with the
code, build system, and fix/extend the netmap support.
This week (10) I will keep working on bhyve, trying to come up with a first
skeleton of the ptnet model implementation.

Links:
   Project wiki page:
https://wiki.freebsd.org/SummerOfCode2016/PtnetDriverAndDeviceModel
   Code:
https://svnweb.freebsd.org/socsvn/soc2016/vincenzo/head/sys/dev/netmap/if_ptnet.c?view=markup

-- 
Vincenzo Maffione


More information about the soc-status mailing list