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 43F94A034C; Tue, 30 Aug 2022 14:47:21 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E115D40F18; Tue, 30 Aug 2022 14:47:20 +0200 (CEST) Received: from out162-62-57-64.mail.qq.com (out162-62-57-64.mail.qq.com [162.62.57.64]) by mails.dpdk.org (Postfix) with ESMTP id 59FA940F17 for ; Tue, 30 Aug 2022 14:47:19 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qq.com; s=s201512; t=1661863637; bh=TOP9nax/8VYkXQfQsLHvWZoC9d+sLOZsQD9xPyQdznw=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=MXmKEPn0m93pmJ6Wdez6E+z15a86XLu8NgefcvVcwr3f0+y2q0BgYWkfnyzNQnkLZ IG/xJdutdmjfGnYp0aMTTWGN3nxWdiHJ6JFnh/O+2dSaqhWq3V8umcuFK8NsdXHp80 r0YYDShLRyL2c1Sxkb41l9wOQrqWG0q+c8ocnhoE= Received: from vscode ([222.210.154.127]) by newxmesmtplogicsvrszc10.qq.com (NewEsmtp) with SMTP id BC8B4056; Tue, 30 Aug 2022 20:47:08 +0800 X-QQ-mid: xmsmtpt1661863628tadpy40j5 Message-ID: X-QQ-XMAILINFO: MmCmH9jyqHC2lLrR1bJvTRXXK2Aa+NopM2IDqMitqf2wHaAOnNVlSwuv0wjzv8 c0EXnGOjURIPOMYtEbNmrHT24AhsLOeWYTV34cH/2N+WgY+RSntvwoZv+SjKUO4+FWdptK64stAn HIi/xtz0Lr1phQrLw23I9h58FlX0xEmMhayfP/FQ1DnZ8bfAB7I71zDuKWx09lh+1QSkmyBEqM5A IYWTfgUzK3EcoEAPnRqQooaTtam8OU5Rucwci9adpxnVZQi4mTWp7UE0bcv178SEdQFc47WU2Oyg 5mgOo0pZO9Pf0y86suPCIJUFTiUzQWRIaLR6Z6R8/wi9Xb+xm7PMTXw05X1Tc9RHHGJ0gSrFwtoU mHjmmXhrpWGQYi6x2Al3qeQkiw2CNr8h/fxstJS+XUifTGyhkCkRrx+ouxXZ8bZqIFZt3y7TtOI4 U7Ksr9kq97BpWSQ+G9zb5GVvhANm3mhi2CcCp7q8grdo62vMu/GfkwJYkcxFTrXJrniBf+qy2D9N DssMED/e6pFETcK05679ZE4dUGE84rT0oYhvThlMinW/WJTKh9ZzAd5b1VMN3ipdcOi6mKMK3CwD gR7/+/zvyj8W8EgpileFYtyiJIt3uKxWk+IbqXDbLokiTz5SKPfJbLXFIf3QTpMlgvKf6hg+A9Uv DZF7rOmmvSATyvZRS74W1SbrjBpHlui1FHQDoQzbsNo3zxbE8OzpvFis4Un+gf79aTw2TklkiuO5 +MzBYr4qOaPrV0mH6Mylkui9FlNSn8g1tofFXdQ4xnCGIcExSM9icXx+hse9Ttsc64ISrOErSNlz Q8qb2MJV/RNXzAFtg9bE2sdyEWVLQy6C2/znzUB/2cIxiPCwNN6vgpXTeYbsuHox80GgyijCzzO4 tv82y+NtkFga0ULjOSwsgDtOlA4SweTJAKQ8kwwsG2rLh4XyaD1pLBvc9q9TV4Ka8ymV0HWqaUmC 3aca/vV4zwzHcsyzTu+g== Date: Tue, 30 Aug 2022 12:47:08 +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: <20220830124708.GA26364@vscode> 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()? If I run the poisoner program the second time, no dirty memory. There could be some difference on how my poisoner program and how testpmd using mmap. Because I notice that testpmd leaves the hugepage files under /dev/hugepage/rtemap_xxx even after testpmd exits. But my poisoner program didn't create any file under /dev/hugepage. > > 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 with the kernel team on this. Indeed, I failed to reprouce the issue on a virtuam machine of kernel 4.18.0-305.12.1.el8_4.x86_64(2M page size instead of 1G).