From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 4A2F5A034C; Tue, 30 Aug 2022 14:53:50 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E09E840F18; Tue, 30 Aug 2022 14:53:49 +0200 (CEST) Received: from out162-62-57-49.mail.qq.com (out162-62-57-49.mail.qq.com [162.62.57.49]) by mails.dpdk.org (Postfix) with ESMTP id 2EFE740F17 for ; Tue, 30 Aug 2022 14:53:47 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qq.com; s=s201512; t=1661864025; bh=6rmU/HHM4Qq2lIrTT4CAkeTcTEu8dS1U7TofuNdyD6E=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=b5zPFXsydq987OlaEcd9QpTyb998ke2IkdBOcuDTYgLOgc2a8DFvcbv6WjLq5OfQU C0oz5zAtocV6MKpXRyybB3vyqcGrhBz8eKTuUlr35NBMIS5/ufTNiNIJnqtUmVXikq YlXAyxx2PpQPw33FqtYW1TEA8n46Rp3aAh9cnNtw= Received: from vscode.7~ ([222.210.154.127]) by newxmesmtplogicsvrszc8.qq.com (NewEsmtp) with SMTP id D651E625; Tue, 30 Aug 2022 20:53:37 +0800 X-QQ-mid: xmsmtpt1661864017tsvfo7p54 Message-ID: X-QQ-XMAILINFO: MmpliBmRb3iC3HPLNqnF4hnfekNXHLB6SW8F/2BGg9z7Kt0LOqea/3xPlkC/vH JJQzrbJ/FbqYCwMQ7Jzn1UXoQOoEy7O2NxMS9dZO7vTQVGsOR+Yxx4P6l4UGJYqSpCohQIDqpbEx 4h4wxene+jdZE+6L0cO4qFgWyJnSUR5PqPnZQPkB79zsh7J7CghPU0JX3WXQw6UutpoZkYCrTKY6 4GIDG+nxOBDDA43hg3vFFXNAeWRQPIfKGDhBSrvKezY4VwyTj2HtKHLmoGiHphNhxKT1jJ+Jr/BQ 70j4KMIvrNy+EO9gEDpR/w39WfR2NYJWRCKougDGdmQpZ8r9UT+Un/oYdN3+rO8836Lli/YGQDUf RrcUEJhXuaZsyXfDiNQMSyVflRO7XFoKbp8qhugBZcDCDNe3qrNXB1Ui2pCPAlOOqLISJ6kssq2t ZVnggbpQ4HmHcS2cjCTRfbLskhPukVBEmN01OmccFaT708sC2fUac0DvGhr3ykaSyOQmZB3D++wO 04krU9F0u+yzitd9n2tw0r9lUf2cOhEy4qS/mh2zwBoPM0278j3/I2aBrkqfFLoj2PPw5fIjO+Ts VqynbgjBmJPjDdalmBMaYOK33mabE1AoZGLHGW9jsZoniQHiYd6qOvG2Jl4mEtlCJCx2DR77dz3B VFFuS6cW4UqjJVYlYJruyQfaonEC4OZdUnqsb1Q6eoVJpGxH47ZaZYFG9kqn3t6pyXfglo3Gdr+c CVL2RHkbYcdf1j31ij9/esuZXOdXSWu8gv7KqFouIB/PhEBds3iOeBeFgkb6UT5P1d2UMZ02vma2 wfA7wJAWAXqwQFf++acHoT2Wlfi0+nDWrCZrZ9cPtv1fQy9gruO4HgRS6/aCwDLpo0W+72oBNYoL BeBBsy6B3UERFoqESNkuPSSLr2muwLyxoHR331rEEVScMnrUWo9Gg13ABMmoG1l+qbLeDZHISfuy a6UCYPOGCkmydXAynkUhY9F6WfRh5OkkxZ4hTFaWmMKOdP81cFAt8GyoN713tj Date: Tue, 30 Aug 2022 12:53:37 +0000 From: lic121 To: Dmitry Kozlyuk Cc: Morten =?iso-8859-1?Q?Br=F8rup?= , David Marchand , dev Subject: Re: [PATCH] eal: zero out new added memory X-OQ-MSGID: <20220830125337.GA28832@vscode.7~> References: <20220827175654.7a167eaf@sovereign> <98CBD80474FA8B44BF855DF32C47DC35D872CC@smartserver.smartshare.dk> <20220829154925.6575540a@sovereign> <20220830135916.12c5e836@sovereign> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220830135916.12c5e836@sovereign> User-Agent: Mutt/1.5.21 (2010-09-15) X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org On Tue, Aug 30, 2022 at 01:59:16PM +0300, Dmitry Kozlyuk wrote: > Thank you for the most detailed info! > > 1. If you run the poisoner program the second time, > does it also see dirty memory immediately after mmap()? No, running the poisoner program again doesn't show dirty memory immediately after mmap. I assume that there are some differences on how my poisoner program using hugepage and how testpmd using hugepage. I notice that testpmd leaves some files under /dev/hugepages/rtemap_xxx even after testpmd process exits. But my program didn't create any file under /dev/hugepages/. > > 2. Kernel 4.19.90-2102 patchlevel 2102 is very high, > can there be any unusual patches applied? > Your host has "compute" in its name, > can it have patches that trade security for performance? I may need to talk to the kernel team. Indeed, I failed to reproduce the issue on a Virtual Machine of kernel 4.18.0-305.12.1.el8_4.x86_64.(2M page size insetad of 1G)