From owner-soc-status@freebsd.org Mon Jul 25 07:53:08 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 0C9F6BA3824 for ; Mon, 25 Jul 2016 07:53:08 +0000 (UTC) (envelope-from v.maffione@gmail.com) Received: from mail-oi0-x231.google.com (mail-oi0-x231.google.com [IPv6:2607:f8b0:4003:c06::231]) (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 C860C1378 for ; Mon, 25 Jul 2016 07:53:07 +0000 (UTC) (envelope-from v.maffione@gmail.com) Received: by mail-oi0-x231.google.com with SMTP id w18so241308570oiw.3 for ; Mon, 25 Jul 2016 00:53:07 -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=bDEpHz3vgtczbdWL13JZGYTWpa/nEDsIhBNx71UOvnY=; b=vnyitnt9YuJsmpVQUj5vbcRVjmpTeHd77tlVrQuTr2kaKk1XPegDP2Gk7qFmGxvExH o5GOAgU6231gnwdEazOrIvM8YRxkgqktmerp58hwGyTXUEpwT804H20lnnUfWVEossu8 1uchwsS5HF+F5YlC3qOOclx3KJbL5f2PFM1sauUiKTITayaEVeckcnqBSKgDgEa2x0+6 rGxlvyh3L2Hmc8lGw8+TLkJqgyt+zGrVwY7uyTg6w1aqShrqkJSc7Dar9Q/ZaZfqpSyR wBvkCOGLFrUEAIBJdsu4N8d5thbkPzGTFZY81lGp/Uxq8GsHoN4qxyMc06jsa4VND9dG 5StQ== 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=bDEpHz3vgtczbdWL13JZGYTWpa/nEDsIhBNx71UOvnY=; b=aFijUNKS9YDSeqvFervkeZrNw2RnPGZMz5GufAKj98p6SrivsXbF9Hqn1PVjnkZiR4 a/pNVnvK8DvkRy2FP9MnYeiH/IAFmpUFvWJTD2cNwQFkIoyXNcmf3JruU9MJYLxzWPmO NSZythU3a0KiBMc6drI36+UCVO/qxzUgXVUYu6MJOkIeC2IevVRCO13dM2jRj8adUdSY o48gr7JUn6qfIBlPBBcCAYioMkjLdYhD/XLvrRUU+/GdzPfpA0TTj7NYc6Y5sO6oIj6O KBwFJtNzSTVosYtjOhyjN7ptxP6Oi/KRXY0c/jtp3lGDni5pWqmNJugS4IE+k7BEX8V1 Ji/A== X-Gm-Message-State: AEkoousqZBAYyW+U/RghFL6T9NADVnEUaOtPoisB+A/M4KXi35uF0c80ENt/bTUD3fSIGXIbsF8TxVcqKd+GHQ== X-Received: by 10.157.39.130 with SMTP id c2mr8065075otb.181.1469433186930; Mon, 25 Jul 2016 00:53:06 -0700 (PDT) MIME-Version: 1.0 Received: by 10.157.20.6 with HTTP; Mon, 25 Jul 2016 00:53:06 -0700 (PDT) From: Vincenzo Maffione Date: Mon, 25 Jul 2016 09:53:06 +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, 25 Jul 2016 07:53:08 -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 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