From owner-soc-status@freebsd.org Mon Aug 1 11:50:34 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 ADDEBBA3911 for ; Mon, 1 Aug 2016 11:50:34 +0000 (UTC) (envelope-from v.maffione@gmail.com) Received: from mail-oi0-x236.google.com (mail-oi0-x236.google.com [IPv6:2607:f8b0:4003:c06::236]) (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 7982E1675 for ; Mon, 1 Aug 2016 11:50:34 +0000 (UTC) (envelope-from v.maffione@gmail.com) Received: by mail-oi0-x236.google.com with SMTP id w18so188776613oiw.3 for ; Mon, 01 Aug 2016 04:50:34 -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=SwKsnhcFmoqOJdKTM65QuariFeTpCdi0NdQstH+lIxs=; b=Vx7oKNefL0k++QfL5WJvNRZTH8hmoUn+oyU1k25HFmUd/J1UMRnEDtv9d/bnaUitQq A0+DvlaNhTwIimVeQL0w0fwDjQCWp5ICm+iFn1+c6WZR/6vNiEm3P9VHSrUZ8JS/MBQn gIuIX0PrpdGxsZSgOf56THuskx8YJO/aMDfR2Z8Y752np0DZ88U7n4Iy5Rd1P3D647LX OoFqWHrZqzmqfH4ANijvy27NO3t7M4oLhWnCmGgmwymMayosuHQc7+qedqrIpvSVzlCl wJ/BPSTHeX7LnvhRUq9u94TMkmOIYl8ogRWK+xEOt1grIeLQZ8JVeW1Q9KMYeTPXRvox o4yA== 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=SwKsnhcFmoqOJdKTM65QuariFeTpCdi0NdQstH+lIxs=; b=Gdx+z6mRUFpPZtXvIxd8/nmJYp3Hr/3DFObTNm1qL8rhgcpevhHaJF6zY5uttMzoS2 EZ0ZhDZkM8BmtKA3PPj5hfii2eC1LnBdC+YlUEvKYNCLdLp5Clh6oblUMEvfltvcXWnK 1qobwrkV1N8Ron/S4GIFXpHbFrB7esI8AAFagwNg50omjLZr3kSqFgp2tuo7HOUEJffZ M8uhoDq/KNETTgCTK9GMhOhkz/RZYUzsc7vqbgYgCgobZsSYP07JTpcK08baoX+BLOKk R4mwJr3OtZ5swFOI9k3YJfxWXdLqp66En3YmJrn95z77v0Pn7QO3ZCK5oKVZdlOvMzZF vXKg== X-Gm-Message-State: AEkoout+YvmbA7oTVbXKN5zpH9zuiulzHkZmk79NLWhezWLZlrJm+GTlX4UfHaG9KhUQ174yl16+9ojSfyI2iQ== X-Received: by 10.157.39.130 with SMTP id c2mr31817227otb.181.1470052233466; Mon, 01 Aug 2016 04:50:33 -0700 (PDT) MIME-Version: 1.0 Received: by 10.157.20.6 with HTTP; Mon, 1 Aug 2016 04:50:31 -0700 (PDT) From: Vincenzo Maffione Date: Mon, 1 Aug 2016 13:50:31 +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, 01 Aug 2016 11:50:34 -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 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