From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-BY2-obe.outbound.protection.outlook.com (mail-by2nam03on0074.outbound.protection.outlook.com [104.47.42.74]) by dpdk.org (Postfix) with ESMTP id C54772BC3 for ; Fri, 23 Jun 2017 12:07:30 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=vflmqssVY5rcCQYYTzGYmNk+VeSGlxz5XOZGsBtrFZE=; b=l+y4Rnul1tgp5tMVerExkORQC/OcVqS0ZXFKKSFDYHwSjIXk7XbbbDsoz6ez3s7w3d97zP9vbN+klYsahODC1MGrgO4wgOyCw8bwB4YSWG06LxPG50GPbyu3xWJwUfGYXXQJEySOVB4Q68TXDxQaZHSHwsh7vwqfhwTbt969eGg= Authentication-Results: 6wind.com; dkim=none (message not signed) header.d=none;6wind.com; dmarc=none action=none header.from=caviumnetworks.com; Received: from jerin (111.93.218.67) by CY1PR0701MB1728.namprd07.prod.outlook.com (10.163.21.142) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1178.14; Fri, 23 Jun 2017 10:07:27 +0000 Date: Fri, 23 Jun 2017 15:36:44 +0530 From: Jerin Jacob To: Olivier Matz Cc: dev@dpdk.org Message-ID: <20170623100642.GA25523@jerin> References: <20170605163807.31941-1-jerin.jacob@caviumnetworks.com> <20170623114230.54dadacd@platinum> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170623114230.54dadacd@platinum> User-Agent: Mutt/1.8.3 (2017-05-23) X-Originating-IP: [111.93.218.67] X-ClientProxiedBy: BMXPR01CA0043.INDPRD01.PROD.OUTLOOK.COM (10.174.214.29) To CY1PR0701MB1728.namprd07.prod.outlook.com (10.163.21.142) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: cb792552-fe68-4f0e-2e4e-08d4ba1fa7f0 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(201703131423075)(201703031133081); SRVR:CY1PR0701MB1728; X-Microsoft-Exchange-Diagnostics: 1; CY1PR0701MB1728; 3:aqD0D3W3Sp4S1ZC6PyS7CXmoLkUslyrCWmjclrmucjvup4/skPNGBdpR4FW8u+eXhFOWY/GRD5YCnS9swjRw6Ki8atVfFsUEXMuEYXUIh/WKbMVDy02cT805ovfucYwpp17kFX55i/K/aYMCu4uVLe3zmAtt/iCf2WxS72pJSpLE5tlIFpufuKMik+fzjMgWF1ammpHo0tMQaQinwoN2x9ZwelDWFI8kLyjkKEdO+qum7p6dkBb/PGtr+simeoF7NMFaP4Qqg+OuY2u+GVy/jMDKXIeiaza2pji2FvBTyyvT9Y6Ceh4P+Jndk4/XCNQ9LqzRtGnTDUCc7LkHsZx3yA== X-MS-TrafficTypeDiagnostic: CY1PR0701MB1728: X-Microsoft-Exchange-Diagnostics: 1; CY1PR0701MB1728; 25:/Jh8NrnM9JTWciWN2iI2fpNWCWkfbU8edqffNmD8/O2o1HhJfyJk5yvSqck06GM1VtpD5XGnjm5t3OsKu/3KTBe4Z12KfYMQleNKg3RXixSdmfRjS2LOUo6Ddi3I5MGtMoP3KpxSRKTq5tpg9BkcIUgfrrjxqSc2eP8YknDDiJhoG0cgJ1lKDlqYPhMPADgUdI6Oqhi1jPibAgRdjgyAA//eLZ3JWVnna0ur2tZYfpwpD8s242jrJ5pHGZAGlJyEup465mI4PtcomecosOnafZzflwO0fvcYMu2qngbYeFR+Moe2WxGWRG3kqrZ2CoGYH8lwtxAqeNNGvhcqInFiHuOn0IQucnbMgJsjDo92wSuwOgrSCw4X1K0L3/GB5e8zR6oDPUIp0MEsTqMjOSLr/h4RWGdfDZs657W5HJU3OIyS+Y5n+bFgh493L3CdjMoyDyElqZdTKpKkdALJJpeYU+gyHvijccak2EKyK9QiDcO0l+QR+w2zch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RmOArqh9/HDwGwRsPaPFnDPy7JZomu+CiF/aG2n+PDBzMYr1f5QpUT0mmJK4TCDVfQ5sknmHdR3ac0hI0doZTcjBaQD10A2O/xE9u1wwuOs5NZtUH+4imp8h0qQ== X-Microsoft-Exchange-Diagnostics: 1; CY1PR0701MB1728; 20:Z0xphW6zGLC7+hs71uJWrE2b21dfPY2yp+z8sI08QmmwDocHJPYOGDMBTZtHXDUpNh+fpxFvMEPZZr6a6/0hVLkseoqUqJND5ZOQrIxwAk4O30b0Kuu/j9jq8bXN+hxWLbqHoo5UlPoCXrgcvYRhF/HNzT2hzU1elKV7HCr0ucbWE0cR9QMgfeLiQm6zIWRgZGbnpqVpUkpqqOdo+S3RHk7GaGNfSGiKCDFEy3DWHpikC5jpTAGyctuCZQkSYcfCJxSTjOVsUD1ALPDXyZ9DFbLeiH2yzGoFpQBf4y4YA+VbTlNFAzeXMGZ0S3mCEVidJxhkBKqdgXUeNS5NrU1/bwlEIZZCkRajX7i3tgKjIKbNx1n8WoNj8Qfeh66nujGRIgbCihDZ4eytwf80iMiIhE8H3slufx0gn+XNpvQq7pZ/PLliFMFPWNpq5gr9HK71Tuig5qtO9+JzsIGU6JD/tTCAkgI9cZNAE/QJiP5/FK8A51qIlWjJ2TdfoWTp0J9yhrAwTj40eGZfGNgbqqFTgq7DS5+v3WiOAsWKXBUbUIEbSTTETm624nqZBPOll8rsriIXNL3FS2C1Ln55yoqW08vQOyX15c2sJugtTAfBUds= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(5005006)(8121501046)(3002001)(93006095)(100000703101)(100105400095)(10201501046)(6041248)(20161123560025)(20161123555025)(20161123564025)(20161123562025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123558100)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:CY1PR0701MB1728; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:CY1PR0701MB1728; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY1PR0701MB1728; 4:hZvVed5jX1l1mV2zb45sM1dojC9tHFRQ+EVVtoNk?= =?us-ascii?Q?Aoh1DZuJ3BQ3db6otluuZmW3NbkUa1N4YtSEuDBlt3h6eoIm0GXISrYXqRYV?= =?us-ascii?Q?jnhIpop1z0ZDrgq/Hr0XqaN8OxoLLA+hYKr38mNA+hnjqFDlmhweawmUyKJu?= =?us-ascii?Q?fIkrVMkWKY9JkpglA1aGCD7hEuLeU64TVChZcerBSg46YhW4MTmwRiSKuf5E?= =?us-ascii?Q?2nXnM5EhIyuAn7UoJ0Jn97RBHLgZU9QYwTxmj3+q+h8t/AvAUpokaEJQxy40?= =?us-ascii?Q?+yPqPamcT3uKePc3DCz37hBRYqXtVqXzezl2HsR+hZXNeas3UZdeCTFjeqMh?= =?us-ascii?Q?cBuN3lWGXJA7jyto9hZZxggMhUrmMkHAqikri07eZx4Pxpju7GA/w//7tiaj?= =?us-ascii?Q?lEbjcCvlO4yWL32qJ0q1A4+ZeE1I31XMI0Q9aODqe0I8RsN6gg4T0O8tJZva?= =?us-ascii?Q?klpFQVzwmt19XP/+zTUPoTZvwiOo60LK5CW/ZqbWr+Fcx4hq8wjDu2S7grPd?= =?us-ascii?Q?+gtu+z8nDgGxzQj0kdqbJlZ3WgRJLP2tUYzN921f8i8YkuTWWFCkSujmwePF?= =?us-ascii?Q?AZnWGA/R5eV05e+scWvtwYXx1nr0M0Va275ChCmGf6lJzTBUWlc8itAosy6G?= =?us-ascii?Q?nE9YzQYK8nz/0QiOPcPfsyzHm0XpefRteo/dEDJ+chHSRJJ18ywDBoS/u/5t?= =?us-ascii?Q?i/7+NMxlRGcrvW5eVNfIbJmMUcMwaNUXTjciY5svdLYP4zhFQfBLBdKU3tFm?= =?us-ascii?Q?UXNVswmf6HK4xkz5FJlJxjoDw9hhRTy8YLCebIrcqG0GUujzQXwbT0dJClcY?= =?us-ascii?Q?vAV8A8ZCSRDsjXjVCXcz00ns4H29HqBBt+9Rs2AZ+DY2RCQZ/e6pXqgL5Gyo?= =?us-ascii?Q?/0MEkb0ujW3OEOEROXxrelixhN5UcIIV1UhOoApQ/Tp0rMEBJvlEeuOHsGRe?= =?us-ascii?Q?rAFvYnXgDep3efr8hg0IKk+OQZRuiN9Pb34aL8g2Zqa6CELhTbW4PY6R6PYg?= =?us-ascii?Q?U9kxqPZ/IriRjzhshH7WVAg3hpN4580pSYpcna0l71mnvnke3HK52mD8rrof?= =?us-ascii?Q?gRx6+GfKyJq5Rp2nqwgCKD0MdjWj51/3iPL1kbD3XDo1NMagcvu5WKaXTzMi?= =?us-ascii?Q?t4usK8sCsOM=3D?= X-Forefront-PRVS: 0347410860 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(39400400002)(39410400002)(39840400002)(39450400003)(39850400002)(13464003)(24454002)(42186005)(3846002)(4001350100001)(5660300001)(50466002)(55016002)(76176999)(54356999)(50986999)(53936002)(33656002)(6116002)(2906002)(229853002)(81166006)(8676002)(23726003)(38730400002)(5009440100003)(110136004)(6496005)(6666003)(83506001)(9686003)(6916009)(1076002)(25786009)(7736002)(33716001)(72206003)(305945005)(47776003)(478600001)(189998001)(2950100002)(66066001)(4326008)(42882006)(18370500001); DIR:OUT; SFP:1101; SCL:1; SRVR:CY1PR0701MB1728; H:jerin; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY1PR0701MB1728; 23:T3aRwK3BTmnCInxWXHV2Qn+E2Jc8oJU230zbGp1?= =?us-ascii?Q?YdtF1M2XmYCtgdUe2Fy82r/IQcMYMwUIMq2PQIcIv4mgHwkuw+8tNJXJlXbV?= =?us-ascii?Q?d8PG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HYWak9ZFyL1p4963zDnkPhaSRNk/DQAWAxoVudGIE3mFKyrSMeu6iKROU+GGMCi8mAyq6kwOXU7HoRckUTgd9CGPef/g0HwP7lrpSHBJ2k= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; CY1PR0701MB1728; 7:TPniHam7uXZYGr0xRoU19TxapsI3REwSP/dF5kxhhiVOcY4VoATDL0BEY/nBPJRJNGqG+KKwdBawgCuLoObPOZcBQeJ8MBETeV9gtKjqQ1a/ciFH9mvx1sbdOJm64AUR1aKukDUnCqfkYRxqcxuiCuo1VgvECM8Y8/7F/7cu/5GCiRwYsIw5JuLHFAyYURdGmtaxPk+fuZjDA2TgkyDIdN2/mpObFCpodrbeeLIFQ4wWninxPEDBA4W5UnvN3T3nulKKO092blDLYR7XkuIX9dpPhiIUbhYc7DRjxAu1hh4Q3GYglWMrewQZEHaqBdWwpk/VnhgYm2/VUrohnJK+l39Ynt6KfC8M5AHrkaEM3I3+ay+Mwfv64wCDOFVasNcFg8vPUFQUb07jwp+CsCR1HUs/Xenk/uY/fIKwdDPXMe7Bi8S4tsJNH9gXfD16ZdyXq5RxGlX3qHGGZclrHcpkeenELgZbG7yI+sez56qrBtvVfOlTJLlMhI+cR4Enu0iALWry4vv37ivNUnvQfgr5eSQop4ei0O2UI/iLq+EcJurKYkixrPAnLi3Ood2oLkMVL0ElO3p6cN709pkfc0Ah5qRL/plKhDbJzwRf7kSJ+LE2hhA5s39ypnzWtPeeyJfwkgSr8S75CRM/wnudxxhD/6nsTqW6K9yKYAniZNvk9r8xfTNWwB42l9vwjJs3VXuESRKzP5aVT06XibLgRbs436LaBADuOUeyy7wat9w8MdgNxAm4MPlH65yf91OF64PvLpApn279g6GjanRMNif7gkCcsWWP7WoqM/s1e4kpP/E= X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Jun 2017 10:07:27.5989 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR0701MB1728 Subject: Re: [dpdk-dev] [PATCH] mbuf: reduce pktmbuf init cycles X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Jun 2017 10:07:31 -0000 -----Original Message----- > Date: Fri, 23 Jun 2017 11:42:30 +0200 > From: Olivier Matz > To: Jerin Jacob > Cc: dev@dpdk.org > Subject: Re: [dpdk-dev] [PATCH] mbuf: reduce pktmbuf init cycles > X-Mailer: Claws Mail 3.14.1 (GTK+ 2.24.31; x86_64-pc-linux-gnu) > > On Mon, 5 Jun 2017 22:08:07 +0530, Jerin Jacob wrote: > > There is no need for initializing the complete > > packet buffer with zero as the packet data area will be > > overwritten by the NIC Rx HW anyway. > > > > The testpmd configures the packet mempool > > with around 180k buffers with > > 2176B size. In existing scheme, the init routine > > needs to memset around ~370MB vs the proposed scheme > > requires only around ~44MB on 128B cache aligned system. > > > > Useful in running DPDK in HW simulators/emulators, > > where millions of cycles have an impact on boot time. > > > > Signed-off-by: Jerin Jacob > > --- > > lib/librte_mbuf/rte_mbuf.c | 3 +-- > > 1 file changed, 1 insertion(+), 2 deletions(-) > > > > diff --git a/lib/librte_mbuf/rte_mbuf.c b/lib/librte_mbuf/rte_mbuf.c > > index 0e3e36a58..1d5ce7816 100644 > > --- a/lib/librte_mbuf/rte_mbuf.c > > +++ b/lib/librte_mbuf/rte_mbuf.c > > @@ -131,8 +131,7 @@ rte_pktmbuf_init(struct rte_mempool *mp, > > RTE_ASSERT(mp->elt_size >= mbuf_size); > > RTE_ASSERT(buf_len <= UINT16_MAX); > > > > - memset(m, 0, mp->elt_size); > > - > > + memset(m, 0, mbuf_size + RTE_PKTMBUF_HEADROOM); > > /* start of buffer is after mbuf structure and priv data */ > > m->priv_size = priv_size; > > m->buf_addr = (char *)m + mbuf_size; > > Yes, I don't foresee any risk to do that. > > I'm just wondering why RTE_PKTMBUF_HEADROOM should be zeroed. > For example, rte_pktmbuf_free() does not touch the data either, so > after some packets processing, we also have garbage data in the > headroom. Yes. Headroom can be garbage as application pull the packet offset up and writes new header on encapsulation use case. I will the send v2 with clearing only mbuf area. > > Olivier