From owner-soc-status@freebsd.org Sun Aug 21 15:59: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 D25B4BC127B for ; Sun, 21 Aug 2016 15:59:33 +0000 (UTC) (envelope-from royger@gmail.com) Received: from mail-wm0-x22f.google.com (mail-wm0-x22f.google.com [IPv6:2a00:1450:400c:c09::22f]) (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 64D8717CF; Sun, 21 Aug 2016 15:59:33 +0000 (UTC) (envelope-from royger@gmail.com) Received: by mail-wm0-x22f.google.com with SMTP id q128so91248607wma.1; Sun, 21 Aug 2016 08:59:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=VPY8Y9lP5SbSMzAae6VQRTMUIhnBQmpqpeTo4Qtw5HQ=; b=gdFTFc9ZnvIu3CanGS8vPL605qDl8CMsXpu7nUUA7Lfa1UWGQK8sEai0xwKA2Zrs5K j+OKMC7AcLflNbtZgwnX5aEvw+Cgmb3w2lFl+GIkX8lpdlLAYEI8MVvpxzVY/WYKQSTB Kc1M4gDuqI4449NtVzF2ykyu4+yDicnC7Vyw3/gEzSiKTZXQ4fk5Q8TLWS6jOb1ulw7j sORDC5KcorRSE+VvPcSw2Y56YbbEGSWzeXqf1ar1dy7pzMJfiY1BvHp0eZL7RFDSZWy2 3cyHT+U5kyhNaPwzUqqgk50UoQRXvMXOKbpiTen205dRn5p5chnurbBNNZIRjuzg15Nh 0pOA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to:user-agent; bh=VPY8Y9lP5SbSMzAae6VQRTMUIhnBQmpqpeTo4Qtw5HQ=; b=cVKiHfybCtmOLVeiGwYFSKEy1ZEAIWCEBj946HyyQ1QKAk3VQ9Uch3XJJCRLuEuTZh 30yag4zWr+ldIv6EbS0S2+nOpUelpdXFJP+6K9XakXc+H6ceqCk72PA+KLPpzroyzOcz G0nHYsvfbIArg/t5/zUGQcZqe9s/PQ9rjt2yZ4Rjj5x7zgj2kW1EXxjA/NPBoXmzwr6m 12XtlaMnju1b76dM3GXqMjDxdYHs4EYjqW1L/pF70a9ks278SZ/92sSXETMW1gd8tZps AFBfYhjkyns2zU+Rvabxe1LvmZIYhQq12pch4rpM2I9/EyxxkMCsolS3voU+mdkDNGl/ FUQw== X-Gm-Message-State: AEkoouuVi/QTxQk/EiPGBeYqt7dqKw7en9apuOXTVCiQkFywfDG0TpvQgGmc/2CMa/ve9Q== X-Received: by 10.194.80.104 with SMTP id q8mr16344169wjx.151.1471795171875; Sun, 21 Aug 2016 08:59:31 -0700 (PDT) Received: from localhost (247.red-88-1-153.dynamicip.rima-tde.net. [88.1.153.247]) by smtp.gmail.com with ESMTPSA id e5sm15834157wma.13.2016.08.21.08.59.30 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 21 Aug 2016 08:59:31 -0700 (PDT) Sender: =?UTF-8?Q?Roger_Pau_Monn=C3=A9?= Date: Sun, 21 Aug 2016 17:59:32 +0200 From: Roger Pau =?iso-8859-1?Q?Monn=E9?= To: Akshay Jaggi Cc: soc-status@freebsd.org, Pedro Giffuni Subject: Re: Grant Table Userspace Device - Status Update Message-ID: <20160821155932.lzqkbldx3ihhccdn@mac> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.6.2-neo (2016-06-11) 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, 21 Aug 2016 15:59:33 -0000 On Fri, Aug 19, 2016 at 12:50:32AM +0530, Akshay Jaggi wrote: > Carrying over discussion from IRC. > > 20:11 royger: ghost_rider: hello! I've been doing some testing with the > > device today, and it seems there's a memory leak somewhere, after shutting > > down all my domains I still see 1KB of memory used by the device, which > > AFAICT is not expected (you can check with `vmstat -m |grep gntdev`) > > > > Nope. That's not a leak. > > I ran `vmstat -m | grep gntdev` just after booting up Dom0, without any of > the DomU's running, and I still saw 1KB of memory being used by the device. > > root@freebsd:~ # vmstat -m | grep gntdev > gntdev 2 1K - 2 64 > > That is, 2 requests have been made, out of which both are currently active, > without any DomU's active. > > After this I fired up a DomU with qdisk backends, and vmstat returned: > > root@freebsd:~/xen_test # vmstat -m | grep gntdev > gntdev 2129 134K - 2137 32,64,128 > > Well in line with expectations. Now, powering off the DomU and running > vmstat again, we get: > > root@freebsd:~/xen_test # vmstat -m | grep gntdev > gntdev 2 1K - 2845 32,64,128 > > The initial 2 requests are still active, and this has nothing to do with > the DomU's. The first malloc() that happens in the device is in the device > open function at [1]. That means that someone has the device open. `fstat` > confirmed my suspicions. > > `fstat` with DomU active: > > root@freebsd:~/xen_test # fstat | grep xen/gntdev > root qemu-system-i386 1266 29 /dev 62 crw------- xen/gntdev > rw > root qemu-system-i386 1266 32 /dev 62 crw------- xen/gntdev > rw > root qemu-system-i386 1266 34 /dev 62 crw------- xen/gntdev > rw > root xenconsoled 751 6 /dev 62 crw------- xen/gntdev rw > root xenstored 746 11 /dev 62 crw------- xen/gntdev rw > > `fstat` with DomU powered off: > > root@freebsd:~ # fstat | grep xen/gntdev > root xenconsoled 751 6 /dev 62 crw------- xen/gntdev rw > root xenstored 746 11 /dev 62 crw------- xen/gntdev rw > > So yep! It's no leak. Just that xenconsoled and xenstored keep the gntdev > device open. I guess this would be expected behaviour. Let me know if it is > not. > > 20:14 royger: ghost_rider: and I've also seen a "Can't find requested > > grant-map." after attaching 4 Qdisk to a domain and done heavy IO to to > > them. > > 20:16 royger: although this last one I haven't been able to reproduce > > > > That's pretty strange. I have never noticed this in any of my manual or > stress tests. > > At this point I would also like to mention, that the xen-gnttab code is > kind of buggy (putting it mildly, no offence). > Like I pointed out in the xen-devel patch thread, there is a place in code > where "-1" is being used to specify there is no CLEAR_BYTE notify. But this > is not being checked for inside the function, which would have caused a > clear-byte notification on a different page, causing data corruption. The > only reason this bug is not doing so, is because of another bug, where this > -1 is being passed on to an unsigned int32, which would keep it out of > bounds for most requests. > > I don't think this has to do anything with our device. If we lost some > unmap request (which is where this message is generated) we would have > surely leaked the memory for the gmap structure associated with that > request (because, 1. ref-counting, 2. transferred to global clean list only > on an unmap request), and that would have been visible in `vmstat`. > > Let me know if this repeats. > > > > 20:40 royger: and I'm not sure if you tested it, but if you attach a > > ramdisk to a VM (one created with `mdconfig -t malloc ...`) and try to run > > newfs against it, it doesn't work, a bunch of read errors appear on both > > the DomU console and Qemu log. Although it works with a plain file, so I > > guess this is probably some bad interation between Qemu and FreeBSD block > > devices... > > > Mhm. Sounds like that. I'll try it out on my setup and post the results. OK, no problem, as I said, it looks like this is some kind of bad interaction between the grant table device and md devices, it's worth looking into it, but it's not a blocking issue in any case. I've already reviewed all the remaining FreeBSD code, and I plan to commit it once 11.0 is released, so you still have a couple of weeks to look into the md issue if you want. Regarding the Xen code, I'm not a maintainer of the library that you have modified, so you will have to wait for the Ack of one of the maintainers (next week is XenSummit, so everyone is probably going to be mostly offline). Thanks, Roger. From owner-soc-status@freebsd.org Sun Aug 21 16:29:21 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 EF0D4BC1B32 for ; Sun, 21 Aug 2016 16:29:21 +0000 (UTC) (envelope-from akshay1994.leo@gmail.com) Received: from mail-io0-x236.google.com (mail-io0-x236.google.com [IPv6:2607:f8b0:4001: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 B77711E6D; Sun, 21 Aug 2016 16:29:21 +0000 (UTC) (envelope-from akshay1994.leo@gmail.com) Received: by mail-io0-x236.google.com with SMTP id 38so90123476iol.0; Sun, 21 Aug 2016 09:29:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=1ZFcKTMgSaz+EB8vPkK93Th3TFyF5hkl7aOG5sb8lPc=; b=vohbF8JwLm72f6Lp4gx5/dZAIu4BNwvAUp5YATlKaO+WhY1Zb/6WSXqcq1mPiH/vbQ kizf6Enh709jekdi74gyJt3BIJuaVMG71zPrHhaMmDu7LTy6VydeQeoj4ker/vBwV48F f1uxdWol1gtsujR4l22LOA5DRctNUDbjFFr5rtZ25jnAplq8McVYlrLBvVFh/dv+DW+f K5odWFLm6/0iGCmaVXR472708OFG8hY9nAdQD3NPhKFfe9az+zx1FR9ZSfocjPgbmKss VInSlgqdl1Y3JxbnXoyk0v6RSElh2/uT8XSCTMVf9v9/EjFxPln8ZUtFMXzfvLLQXxcW GcPA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=1ZFcKTMgSaz+EB8vPkK93Th3TFyF5hkl7aOG5sb8lPc=; b=XV8dE4L1xDTK8Hzwep33HbrakHGnLGNINQiMIWYbht6zuX13KsmzrR43zgCWfsGrcY wrA/XWa+rNSvaxSC2gTKdngCaLqvPThLuqPaaG571srRpUhzw27Q2BgZyNuxd45cWVZE s9soVIJ3gpXLj9lJyA3VKSRZk0CHnlYV9C2Lic+rpKamuGiTjbKE0x/mV9bRtYme1ILe 5BapxJL5bWXM0wOWFXeTWwQ8db1wXAPmvBopmBwRxiNncPYkTSqN4Vgokw5HQLk6R6SW XubTPycZ4/s7rKglK04fa0hiPLxbN9dImCDwf1jtbP1sIFQRQFxtJrGTUfxSZXnLcj1h XpLQ== X-Gm-Message-State: AEkoouvoL6Vx6RYuoWu6SUVHdg4JC9ikjjBtcR/QWMzc55bc5UASF6VWZv+/dHyExgEzIIOxh64/QymLl02yTA== X-Received: by 10.107.35.134 with SMTP id j128mr16824608ioj.115.1471796960936; Sun, 21 Aug 2016 09:29:20 -0700 (PDT) MIME-Version: 1.0 Received: by 10.107.20.85 with HTTP; Sun, 21 Aug 2016 09:29:00 -0700 (PDT) In-Reply-To: <20160821155932.lzqkbldx3ihhccdn@mac> References: <20160821155932.lzqkbldx3ihhccdn@mac> From: Akshay Jaggi Date: Sun, 21 Aug 2016 21:59:00 +0530 Message-ID: Subject: Re: Grant Table Userspace Device - Status Update To: =?UTF-8?Q?Roger_Pau_Monn=C3=A9?= Cc: soc-status@freebsd.org, Pedro Giffuni 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: Sun, 21 Aug 2016 16:29:22 -0000 Hi, On 21 August 2016 at 21:29, Roger Pau Monn=C3=A9 wrote= : > > > OK, no problem, as I said, it looks like this is some kind of bad > interaction between the grant table device and md devices, it's worth > looking into it, but it's not a blocking issue in any case. > > Mhm. I'll first fix the issues in the xen-gnttab code, and then try to look into the interaction when I get time (I'll get busy because of the move, already delayed by a month.) > I've already reviewed all the remaining FreeBSD code, and I plan to commi= t > it once 11.0 is released, so you still have a couple of weeks to look int= o > the md issue if you want. > Oh! I thought we'll be able to get this in now. In that case, I guess I should submit the links to the differentials for the final evaluation. Let me know if this works. > > Regarding the Xen code, I'm not a maintainer of the library that you have > modified, so you will have to wait for the Ack of one of the maintainers > (next week is XenSummit, so everyone is probably going to be mostly > offline). > Noted. > > Thanks, Roger. > That's great. I'm happy that everything works. It was a great and enjoyable experience working on this project. Special thanks to Pedro and Roger for being there whenever I needed help. Thanks and Regards, Akshay From owner-soc-status@freebsd.org Sun Aug 21 19:42:39 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 D8753BC0F7C for ; Sun, 21 Aug 2016 19:42:39 +0000 (UTC) (envelope-from pfg@FreeBSD.org) Received: from nm18-vm0.bullet.mail.bf1.yahoo.com (nm18-vm0.bullet.mail.bf1.yahoo.com [98.139.213.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8F83E187E for ; Sun, 21 Aug 2016 19:42:39 +0000 (UTC) (envelope-from pfg@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1471808552; bh=DySWzAyM2gL3cqICx+S7oDCxiE63V2gxvQsPpzBeHq4=; h=Subject:To:References:Cc:From:Date:In-Reply-To:From:Subject; b=BO4eRsyBRBwLx1FKl+yIUL3+oBPZBQK0NPlx3AP96flGSvpyln8xJd6mf0ZPHCPAtMvTFNDtMx82fsXI2sKQIt3z6WE+DmnEptrmah0HS92I39SohalNRTQP0Yk3jlpPxand5kf6Ae5us05SDgLxKCk1Vy5KfEOk8m1v5V3VXNuEofEWLVIyyJKOLN4C/jQzOdrBVGy2wRGs6WwUNE4YZJFMe14ZiymnvkFt5AleH/aBCSWQrjWAvXvnGLGsgV5Gj0A/x4sIMJsZvEsGeBvb3+imOOnt9aFRN3u3tzucU6L/0onIlyCkFunmfLexX5GkWzLe3a7fYvXySTV07CUICg== Received: from [66.196.81.172] by nm18.bullet.mail.bf1.yahoo.com with NNFMP; 21 Aug 2016 19:42:32 -0000 Received: from [98.139.211.198] by tm18.bullet.mail.bf1.yahoo.com with NNFMP; 21 Aug 2016 19:42:32 -0000 Received: from [127.0.0.1] by smtp207.mail.bf1.yahoo.com with NNFMP; 21 Aug 2016 19:42:32 -0000 X-Yahoo-Newman-Id: 800947.13779.bm@smtp207.mail.bf1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: 7v6DDLAVM1l2KRHi_Z1XSV4eRhqg2.kxOjBCB.62xkTmP1i s0qaF2m_tp4ugeCGUfB7HGWG0GjMWm3HUcWnKf.asIPfviYxPTMLXnR_uulE y8Xq8Sy91SCDA1Mkr6BSFGtexcXiRWpejzOTqivk_atNouiUYJym36laHtzQ QJiO2xDn84H90FJnUx4xhRueIQk2yrPesgdynR0WSABWE31.aSeM__sI5Dm5 j1gceiZVZx9ULUuUogmBclfCh3kvJ3ZweuXKBTT33QRNX4ezChqYIZ18.BCx OuHRwhm7Y1jReE68CQymrgZjj8l_QJwP6wo6HwI2ILIiiU5dTN_SFDT0e71n J0BchI67WoPLCpD3nGYiWNB1PvgdgE2xlSkFGaLHOx9WGPQ.9cwlO6RuVNrl CSwGw1K2HKFoYg1JN6uQAFaN_2SW6x_yw8Vun4TR8XW8YIKzl1fDedTQkRQ2 1zZoBFLIuwG5ZdTuELEXuRPWFk7_EEWjKXgm08S9ig2Pd1MRdN0EPsIQJWqY egHWrjDB7iXBh.DlzrAvIY25rQZ35aRXp98u18_v6Uh9HVQ-- X-Yahoo-SMTP: xcjD0guswBAZaPPIbxpWwLcp9Unf Subject: Re: Grant Table Userspace Device - Status Update To: Akshay Jaggi , =?UTF-8?Q?Roger_Pau_Monn=c3=a9?= References: <20160821155932.lzqkbldx3ihhccdn@mac> Cc: soc-status@freebsd.org From: Pedro Giffuni Message-ID: <16705855-ece8-1b89-a4d1-e5336312d808@FreeBSD.org> Date: Sun, 21 Aug 2016 14:42:35 -0500 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit 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, 21 Aug 2016 19:42:39 -0000 On 08/21/16 11:29, Akshay Jaggi wrote: > Hi, > > On 21 August 2016 at 21:29, Roger Pau Monné > wrote: > > > OK, no problem, as I said, it looks like this is some kind of bad > interaction between the grant table device and md devices, it's worth > looking into it, but it's not a blocking issue in any case. > > > Mhm. I'll first fix the issues in the xen-gnttab code, and then try to > look into the interaction when I get time (I'll get busy because of the > move, already delayed by a month.) > > > I've already reviewed all the remaining FreeBSD code, and I plan to > commit > it once 11.0 is released, so you still have a couple of weeks to > look into > the md issue if you want. > > > Oh! I thought we'll be able to get this in now. Well, on one hand the schedule for the GSoC is unrelated to our release cycles (features for 11.0 were frozen a month ago), on the other hand all features go into the development branch first (12-current at this time) and are later merged, if applicable, to a stable branch. The idea is to guarantee stability making sure the code has lived for a while in the current tree and has received wider testing. FreeBSD has a reputation to maintain and committers usually don't take risks. > In that case, I guess I should submit the links to the differentials for > the final evaluation. Let me know if this works. > I should clarify this, and it applies to all GSoC projects: your mentors should *already* have all the information they need for your evaluation. You are always welcome to continue enhancing your code and interacting with your mentors and the community at large but your mentor(s) is expected to evaluate only what you did up to the "pencils down" date. Regards, Pedro. From owner-soc-status@freebsd.org Mon Aug 22 08:14: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 4F7C1BB8374 for ; Mon, 22 Aug 2016 08:14:45 +0000 (UTC) (envelope-from royger@gmail.com) Received: from mail-wm0-x230.google.com (mail-wm0-x230.google.com [IPv6:2a00:1450:400c:c09::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 CD88A1C47; Mon, 22 Aug 2016 08:14:44 +0000 (UTC) (envelope-from royger@gmail.com) Received: by mail-wm0-x230.google.com with SMTP id i5so130347864wmg.0; Mon, 22 Aug 2016 01:14:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=McfL+AI2FUIMIa52fFd2vn/S1TVB4b7jg6ovyYsBNH0=; b=zQf3M/k8p/euigKPRLp0clqVe50q6ZKxpQakkjksNgQA3OcC0wMw2qoYwgrQld8bj9 A/WQTOTdwXAGkstFrj0aoWNy3LrNE5WX60TWelyyu9lT0CTETGhP8XgyQJd63AT9F/Af qkMftV7phJqv4sYZUnWV70psRb9XWayo2wrsGssPSFBQjmRVS387brctj6SzqBLB66pz DQnbhNHYBxw48Ob3f1CxRAwzAD3VunSI9ek7Jgr2wYbuu3uHuilp+J+ufF8NNMH7qO1p OQouTNyLxZrkZBmN4sp0phDSJgOcEiiXbIVZr9sTWtZYsZyf8evkxyE36ztYC3Iot9Nk CSGA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=McfL+AI2FUIMIa52fFd2vn/S1TVB4b7jg6ovyYsBNH0=; b=FBtjwBtzoI7e9+xbjFwln7I/CbK7ImrPDvt7G60INZmrlcCIWwVyJf+oM2DUojpEt7 3Ljf+gLUWOBwKrJz7GCEnMUcTOrsXbK3Jg7UoCSO7DyPdq6jKA9GNY5xriUpnv+445CK VTFbT4Nolfyy7SqsKGQMmhk0n0VT1QyElFpbJTvJwwpzNw9WPJNDbBI9QwOUMs8IwQ/q ddbWtmHK7PGig38dIhwnaxU2Cvo4ZYg7eLYM841wrfBwA6qpy/mmWA57Y5stjjgVzE3B 4fm5Dr+EHTLw1Zrn5RxnvlP/Db/IG/RpcX71zDRoXPOrv98aJBOVavsFjz4NJljDZ+8T B4OA== X-Gm-Message-State: AEkooutJg11z0iOPT6O8CM5KPQ4kI/ELJk0Njf0rYeRM0ZsL917i+H2NgIKho0qTot0A9Q== X-Received: by 10.194.161.70 with SMTP id xq6mr19162972wjb.189.1471853682831; Mon, 22 Aug 2016 01:14:42 -0700 (PDT) Received: from localhost (254.red-83-52-199.dynamicip.rima-tde.net. [83.52.199.254]) by smtp.gmail.com with ESMTPSA id a194sm19764265wmd.24.2016.08.22.01.14.41 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 22 Aug 2016 01:14:42 -0700 (PDT) Sender: =?UTF-8?Q?Roger_Pau_Monn=C3=A9?= Date: Mon, 22 Aug 2016 10:14:37 +0200 From: Roger Pau =?iso-8859-1?Q?Monn=E9?= To: Akshay Jaggi Cc: soc-status@freebsd.org, Pedro Giffuni Subject: Re: Grant Table Userspace Device - Status Update Message-ID: <20160822081437.6sv6tc7rl4nbtkje@mac> References: <20160821155932.lzqkbldx3ihhccdn@mac> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.6.2-neo (2016-06-11) 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, 22 Aug 2016 08:14:45 -0000 Hello, On Sun, Aug 21, 2016 at 09:59:00PM +0530, Akshay Jaggi wrote: > Hi, > > On 21 August 2016 at 21:29, Roger Pau Monné wrote: > > > > > > OK, no problem, as I said, it looks like this is some kind of bad > > interaction between the grant table device and md devices, it's worth > > looking into it, but it's not a blocking issue in any case. > > > > > Mhm. I'll first fix the issues in the xen-gnttab code, and then try to look > into the interaction when I get time (I'll get busy because of the move, > already delayed by a month.) > > > > I've already reviewed all the remaining FreeBSD code, and I plan to commit > > it once 11.0 is released, so you still have a couple of weeks to look into > > the md issue if you want. > > > > Oh! I thought we'll be able to get this in now. > In that case, I guess I should submit the links to the differentials for > the final evaluation. Let me know if this works. I don't think it's required to have the code committed for the evaluation, in any case putting the links to the review is fine. > > > > Regarding the Xen code, I'm not a maintainer of the library that you have > > modified, so you will have to wait for the Ack of one of the maintainers > > (next week is XenSummit, so everyone is probably going to be mostly > > offline). > > > > Noted. > > > > > > Thanks, Roger. > > > > That's great. I'm happy that everything works. It was a great and enjoyable > experience working on this project. Special thanks to Pedro and Roger for > being there whenever I needed help. Hope you enjoyed the work, and I certainly expect to continue to see you engaged with the project! Let me know if you would like to work on other Xen-stuff, or any other areas of FreeBSD and we can certainly try to find something. Roger. From owner-soc-status@freebsd.org Tue Aug 23 08:49:22 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 60737BC18C8 for ; Tue, 23 Aug 2016 08:49:22 +0000 (UTC) (envelope-from shivanshrai84@gmail.com) Received: from mail-oi0-f45.google.com (mail-oi0-f45.google.com [209.85.218.45]) (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 21F941309 for ; Tue, 23 Aug 2016 08:49:21 +0000 (UTC) (envelope-from shivanshrai84@gmail.com) Received: by mail-oi0-f45.google.com with SMTP id c15so187030720oig.0 for ; Tue, 23 Aug 2016 01:49:21 -0700 (PDT) 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=KVYB7RPmWsqhLPBzSXZnE/gmezt0hd5sn94EG/TOQ2s=; b=IvIfpYYOvz6jnWWQz0roqrL4PptdxmNpWOMMgfthS5+9LQ2p7yo2II0HmCGbBt3boy R+j/a/SsWGpgldZX/NGzFGUosEXEXdSJnUBWZKgH9uhdHrImQmgWXEIdd0NfpmyxuhAs t2kBHJTs3a3qpBMg9GKQSV8DoH3xTEQ6FncOQHt8j3jDjsjKy9TDjXaNfCo4bZ4sTNMK O2QW1OdmPVaB7W6Rigx39xP5uO7RGl5TK8nsnRpijCxKzexa6mwYKACIV3jSqb+a7IVE 8YaZR8Ya4MSWhmTNkk9vAF+lxTAEqn8A6H19HAAIOiufrKFsJS3RqxZjx3o/5v2U/Uf4 VcUA== X-Gm-Message-State: AEkooutT18dWDtcBNkxB/iW3enqRl/XpjI9xh517yl17oXi3L9vzDUZwSqabv7X1erGAjA== X-Received: by 10.157.43.21 with SMTP id o21mr17234435otb.23.1471942155475; Tue, 23 Aug 2016 01:49:15 -0700 (PDT) Received: from mail-oi0-f49.google.com (mail-oi0-f49.google.com. [209.85.218.49]) by smtp.gmail.com with ESMTPSA id v130sm1220002oia.10.2016.08.23.01.49.15 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 23 Aug 2016 01:49:15 -0700 (PDT) Received: by mail-oi0-f49.google.com with SMTP id c15so187030323oig.0 for ; Tue, 23 Aug 2016 01:49:15 -0700 (PDT) X-Received: by 10.202.199.197 with SMTP id x188mr13978995oif.180.1471942154778; Tue, 23 Aug 2016 01:49:14 -0700 (PDT) MIME-Version: 1.0 From: Shivansh Rai Date: Tue, 23 Aug 2016 08:49:03 +0000 X-Gmail-Original-Message-ID: Message-ID: Subject: [GSOC 2016] TCP/IP Regression TestSuite 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: Tue, 23 Aug 2016 08:49:22 -0000 Hello, This is the final report on all the work done during GSoC. I deeply apologize for not sending progress reports during the past month since I was down with jaundice and had no internet access at the health center I was admitted to, however I kept on contributing to the project. I have informed the admins and my mentor regarding the same. I have successfully completed all the scenarios mentioned in my proposal, and have added a few additional scenarios too to the project. I will keep the Project Wiki *[1]* updated with all the progress/contributions in future. The latest code is available here : https://github.com/shivrai/TCP-IP-Regression-TestSuite *[1]* : https://wiki.freebsd.org/SummerOfCode2016/TCP-IP-RegressionTestSuite Thank you. Regards, Shivansh Rai From owner-soc-status@freebsd.org Wed Aug 24 11:57:09 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 54C4EBC4852 for ; Wed, 24 Aug 2016 11:57:09 +0000 (UTC) (envelope-from starak.adam@gmail.com) Received: from mail-lf0-x236.google.com (mail-lf0-x236.google.com [IPv6:2a00:1450:4010:c07::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 D08B71E6E for ; Wed, 24 Aug 2016 11:57:08 +0000 (UTC) (envelope-from starak.adam@gmail.com) Received: by mail-lf0-x236.google.com with SMTP id l89so10108600lfi.1 for ; Wed, 24 Aug 2016 04:57:08 -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=Uv+pGS6EKL/UiV5vuDe3EWB6IO1Lqm5MQaFIn2NwXAs=; b=xxBV14eWXeMRVV+CJcDfX2N/qpyzanc2IWy3DWDBhKk1wuNruzbTE0w/FL9ydGSlh9 Xena3W/mIbChUA4v4diimZl7jkDf3WQtlu1WHCr9eHG3+hs5OsAtXHIfBHQGxRRu2YcV ltcnDIhwWsQoIZcJq3Q0k5OB80p3YszGU5w6vCCEif0H9bd9CyNYHmY05a7Nfopt+UUE 04Y3RorntsJmlxBHRHKLNDfPPUcWkeipxTDgdTNnvrLELcfspDUDa+0Mz8YBbr9ssMqu CdyHLsSvS28TfxkJ2WWAJ1tRLo2CG5kO4ldmdDrfh3YhtRCATqsohkyNGzX7oQKgCNtb kUtg== 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=Uv+pGS6EKL/UiV5vuDe3EWB6IO1Lqm5MQaFIn2NwXAs=; b=NVaWeg+E2Q+/n0Wc6F3VmaLhHT2L2hWT7sT9zLkUkIOXGvCBRGMbl3KvO0wV/fiHnu cvBos7zoOvmm4xDaiWJhhhOv3c3mI4e/PNx/IJn3gcSdrQ9H5A9NbPHKPz8DF0QaH7Yb g2n2RnbFsqN5TC8UJUaKH84S6IrKtCHprY99MWFd6Duu0al0DwuP+SxNYW72b9GNdg/K gQSLdnqKbkYboE4n1K3D+6uJHTbjAZkn49axspT7SyePH3pSy9XhikIRbpqMalkiiAow Kixw8l+fllc7itpMA0AteEoL946z7c4debwxrswJj4we4gXTfRqNniqPRmIc+UzUlEKS yBPg== X-Gm-Message-State: AE9vXwNOmoR5H2KS9ZgT/iQKfQzqwlnxGuFiXe/ibwo2Wnh4oT2lO+N+1aBe4XI79PziBCsEF8tgmB3CJsZb5A== X-Received: by 10.25.21.32 with SMTP id l32mr844205lfi.158.1472039825384; Wed, 24 Aug 2016 04:57:05 -0700 (PDT) MIME-Version: 1.0 Received: by 10.25.29.193 with HTTP; Wed, 24 Aug 2016 04:57:04 -0700 (PDT) From: Adam Starak Date: Wed, 24 Aug 2016 13:57:04 +0200 Message-ID: Subject: libnv improvements 13 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: Wed, 24 Aug 2016 11:57:09 -0000 Hello, Last week I was struggling to make libnv available on ubuntu. I also refreshed my project page and added some minor changes to manpages. Best regards, Adam Starak From owner-soc-status@freebsd.org Wed Aug 24 22:33:31 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 5CE03BC5376 for ; Wed, 24 Aug 2016 22:33:31 +0000 (UTC) (envelope-from shivanshrai84@gmail.com) Received: from mail-oi0-f52.google.com (mail-oi0-f52.google.com [209.85.218.52]) (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 2B8D31F24; Wed, 24 Aug 2016 22:33:30 +0000 (UTC) (envelope-from shivanshrai84@gmail.com) Received: by mail-oi0-f52.google.com with SMTP id 4so43617411oih.2; Wed, 24 Aug 2016 15:33:30 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=nZIlWQRCOJyRgknEvzC0Jk8N4zRnO2JOcemSpcyc/YM=; b=J43HreDdPKj2ndn9T2w+XGXpmgE8kC0hSV8WkDUo3NOmYhXMKidAqmbhZx6oee2EJT ISFI1D4vZCUot6X34TRaMusnYQHTooUOfD1XPqzPXJSHHpYPnAqHdaHK41off+RyRP5O qm4hOxpRe6QgAV+aYkqGHh7y4JVgeclD17eCImWDGWK012cGjtAss3h+Y/Gn/z90yPoL xm1PWOMYDeGPZoLVjjDsxGAKLfOH1IEmhjvCP9VynDggrW/nvI6Uo4BJJzAJmv9ANJIa bRAkI9TWkdjqY8SpyTfdHjTqOXDJFkZW4eapTJTa3M0IxIlvv+uB9ghvMK0K8+jZmUlk L9YQ== X-Gm-Message-State: AE9vXwNVlD4ogyX43h5rDiJE8l9wIs/SFJWMdjVJwbffL/J5or1LzbpDMXxmXqBBWG1rGg== X-Received: by 10.157.54.152 with SMTP id h24mr4432365otc.132.1472078003619; Wed, 24 Aug 2016 15:33:23 -0700 (PDT) Received: from mail-oi0-f44.google.com (mail-oi0-f44.google.com. [209.85.218.44]) by smtp.gmail.com with ESMTPSA id 8sm5054728otr.17.2016.08.24.15.33.23 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 24 Aug 2016 15:33:23 -0700 (PDT) Received: by mail-oi0-f44.google.com with SMTP id 4so43616953oih.2; Wed, 24 Aug 2016 15:33:23 -0700 (PDT) X-Received: by 10.157.31.109 with SMTP id x42mr4173957otx.105.1472078003028; Wed, 24 Aug 2016 15:33:23 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Shivansh Rai Date: Wed, 24 Aug 2016 22:33:12 +0000 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [GSOC 2016] TCP/IP Regression TestSuite To: "soc-status@freebsd.org" , hiren panchasara 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, 24 Aug 2016 22:33:31 -0000 Hello, As I mentioned in my progress report, the tests for socket shutdown were previously failing. Hiren helped me figure out today where the problem was, and we have fixed all the tests. The result which we finally came upon is this - After a call to *shutdown(sd, SHUT_RD)*, FreeBSD still accepts data segments (and sends ACK) but discards them. Details are available in the test *[1].* *Updated tests* : https://github.com/shivrai/TCP-IP-Regression-TestSuite/tree/master/shutdown#tests-for-checking-behavior-of-socket-shutdown *[1] : * https://github.com/shivrai/TCP-IP-Regression-TestSuite/blob/master/shutdown/shutdown-rd.pkt Thank you. Regards, Shivansh Rai On Tue, Aug 23, 2016 at 2:19 PM Shivansh Rai wrote: > Hello, > > This is the final report on all the work done during GSoC. > I deeply apologize for not sending progress reports during the past month > since I was down with jaundice and had no internet access at the health > center I was admitted to, however I kept on contributing to the project. I > have informed the admins and my mentor regarding the same. > > I have successfully completed all the scenarios mentioned in my proposal, > and have added a few additional scenarios too to the project. > > I will keep the Project Wiki *[1]* updated with all the > progress/contributions in future. > > The latest code is available here : > https://github.com/shivrai/TCP-IP-Regression-TestSuite > > *[1]* : > https://wiki.freebsd.org/SummerOfCode2016/TCP-IP-RegressionTestSuite > > Thank you. > Regards, > Shivansh Rai >