From owner-soc-status@freebsd.org Mon Jul 18 09:40:07 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 5F020B9D1D9 for ; Mon, 18 Jul 2016 09:40:07 +0000 (UTC) (envelope-from y.iozzelli@gmail.com) Received: from mail-wm0-x22c.google.com (mail-wm0-x22c.google.com [IPv6:2a00:1450:400c:c09::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 EB89812CF for ; Mon, 18 Jul 2016 09:40:06 +0000 (UTC) (envelope-from y.iozzelli@gmail.com) Received: by mail-wm0-x22c.google.com with SMTP id o80so107840763wme.1 for ; Mon, 18 Jul 2016 02:40:06 -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=Dp9yVxFCyjMX8e/iw4Y7TwyVTuRO8nwuSoil1DMrlBc=; b=FVZwYFN0b5/v2OPw/qEDtmtbFhb7PHem40/yArGRl9xY0Yc7LJCmkTUhZKTou82XYI +ZTlhDqJkScahNy4XKYGMmI1TOKfEqSykhgRXC3bXQsg+kwYaTgwAB+WdhMFsu8gQOn4 LMHtR/pQvKUyE4eVgf1Gybx7tDGNQnM+xGLaaQzsTCL8cfmYKtwwi2J3haHzUH1b+o4z mK5Nd4GhYhY8HbP9r1P3jQX5rDxHAH5In+VNphHnt7pVakuG7QFraxi+W9J7NXaacB8X RMb21VTW8cb8Mjtt3VcNqU6V1UiX0iHxhinjdLVXns05wKw8TJbJhhrKeoNSGRkJ2vhi c1yQ== 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=Dp9yVxFCyjMX8e/iw4Y7TwyVTuRO8nwuSoil1DMrlBc=; b=IpipMzluVzxFte45hB4O0Ti1/FRg3uajwR2M+RJmj3ZFE/ivj/3dapgwhl5Yr/RUBs z6tutgLHOmUwXlBAXT5VvQmqKufugp3KsjiQkGxsD95vIeK/PwGrrXIsSSqgORBdSRxT TQW7vyT0LgeMN8tsWfLaFtR8NcRw7rB+gjGnZEeNm6GCQFG84yfQ9lHUIogilN2vHNFJ kPgysJzojjsPp7ZWNHgqkCJGij97mcP0fyLDSSDP9zrKCBqSYBaG+uj/F3TOKf7stLFw kYpX+nQANMderwB+Z6OE9Xc/WX5vcsPcFO/TA3q0WXt4OTNykY3hNqYErVY8ZKdfnsWX AaVA== X-Gm-Message-State: ALyK8tLJ6qPy1t40yBT3uKCy5YmGj+MnymvQWK2BonlQ1RVMD+MtFBNZB9Nbgd+c236SZSGq6Vjqq/ciynER9Q== X-Received: by 10.28.170.198 with SMTP id t189mr22911872wme.19.1468834805306; Mon, 18 Jul 2016 02:40:05 -0700 (PDT) MIME-Version: 1.0 Received: by 10.28.212.136 with HTTP; Mon, 18 Jul 2016 02:40:04 -0700 (PDT) From: Yuri Iozzelli Date: Mon, 18 Jul 2016 11:40:04 +0200 Message-ID: Subject: High Performance P4 Software Switch - Week 8 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, 18 Jul 2016 09:40:07 -0000 Hi Project summary ======================== In this project I would like to implement a modified version of the reference p4 (http://p4.org) switch on FreeBSD, which uses netmap for faster packet I/O: the goal would be reaching the 1 Mpps order-of-magnitude speed (current reference implementation is limited to 150 Kpps for a simple l2 switch with 2 hosts). Week 8 ========================= I am trying to add the advanced features to my target, but this requires a priority queue version of the lock-free queue I developed. It is not straightforward how to do it, but I am working on it. Also, preliminary tests show that the target is slower when using the multicast engine so I will look if it can be improved. I am still working on my master thesis too, so the progress is a bit slow. Next week I should work on this full time again. Links: Wiki page: https://wiki.freebsd.org/SummerOfCode2016/HighPerformanceP4SoftwareSwitch#preview Code (gsoc-* branches): https://github.com/zarghul/behavioral-model Regards, Yuri Iozzelli