BSDCan2015 - ZI

BSDCan 2015
The Technical BSD Conference

Giuseppe Lettieri
Day Talks #1 - 12 June - 2015-06-12
Room DMS 1120
Start time 10:15
Duration 01:00
ID 596
Event type Lecture
Track Hacking
Language used for presentation English

Even faster VM networking with virtual passthrough

(authors: Stefano Garzarella, Giuseppe Lettieri, Luigi Rizzo)

In past years, we have shown how to achieve very high networking speeds in bare metal and VMs using the netmap framework: embarrassingly high packet rates on bare metal, comfortably good on VMs through conventional device emulation techniques.

In this talk we show how to fill the speed gap between HW and VMs with a non conventional use of netmap, namely virtual passthrough. In this mode of operation, the guest VM uses directly the host's netmap port (thus saving extra data copies), while notifications are dispatched efficiently between guest and host.

Thanks to this technique we can achieve communication speeds between untrusted guests in the order of 20 Mpps, and reach 50 Mpps between trusted guests across netmap pipes.