High-performance TCP/IP networking for bhyve VMs using netmap passthrough
Vincenzo Maffione
v.maffione at gmail.com
Mon Aug 1 11:50:34 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 10
===================
In week 10 I updated and fixed the netmap support to bhyve, including the
introduction of an interface between virtio-net and the backends (TAP,
netmap, NULL). I recompiled the freebsd kernel and modules with extended
libvmm (which support VM exits to be caught from inside the kernel).
Finally, I sketched a first skeleton of the ptnet device model emulation.
I've not managed to upload all the code yet, will work on it next week.
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
https://svnweb.freebsd.org/socsvn/soc2016/vincenzo/head/sys/amd64/vmm/vmm_ioport.c?revision=307057&view=markup
--
Vincenzo Maffione
More information about the soc-status
mailing list