From owner-soc-status@freebsd.org Mon Jun 13 08:21:42 2016 Return-Path: Delivered-To: soc-status@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 225B3AF1A5A for ; Mon, 13 Jun 2016 08:21:42 +0000 (UTC) (envelope-from v.maffione@gmail.com) Received: from mail-oi0-x22c.google.com (mail-oi0-x22c.google.com [IPv6:2607:f8b0:4003:c06::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E2E022014 for ; Mon, 13 Jun 2016 08:21:41 +0000 (UTC) (envelope-from v.maffione@gmail.com) Received: by mail-oi0-x22c.google.com with SMTP id p204so196821800oih.3 for ; Mon, 13 Jun 2016 01:21:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to; bh=t3PcXnTRmIiGIjQgpO12dYzBdecpM3sMIBU++gXeEjk=; b=LLuYAEHtY34e5F+oPDD9/hGundVtYSXQj4cM3j9cBsLwX4RTfKfdfM1HfpJ8Z601nG ZIB/AMG4giu7jma6qX20ECRaBdwuyZDJCy/c4XyWfGtv5+6QKMXirdXZqFZrEuLzIFnA Rg2XerneQN34ti5QqlWLqYcB5vIXcdPJOZbvpfuRFo+enlbyNPDnGUR+VB7mwNbQz7yC Y59wzqMtdSeBps1j7b8lUqRiW1DiJ6CPapAzas+oe0H5KYDUz0UKx03p9OYbAUR4+v/Q mkssZiicpxMaFszYIJR1un4GK8ZLRrulSibnBH9aScsjPpbtjEBez84D0wDmemg8RkFB B2TA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=t3PcXnTRmIiGIjQgpO12dYzBdecpM3sMIBU++gXeEjk=; b=R67Q9yDSsDbCzkoGVyXhoUH4mhC9p3ey83nrgKeHhE6GD/iWpZMe5H+CTtImwBGSRM 1b2Nd0fwGmKmk4iutuGJ1JZriTGtDyDq2dwkROXZ9lnvhuuL3+nIiHioILYGRjoBqGnM Nz+EnlaH5FP+4dlmXsY1PUi08Hv9kGPl84wo7+gEoZYVX+cySCniBB2nzQbg2gUA1TZp X05xROBRKOxbjwv2rv9VVJRbVbnpkVic0J/EO8SUkn14acQPc/k/ehDrxf1lS6/tRrPP vdGabfGCJXiAtjgqSSpUzNUBuU1mSA/g7LrlbzrGeKQc+WwLHiBEeLrrGmWtde2BiuQm +u9A== X-Gm-Message-State: ALyK8tISYb+aDDJIjJa9B8uxVn/TLfVR9boGhgLS3QCXBK9Y88dNXSxFqLewYN0mgH/HDKx0TxhMZKVa3j04Fg== X-Received: by 10.202.232.199 with SMTP id f190mr2365144oih.168.1465806101297; Mon, 13 Jun 2016 01:21:41 -0700 (PDT) MIME-Version: 1.0 Received: by 10.157.29.105 with HTTP; Mon, 13 Jun 2016 01:21:40 -0700 (PDT) From: Vincenzo Maffione Date: Mon, 13 Jun 2016 10:21:40 +0200 Message-ID: Subject: High-performance TCP/IP networking for bhyve VMs using netmap passthrough To: soc-status@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.22 X-BeenThere: soc-status@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Summer of Code Status Reports and Discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Jun 2016 08:21:42 -0000 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