From owner-soc-status@freebsd.org Mon Aug 1 08:07:38 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 5F888BAAF49 for ; Mon, 1 Aug 2016 08:07:38 +0000 (UTC) (envelope-from y.iozzelli@gmail.com) Received: from mail-lf0-x22b.google.com (mail-lf0-x22b.google.com [IPv6:2a00:1450:4010:c07::22b]) (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 DA6FB1288 for ; Mon, 1 Aug 2016 08:07:37 +0000 (UTC) (envelope-from y.iozzelli@gmail.com) Received: by mail-lf0-x22b.google.com with SMTP id g62so109751358lfe.3 for ; Mon, 01 Aug 2016 01:07:37 -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=EINruRSYj7zgFhN0ESeve4XLHcd20/+tbibBasEXvNs=; b=agdbvrISuRXLam7FP7lyTsc+6Gs9UDf39LiO738TPQiT+uHmaDlgJoj8EQzSM8yU9N jR/v7aXv4iSPuOWOiy+3KkWro/gjNAseTN8U2L0vUGknAXbpm05Ehy/VCiQ3Os8kdUiK qv+yDF+9oM+BAlNGXy75iYpXCc0uHWcDFwJ7V7TOkI/c0HpaVp4tN/hqb3o7Hnn/tdmx uvH18hMIvIFMOptiEq2ip0mayizfjeT4m0K9Fo0kzoo6hbbCAvfedFHBCyVl4rMHF98a zsF8Y0cTkoLUYPx8C/piRGvgQUcDzjNs+ywMR4kCz6A7wRunruqicL/CNDzxhbsuHEWD Fkjg== 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=EINruRSYj7zgFhN0ESeve4XLHcd20/+tbibBasEXvNs=; b=BCghYSKJYi+tMKseL67KwYt1se85mABpTWbbJtWGdEAWnJD7AkQAQT8w2zQdFkzazI kpgGaJFwgbWqIVKKl1jicZ+px2xxaW+RZdrVy9iwrg0WBSBw0fTHwtjIySM5GQutnM0k bN7t+UechX8jFMEkGoPIl4hUVe0a1Tfydruip9Nz2otMQ7+ikKJ3em3VyY4agIm+QF+h y2lQDRudXu2w8s03pS/iRZt+x2cEXFOtJacYkvSafQMYKyy2vxt8yXfE06gkccW11K7H q6UZgZB0F2Nc6qhWqAVpSxxMxB/AL3bFpjl7W9vLfxryFsHZvwpnU4+baalJbb6dg5U9 wYRA== X-Gm-Message-State: AEkoout7K0VY48fT2JKqzR+Mh4tGNYAyVhXpyplCCUdF6vtct/ik9lEg9VlpDhPOHpUe73f2ztSfr0mKK2+fIw== X-Received: by 10.25.20.211 with SMTP id 80mr18736338lfu.123.1470038855444; Mon, 01 Aug 2016 01:07:35 -0700 (PDT) MIME-Version: 1.0 Received: by 10.25.29.16 with HTTP; Mon, 1 Aug 2016 01:07:34 -0700 (PDT) From: Yuri Iozzelli Date: Mon, 1 Aug 2016 10:07:34 +0200 Message-ID: Subject: High Performance P4 Software Switch - Week 10 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 08:07:38 -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 10 ========================= I developed a more advanced version of the lockless queue, now supporting multiple output threads. Also preliminary work to implement priority queuing and rate limiting. Links: Wiki page: https://wiki.freebsd.org/SummerOfCode2016/HighPerformanceP4SoftwareSwitch#preview Code (gsoc-* branches): https://github.com/zarghul/behavioral-model Regards, Yuri Iozzelli