From owner-soc-status@freebsd.org Sun Jul 17 08:58:26 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 CD14FB99F57 for ; Sun, 17 Jul 2016 08:58:26 +0000 (UTC) (envelope-from surajponugoti@outlook.com) Received: from BAY004-OMC4S24.hotmail.com (bay004-omc4s24.hotmail.com [65.54.190.226]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "*.outlook.com", Issuer "Microsoft IT SSL SHA2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 97BAA1D81 for ; Sun, 17 Jul 2016 08:58:26 +0000 (UTC) (envelope-from surajponugoti@outlook.com) Received: from NAM03-BY2-obe.outbound.protection.outlook.com ([65.54.190.201]) by BAY004-OMC4S24.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.23008); Sun, 17 Jul 2016 01:58:20 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=qyM8RaQR65RfRfvT/J6j3h8ypZ+sJ/UfBjXAGI6eTXU=; b=BfECukijSes99QQdiATsLKy+s4Uk/dZ9pYM0lC/BUss5PttNowu/QEFSag88kuGKvqV/q31lYYIDVF3ZRox2ugMx+gUKuPLXpe8qOU4/t8yWldxBCwTwtVMok6Ha015H9R1W9zwnW0BFjcmhxp5AKsKLZsDlaCUT9t/KZYTfRCH+dpQmHkcz+6XB3Ezqytfp+scHjpYJkM1ZhZ5zuzm66QGXJuL7sUPhuqKAzSbfG6SqafSG0Ot5Tne5By60p0cu9OzsjrYsn/K+AannSyx4IX+ZHVBOFmhXzs0Xy47CljuFI6o7HMaN82Tr7RL2LKDOXqPUucf813I2Ov1ehFRU3g== Received: from BY2NAM03FT021.eop-NAM03.prod.protection.outlook.com (10.152.84.54) by BY2NAM03HT071.eop-NAM03.prod.protection.outlook.com (10.152.84.192) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.539.16; Sun, 17 Jul 2016 08:58:20 +0000 Received: from BLUPR11MB0771.namprd11.prod.outlook.com (10.152.84.60) by BY2NAM03FT021.mail.protection.outlook.com (10.152.84.222) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.549.5 via Frontend Transport; Sun, 17 Jul 2016 08:58:19 +0000 Received: from BLUPR11MB0771.namprd11.prod.outlook.com ([10.163.216.25]) by BLUPR11MB0771.namprd11.prod.outlook.com ([10.163.216.25]) with mapi id 15.01.0544.010; Sun, 17 Jul 2016 08:58:19 +0000 From: suraj ponugoti To: "soc-status@FreeBSD.org" Subject: Re: Adding SCSI Passthrough to CTL Thread-Topic: Adding SCSI Passthrough to CTL Thread-Index: AQHRvav815GxMm76Q0+QqDqRN2o8xp/lXrOugAu0So6ACrp7t4ALEe2egAwwxbWACYadQw== Date: Sun, 17 Jul 2016 08:58:19 +0000 Message-ID: References: , , , , , In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=softfail (sender IP is 10.152.84.60) smtp.mailfrom=outlook.com; FreeBSD.org; dkim=none (message not signed) header.d=none;FreeBSD.org; dmarc=fail action=none header.from=outlook.com; received-spf: SoftFail (protection.outlook.com: domain of transitioning outlook.com discourages use of 10.152.84.60 as permitted sender) x-ms-exchange-messagesentrepresentingtype: 1 x-tmn: [bjqqCPbhHlW5+a5pHrLkF09aJfnmGGdr] x-eopattributedmessage: 0 x-forefront-antispam-report: CIP:10.152.84.60; IPV:NLI; CTRY:; EFV:NLI; SFV:NSPM; SFS:(10019020)(98900003); DIR:OUT; SFP:1102; SCL:1; SRVR:BY2NAM03HT071; H:BLUPR11MB0771.namprd11.prod.outlook.com; FPR:; SPF:None; LANG:en; x-microsoft-exchange-diagnostics: 1; BY2NAM03FT021; 1:f0DAsTNtmdYTQaWrQ7SMcKM/L1k8oh54g9GHURExF9qtnvbKRzjUyQegiMFNyU08HV3vSLb3xK0wFRO3gmZwK37/q/2Sq5yBpBS4hdnmeFQ6WtSJixsiePHQ5ZIj5xSX498ziaa3hDqtQUdC7ZdLbEfR+fHfcxiZG9Ijtg6fJCs2ggEdrfFodsjKsmz4nJGVJ6YeXOhKgd0W2iW3VZ1y98RBWEQAZQWKmpMDkhdHqRlLeqL+8XWwlhLlXZb9+I2wa/rBYoWVv01Kvusw1t3yWF0IXvgvR+zLOT+2R34z8mn/9zQ73kgJLntfxBMS1fo0ovRycR1PWzE4akXWgbHHePF0LwmVlgeX/aVrM3jQzAdVQyG6vQzYGhC2ojLScua4+co6VXnBKWS0cGgYmRq8J6MHHTQA41QiWUCyzU3ZYWZ9vgnwvoGsMkfxzBUfaPAg3X0mJRkwFaJvm8ksb7LTBA== x-ms-office365-filtering-correlation-id: 8009cb5e-4e1e-4796-116f-08d3ae207fe4 x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(1601124038)(5061506196)(5061507196)(1603103041)(1603101172)(1601125047); SRVR:BY2NAM03HT071; x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(432015012)(82015046); SRVR:BY2NAM03HT071; BCL:0; PCL:0; RULEID:; SRVR:BY2NAM03HT071; x-forefront-prvs: 00064751B6 MIME-Version: 1.0 X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Jul 2016 08:58:19.4979 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2NAM03HT071 X-OriginalArrivalTime: 17 Jul 2016 08:58:20.0862 (UTC) FILETIME=[5E1B25E0:01D1E009] Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable 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: Sun, 17 Jul 2016 08:58:26 -0000 Hi, This project is about exporting physical SCSI devices over iSCSI through CT= L as an actual SCSI target. Wiki Page: https://wiki.freebsd.org/SurajPonugoti Git Repo: https://github.com/suraj5/freebsd Weekly updates: ctladm start,stop,readcap and write commands are working Thanks Suraj From owner-soc-status@freebsd.org Mon Jul 18 08:28:36 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 70BE1B9C371 for ; Mon, 18 Jul 2016 08:28:36 +0000 (UTC) (envelope-from starak.adam@gmail.com) Received: from mail-lf0-x230.google.com (mail-lf0-x230.google.com [IPv6:2a00:1450:4010:c07::230]) (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 ECE99186F for ; Mon, 18 Jul 2016 08:28:35 +0000 (UTC) (envelope-from starak.adam@gmail.com) Received: by mail-lf0-x230.google.com with SMTP id b199so126684575lfe.0 for ; Mon, 18 Jul 2016 01:28:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-transfer-encoding:mime-version:subject:message-id:date :to; bh=ZWyRcadOAFFld4fmRGcdy1xNx4uluow3iTGO/Jq7yXk=; b=00c42cfutmq9qSE60loh/5G/VpyWDU4P3P3peQZZwOnniWEltY8faFMhH/eJTEnjIs DIJ1Bz/ZI6C8w+g8hR/6bEO0LsE7GI4Qdv3ez07T1PKkz26SfEjx4G0lFwle48qpxfOB o6EvCACVQv915azqpU/ZYTrwHuzznsmX1krA96cauPesxJpcaYs1ufwM5RWFQZmuR+pq z/yotelj73xmzCqT+IcEtW2zvJWE0FLlPbAUIIiqHHVwPy5EXEOS3vO+A722JZLjc82u rZCdBf8FVqHQDmKMeYUqAFFSe22jW/MWpy/wZHXgzpCFwNrJ/DSCN6ckxQFf9y19Sg9S GVZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:content-transfer-encoding:mime-version :subject:message-id:date:to; bh=ZWyRcadOAFFld4fmRGcdy1xNx4uluow3iTGO/Jq7yXk=; b=GV7LJSBLcye//vkCuoBtbo1t5U8P46EHvEnZpeGn2nCByIAF34GfUWK3iMfJHmPVg/ jwH/rZzDxwWhwx376UHjoF7T/84Iq2vIC63RwKwH9IqhhFXFg77p7nG1/m/yK+ZuF9x2 XJQy0re75xXDC6qWXdQcwIsUR9SBGpXlGerG82+x0eLZ8q9O4VMFq12i6rijC0Vo5IQR 3q9HpvShNFjWedBn9tvxS/8E0yjq0a7VOI+l5rGBWKn0NBYQKEViGjFgE5CGubIRKZBc vGbRUKsWPFvmxgbIuuOxSm02wn6XFqfEusQK4BCe+o11fwbpsoSyYXpV1mKNp2uzCCfD U02A== X-Gm-Message-State: ALyK8tI0TqyeSa9vOLU2Rj++dJH6tlF2MTtUdWRxCFleLTuMX5cBzdQPEoVUMb+yiGrbPA== X-Received: by 10.25.146.209 with SMTP id u200mr13555399lfd.224.1468830513955; Mon, 18 Jul 2016 01:28:33 -0700 (PDT) Received: from [100.68.144.173] (188.146.4.60.nat.umts.dynamic.t-mobile.pl. [188.146.4.60]) by smtp.gmail.com with ESMTPSA id p128sm4148143lfb.32.2016.07.18.01.28.33 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 18 Jul 2016 01:28:33 -0700 (PDT) From: Adam Starak Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (1.0) Subject: libnv improvements week 8 Message-Id: Date: Mon, 18 Jul 2016 10:28:30 +0200 To: soc-status@freebsd.org X-Mailer: iPhone Mail (13F69) 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 08:28:36 -0000 Hello! During week 8 I was working with tree macros for find. Also I was trying to w= rite a kernel module to check whether my cnv api works or not. Additionally I= generated 2 patches which remove memory leaks.=20 Kind regards, Adam Starak= From owner-soc-status@freebsd.org Mon Jul 18 09:15:06 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 4180CB9CA47 for ; Mon, 18 Jul 2016 09:15:06 +0000 (UTC) (envelope-from v.maffione@gmail.com) Received: from mail-oi0-x233.google.com (mail-oi0-x233.google.com [IPv6:2607:f8b0:4003:c06::233]) (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 0971A1361 for ; Mon, 18 Jul 2016 09:15:06 +0000 (UTC) (envelope-from v.maffione@gmail.com) Received: by mail-oi0-x233.google.com with SMTP id l72so97695958oig.2 for ; Mon, 18 Jul 2016 02:15: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=62CR/DE6FvdLyAPhLXmycGaN4L0CjeksVHt4Ati4/Bo=; b=V62j2OKXJ6OPUq5nrM1kY7B1EZBNd1RdDijSM/wMjAvI2eTvoC8u37MFuOaJSvRd4Q Jc9QXXrKiORjKcRC8lxMIJ5iWLu8VguCwLInLO/buba8/bwZb4s+xb/nvA3QVyLq9lBM ksXsh1vFwveLuIdedy82sOYbWKtSNYmiKPzFXPg3fhRk32rixjchyiFL4TF4AbPMkiZm m83vyVEbdjU9LembR30UkC8YflphJkcDUq80hWsZxe8T+Rc7szYQDwCngzGxxC1Il5fb VOYClaevh4UADKpAWDq1NQyPuHHokM/yI2jOQcdDzmOiN0g9+cyjQ6wfVm7Zg/QpXIj2 4FQw== 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=62CR/DE6FvdLyAPhLXmycGaN4L0CjeksVHt4Ati4/Bo=; b=a6ZCK+Urz99+9ppdRicOJn+3+UPJ4xC5Ic0N5NWRenOPJuvHuSs5a3I7rHEWWc58pG s7zwaHg/lbpQ/aNP1DVuMg4frgAD5Vx/GBVJ6CrAtmyeNnP24KEzy6g+BWhtZsEd2YUx cI6LpJlCWrGD9TGcM9Md1AjOgs/nc7WNqNLDSttDhI3QAdHabG3AEnS8d8Sh3SB6+Gp6 dQwhhrRD4lsyyiz2obFFQvFh4Lql+MkJvoZb57wts/tfoGVitsJf3z+nrLcxF7RQ86+w IHWcsUNrC6pitLsXx7olyJDwbdIIMqEBhM+dwBz6KrViSpL3j9tp2pv4shTGf/qrbtWy O7vg== X-Gm-Message-State: ALyK8tJNzW5Jw1muXK3lIq1YeuUxTCHvSObCeA2fJbYXRsbTwEBc/5ieFFOlAN28pAOwesCo/QHuaGhcdP3rRg== X-Received: by 10.157.18.142 with SMTP id g14mr19281097otg.1.1468833305276; Mon, 18 Jul 2016 02:15:05 -0700 (PDT) MIME-Version: 1.0 Received: by 10.157.20.6 with HTTP; Mon, 18 Jul 2016 02:15:04 -0700 (PDT) From: Vincenzo Maffione Date: Mon, 18 Jul 2016 11:15:04 +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, 18 Jul 2016 09:15:06 -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 8 =================== In week 8 I advanced the implementation of virtio-net header support for the ptnet driver and tested the implementation using the QEMU hypervisor. I also added support for optional virtio-net-header selection, interface statistics and polling. During next week I will finalize the driver implementation and start to study bhyve code to adapt it to netmap. 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 From owner-soc-status@freebsd.org Mon Jul 18 09:24:33 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 799BAB9CCA1 for ; Mon, 18 Jul 2016 09:24:33 +0000 (UTC) (envelope-from mpp302@gmail.com) Received: from mail-lf0-f47.google.com (mail-lf0-f47.google.com [209.85.215.47]) (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 1423C1875; Mon, 18 Jul 2016 09:24:33 +0000 (UTC) (envelope-from mpp302@gmail.com) Received: by mail-lf0-f47.google.com with SMTP id b199so127721989lfe.0; Mon, 18 Jul 2016 02:24:32 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:subject:date:message-id:cc:to:mime-version; bh=DZob9QriVO1FV/8L9PTNqf5uvippPlchq9PyzEHoHL4=; b=fdHcndQMms7venrtkhFb1DjBunER7b5NsOwCbcXnr7LFgFRMzmFQDAn2zG3OYKnju6 YWBiXhKLch3ibDjmavqNCS5i3qkkse2gqkk+0gfwcXKKyGSscPODjdDLJd7ShC5TchIK TVvJ4ftf6DEwfhsYk4sTqAlAF0pyGsN8dWnAzFvKB3LZr+oR0QDblUhF99PwyZP8d5WM IeMjwipvYDznR4RJAOT474AUFRoO52xsiKajxebroGlzWqSCr6CXNtEguBK1OtmE0tFf lNNgHzW0psrquDhshbG3t0DwHFEJWQc0+I77UX6HU8vpZCczRHvI+2MVlkR9YbGeIJZc o3rg== X-Gm-Message-State: ALyK8tKTZcL0I6jpyb5tqwBcuHImDQ2n52aUaUfxA5YamrqYoW5O7M79L9bqnJGt8qPXPA== X-Received: by 10.25.22.234 with SMTP id 103mr15682933lfw.100.1468833865113; Mon, 18 Jul 2016 02:24:25 -0700 (PDT) Received: from maka.lan ([77.79.224.226]) by smtp.gmail.com with ESMTPSA id 29sm4272168lfu.43.2016.07.18.02.24.23 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 18 Jul 2016 02:24:24 -0700 (PDT) From: Mateusz Piotrowski <0mp@FreeBSD.org> Subject: Week 8 / Non-BSM to BSM Conversion Tools Date: Mon, 18 Jul 2016 11:24:24 +0200 Message-Id: <7AB5EB4C-7C22-444F-AD04-19534C25CC9C@FreeBSD.org> To: soc-status@FreeBSD.org Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) X-Mailer: Apple Mail (2.3124) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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:24:33 -0000 Hello, I=E2=80=99ve got a couple of interesting news for you. # Parsing According to what I=E2=80=99ve learnt from the Linux Audit mailing list = there is no document with the standard. Generally, no one is translating = and parsing Linux Audit logs on their own because there is a library = called auparse which is capable of parsing those not-so-well = standardised Linux logs. As a result my program is able to parse the = most recent version of Linux Audit which is not that great - Debian uses = a version from 2012 and CentOS a 2013 one.=20 I was told that in the near future auparse will have its interface = expanded and it will be easier to extract information from Linux Audit = records. # Conversion I=E2=80=99ve created an extensible and easy to use framework to = modify/improve the current conversion from Linux Audit to BSM. At the = moment most of the Linux Records are simply converted to text tokens = (see audit.log(5)).=20 In fact Linux Audit is a little bit of a constantly morphing black box = which means that logs might possibly contain anything inside. I was told = that it is about to change but you never know - remember that Debian = uses a 4 year old version of this software. # CentOS Now I am trying to get the most recent audit software on CentOS to see = how Linux Audit records should really look like. # Links: - Linux Audit userspace TODO: = https://github.com/linux-audit/audit-userspace/blob/master/TODO = - My email to linux-audit redhat com (Steve Grubb is a really nice = guy!): = https://www.redhat.com/archives/linux-audit/2016-July/msg00063.html = Cheers, -m= 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 From owner-soc-status@freebsd.org Wed Jul 20 15:03:45 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 9692BB9F968 for ; Wed, 20 Jul 2016 15:03:45 +0000 (UTC) (envelope-from akshay1994.leo@gmail.com) Received: from mail-it0-x235.google.com (mail-it0-x235.google.com [IPv6:2607:f8b0:4001:c0b::235]) (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 624891DB5; Wed, 20 Jul 2016 15:03:45 +0000 (UTC) (envelope-from akshay1994.leo@gmail.com) Received: by mail-it0-x235.google.com with SMTP id f6so52117711ith.0; Wed, 20 Jul 2016 08:03:45 -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:cc; bh=YT7vGWhpTMbGGEvHHKSTWGwFfw55ADLCnbzPfRHnAi0=; b=POHZZCD+iuE8RWQsSNxpX4Jsnz0kex60a42JQB/DRE0mqR8UQmqNufgxtknQqV3nYO 3ufiS73iA2iQRe21MJmQjaL4mcw4YIXRCJvpxDOo2pNS7pP9pfb0dXMgEWuCWAbQUvn7 /ArjjD2AwQwApVfYJkl0HiuDAo8XShlsKxRn58qPNVqjf9fy2wwrOvs6CfwRD4FXZxT7 HloWXNqgAZAZTMARdw3CY6uO1zoeAJbFaZ6PtgMhYQsxJ/zrpBHA7T1yPsKgDwVk3fa3 xOsGJft8hJS99warQHFXGCuwSUNxPeNrYCOrAXXj+wOiacBRXgW4JRpvCyM9W7R9OeQE 0Tfg== 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:cc; bh=YT7vGWhpTMbGGEvHHKSTWGwFfw55ADLCnbzPfRHnAi0=; b=PEqp6khVoAEhcf92Lz5tcofgPKXwgq4B1oFZnJnLaJ2Do3uJu/QsXxCw5b6aSjr4yd xJTD+W6QlDYmuLPpwjIbNgJLv0f9bXtN8ZD410exx5god94be5x9Mr1oLEQ+Woh/eBat xUYqkWe/ht3y25v6vC+FiTjklVqQoB//1nr3Im0pRO7xIADKiO1z6Q2c+03fun7lWYzi Nq1bzReQb74RBhRXd2oqtv784MQPx8ZZXGRNV2RccLeLIHazEdTLPJ8QcGAqbnZZ01Sf ofg2rjyfOmWep2SzXPAWt7glSbqFZMxivq9iOMpzDNt6n2IAXVCXjPBfs5S82I12tDTk +wew== X-Gm-Message-State: ALyK8tId/8HrAatEY048YlugynBYRpfaP7hWcES2E8tAcGCAdXUmcjfdDAVX8tEyIGE10HB14sr16fg2GtBB1w== X-Received: by 10.36.95.202 with SMTP id r193mr4283599itb.48.1469027024537; Wed, 20 Jul 2016 08:03:44 -0700 (PDT) MIME-Version: 1.0 Received: by 10.107.20.85 with HTTP; Wed, 20 Jul 2016 08:03:24 -0700 (PDT) From: Akshay Jaggi Date: Wed, 20 Jul 2016 20:33:24 +0530 Message-ID: Subject: Grant Table Userspace Device - Status Update To: soc-status@freebsd.org, soc-admins@freebsd.org Cc: Pedro Giffuni , =?UTF-8?Q?Roger_Pau_Monn=C3=A9?= 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: Wed, 20 Jul 2016 15:03:45 -0000 Hello Everyone, I hope everyone is doing great. First things first. I want to apologise for not updating my blogpost after June 15. Some personal stuff happened on June 17, and since then all my work routines are completely disturbed. Soc-admins know about this, and I hope the community can pardon my irregularity this once. Now, time for some status update on the project. We have a working Grant Table User-space Device (with some caveats, of course). Yay!! Check out the code on the pull request: https://github.com/freebsd/freebsd/compare/master...akshay1994:grant_table?expand=1 Test the device by compiling a custom kernel; from my working branch: https://github.com/akshay1994/freebsd/tree/grant_table Caveats and work yet to be done: - A kernel panic happens if you terminate the program without un-mmapping all the mmaps. - The interface for a grant map is not completely in sync with the Linux interface yet. Notably, we still map and subsequently mmap partially working grants. This is a bug since the pager will fail on a page fault for the non-working-grant. - I'm yet to add event channel code for the notify ioctls. - I'm yet to get in touch with the vm-guys. I spent a lot of time understanding the vm structure, but I surely do not have a complete picture. I'm using a MGTDEVICE cdev pager to handle managed, fictitious pages from mapped grants, and a custom PHYS vm object to manage wired physical memory for allocated grants. I have to - Confirm if the approach I am using is the best one. - The interface differs compared to Linux with regards to multiple mmaps, which I need a little help with. Looking forward to some community testing of the working parts. Comments are welcome and highly appreciated. :) Regards, Akshay Jaggi