From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by dpdk.org (Postfix) with ESMTP id 56CF72BE1 for ; Sat, 1 Jul 2017 12:15:59 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id ABD6D20A19; Sat, 1 Jul 2017 06:15:58 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute1.internal (MEProxy); Sat, 01 Jul 2017 06:15:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=mesmtp; bh=6uqZlQzzuP6vq9/ c87Vcuq/75gls2cG2GDbhpK8YXns=; b=rkOXmD5oU0fbeIpjK4bIuMy1HjDOeN5 lJ3NYKZ2twMRakRDQetM0dlXZFsDLJXwwoXdLREZZ5nUl6MquLjufQgeyNw233fC ONY3Rzg0U9W6cGh921qiibyfcbUFbA0fewixTAXduG2bBZ3mVkB+cKVydxCMD3AZ LVIFCEzD1b3I= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s= fm1; bh=6uqZlQzzuP6vq9/c87Vcuq/75gls2cG2GDbhpK8YXns=; b=nFUgX5L8 23VQNaFnLvOOpSSTSSpf1ldjP2t7/QmP6gU/G0DKvRgrfq/gb24E3RPgELKsi8qm wgFSiPnBBw93BqE+Vc1z/J9EQnd1sTsM+m+gjjLFjiDgXATpuar7OVDYVcvl25OI QDSA//IOp3KT4CWWAn/V0E1K9oiKoWoG6Sq2ULLx0yw9plgkyXdaI3aOh/wOrgx2 3ccA5xgiFhtOEnnVX2nWPTUfuBfC+2D1POsiRMasdGJGP8tFCLF76hSjtwNLZ0oZ n813Y+6CGnon/NWENKKFX0etLY0sDgH+1+v/pksZSkleF4f+MC6HJajvtOyJ2i9w J1HZNSLQK3FGvA== X-ME-Sender: X-Sasl-enc: bgCq1DBC7AzoVol5TVx81l20wPe0AJz6yi751DYG1xx0 1498904158 Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 616FB7E74F; Sat, 1 Jul 2017 06:15:58 -0400 (EDT) From: Thomas Monjalon To: Jerin Jacob Cc: dev@dpdk.org, Olivier Matz Date: Sat, 01 Jul 2017 12:15:56 +0200 Message-ID: <3056703.Y1WxJnlvo4@xps> In-Reply-To: <20170630142751.148b6c1a@platinum> References: <20170605163807.31941-1-jerin.jacob@caviumnetworks.com> <20170627115751.4722-1-jerin.jacob@caviumnetworks.com> <20170630142751.148b6c1a@platinum> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v2] 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: Sat, 01 Jul 2017 10:15:59 -0000 30/06/2017 14:27, Olivier Matz: > On Tue, 27 Jun 2017 17:27:51 +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 ~22MB 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 > > Acked-by: Olivier Matz Applied, thanks