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

Vincenzo Maffione v.maffione at gmail.com
Mon Jun 13 08:21:42 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 3
===================
I've completed the implementation of the netmap support for the ptnet
driver, done testing and bug-fixing. The current driver version integrates
with netmap to support applications running in netmap mode over the ptnet
device. The performance is good as expected: 25-30 Mpps throughput at
minimum packet rate between a FreeBSD guest and the host, over a VALE
switch.

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