From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-CY1-obe.outbound.protection.outlook.com (mail-cys01nam02on0078.outbound.protection.outlook.com [104.47.37.78]) by dpdk.org (Postfix) with ESMTP id E4A0B1F5 for ; Tue, 27 Jun 2017 13:58:34 +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=NcydXvqsM8fi0jXv4+Ar9xPk4MBDeXWHyhasZTXeaIg=; b=E8UXWszgTxvlzDJWeo5trj5gu4rIRTABu88AgV/F3+IYtdbDPw0j7URDyq0M4iw6K/xxKJ0MXdmyhBT3dAsXN8m8v5GZ9o0LuXGlmBdaBruWBSO5fF1O4vwriaeJ3BlS/4PyAYUBCV/2J71wWRe3k+/Rkk9uzZJbDgQUb6m/evY= Authentication-Results: dpdk.org; dkim=none (message not signed) header.d=none;dpdk.org; dmarc=none action=none header.from=caviumnetworks.com; Received: from jerin.domain.name (111.93.218.67) by BLUPR0701MB1715.namprd07.prod.outlook.com (10.163.85.141) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1199.15; Tue, 27 Jun 2017 11:58:30 +0000 From: Jerin Jacob To: dev@dpdk.org Cc: olivier.matz@6wind.com, Jerin Jacob Date: Tue, 27 Jun 2017 17:27:51 +0530 Message-Id: <20170627115751.4722-1-jerin.jacob@caviumnetworks.com> X-Mailer: git-send-email 2.13.2 In-Reply-To: <20170605163807.31941-1-jerin.jacob@caviumnetworks.com> References: <20170605163807.31941-1-jerin.jacob@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [111.93.218.67] X-ClientProxiedBy: PN1PR01CA0099.INDPRD01.PROD.OUTLOOK.COM (10.174.144.15) To BLUPR0701MB1715.namprd07.prod.outlook.com (10.163.85.141) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: dd73a78d-31d0-4717-fdbf-08d4bd53d53e X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(300000503095)(300135400095)(201703131423075)(201703031133081)(300000504095)(300135200095)(300000505095)(300135600095); SRVR:BLUPR0701MB1715; X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1715; 3:XSoQ9I9NZ25z0KgWwaUwwVhtxXCb8bFACiJjrnJmrfmpfLCRi6Z0n8YseSMF4Yz2Q1L31xtuRjianQfZWp0oVpkU+bgj4wSfOgsvMMJh4dfbmN0Fhg5jgzm3Tk1t3A1CGeo8gmQ7bUAZrg7WF+aBL+GlKw3qCCn4bHlTCbdfUJtBrJZj4f5Rj4jqBzzATSvERmawRvwmwZTVdCysLLsYQI15rZUC9IuHnTtMCZzogP1MDCfoqGIUqixtCy1FiiMSwX76Rp2LKNiTqtxXg38ky1Gx9apsc7CMB9GzgiGVHYFnxfWntauKqddUkQxlBHf9LMVpLp4E5M6JK8G5wivbdomr+fsdDDiwk7RXy7lE/OcYxAsN67/nWoJl5frbLOpXEuwrqZ+yOzQBqRZh/6wQ1cRBv+LVSUje4bOn3qdMs4xaoNJFXt0N/oly9r2+A0uQHUeous2nAAnK134R+kvDnGz9lslyZA0HUpyDh6dM2clWt1W/9QLiCxhQ6yisMI/DuFms5GykXE+46ten+fTFZ6aki+EK8dfMOaM8+sVs5ZysoI38z9kJeEv6ax90c/bX0H7xn+s7gkm9YB4MuJvZMXqDzuLNBkI+uHi89QEBqVK3V0PgccFskVpNFsXrBOr11p5tPrednNGUijH9WtGwKlcP8pdFpqKUmnrDBKG23trgMGjuM5VqPgVEBIDhZYhG X-MS-TrafficTypeDiagnostic: BLUPR0701MB1715: X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1715; 25:Bl1VWPU+8cMrHsJtiR/MxV5IyadRVWoz2TnEJdlKyEzUya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huUXtdRLTckvkD6nr/PaSl5CwHKBYMR+UgcIpTNmVEMJs5KuaqtdFtbk7y5y1WWlTRJ39T5ZMJIkuHMB6ozCLWXLA8Jz+aNVv6uEnXb7p3FcbIQ= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(236129657087228); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(5005006)(8121501046)(3002001)(93006095)(10201501046)(100000703101)(100105400095)(6041248)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123555025)(20161123564025)(20161123562025)(20161123560025)(20161123558100)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:BLUPR0701MB1715; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:BLUPR0701MB1715; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BLUPR0701MB1715; 4:cUVvvPTifk920PUHwmMmDgzhSAtzwBLheqv/QZR0?= =?us-ascii?Q?rO6RMORJi1Hv4bl22oBGjm0HFBERQEtPzpRgrAoumBLj0PCaZ+36CJsnxm9c?= =?us-ascii?Q?xflC28PhgHms/CDkwX/gmnVYK0yit/93b8LkdXjNTpg/7kMSX0XkixFdq4gi?= =?us-ascii?Q?Mw26CGnnt7iAeI2sIOwgkQR9xagmw1GQchO8L9WWogSuh+eeGwv9Xq1WC31D?= =?us-ascii?Q?BOosS2pW+1ZVLpFByKPxZMnuX6UXxFmJENXDTSSssDEjZJv8HRoyvhnyOyQv?= =?us-ascii?Q?Ojv2jx9uKtaq5XFu4S522wJ7PClRZq58OgONGywc0NoF/rnGS8s+p3auWdFh?= =?us-ascii?Q?1t8KFSu4QGiazJ0kn5whazWXLmDDM/QsR+nTHiqM90M2T5LC+kxwD7zQiMNE?= =?us-ascii?Q?sKE9tENNWVFSrPlK/0pAt22vhCnJUE2DYeLwCDNV/t0Hmjvltep96jYaRO8Q?= =?us-ascii?Q?ynhakbK1hXn4B0/USxGL+AU2G43jIgjvii51ySJFdpkYpmw7OO5pckC5jxSY?= =?us-ascii?Q?YsPGK+D773s0E/FNl80B7xfBai7cW1RrG3uN2Ltz2ojReHk4E3R09BCZWejp?= =?us-ascii?Q?u2LgxoPdmdliNKzbnP4XDO0FblUESPX7wjLWZlLw9thkyaVccpfPhIBihH1c?= =?us-ascii?Q?MH0IjJtCfpAkUUOneZXAhg+f6MHMpAdfEFVzKrYz5qO/5WAiwH+6lpwhs/2K?= =?us-ascii?Q?5B0BaNZE+sS9WT2MqOf6aRgt2joM1iRai3p67c/rVPwBQ7iENIZB2/tyEykH?= =?us-ascii?Q?ZgcCH4IWNfwWEDzn0GLe3uFFFVAqLezjFmh31yVcvf0O1L1RXOy2WD+fUAIY?= =?us-ascii?Q?Aw2/R9M38dGMgFV5oWFO4NShZRgbVCYx5Eq6o6vhOZGr3Tqstq4i796cncVJ?= =?us-ascii?Q?kDSh/r8BFXyA9OQgQHWLTMJKJmewlpV7lDrkYXNjMY16FyUetmy2FWe8pVzY?= =?us-ascii?Q?gdrw51dJeaKX/9xxbv/oEDOfrUp8e5c1gxac0KsEJwg7jvndLyfrJ52XepZ9?= =?us-ascii?Q?b/DZcFeil8gKeuOXgAg/dnhRksXwLTBXMBj78Q7r71MTEU4P7DeiDD0qt4uX?= =?us-ascii?Q?UD/KGY6T+5ZkzyLojnoT8akLHhp67cPiyLd8SgDKIY/Mm1BKutZ1W1BwCRef?= =?us-ascii?Q?Xhk7PNj2wfvFms1lyB7uDJ17ej2pfK4GilaR2OuiLyxJ5hLUgYYtSA=3D=3D?= X-Forefront-PRVS: 0351D213B3 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(39410400002)(39850400002)(39400400002)(39450400003)(39840400002)(42882006)(6916009)(50226002)(6486002)(189998001)(6666003)(66066001)(7736002)(50986999)(76176999)(38730400002)(3846002)(6116002)(81166006)(6506006)(47776003)(50466002)(8676002)(5003940100001)(1076002)(25786009)(110136004)(4326008)(6512007)(33646002)(53416004)(5660300001)(2906002)(305945005)(2361001)(2351001)(42186005)(48376002)(72206003)(36756003)(5009440100003)(2950100002)(478600001)(53936002); DIR:OUT; SFP:1101; SCL:1; SRVR:BLUPR0701MB1715; H:jerin.domain.name; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BLUPR0701MB1715; 23:tr8cMlVZ7YjwNLFMK2eJz2MDgqraCIoDgLkOQ4g?= =?us-ascii?Q?RMQ5t5fXPFwlqDXU09PKgNplvySCtZiYDuJHwglevU3SaVqWmsLkkjk8Nk58?= =?us-ascii?Q?hioq/s93s3pZKxUBC/f5dpjtJMnkgx4nvTiJDSbDTAH+CKK4VXv3fqr5I6WH?= =?us-ascii?Q?/v3ksHS/itzNa96FVVfs/mM3Y2IN4NTsT1GI6TJMgWD5ppgsfs+9niuFwOlD?= =?us-ascii?Q?wzOYjue0uwRD/+eIgqI7ZIk6zh862Bgd640gZ1Gt31Lz2oeEzb1jEz1L6y3w?= =?us-ascii?Q?MR5GH34vqqapjOuCTMzChhQ0gPtxoWJexmO+R+i22rV25WxlzAY560hXzLoQ?= =?us-ascii?Q?T5YGQBn74mQ6QGywfizKtLoE6FNfE2W6nDaczV6tY37NEO1eQFtkqbRyNx5T?= =?us-ascii?Q?fMNndgkyQtrK8GqbUWWOiu5bLp1GC6dlIW0/sZez3le6HvLJ+duwSldAQjx2?= =?us-ascii?Q?0vB1O8l2Xeb3BlEUqpx3UNqYcM/ntahZuFTmeU+yGulrEJtAZXWPnUq6wnUr?= =?us-ascii?Q?T/6rs6EqnRpury/yjlA1IjAevtKP2kMmA049i6wGR4kpVXttWQI4kDPvvxzT?= =?us-ascii?Q?4F13Zjo7LbCKAjvWAwHV8RknTKMvrYBC2Tly7jcIjPrNJlTxSsPg6QJ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RtsWlzAVzemO26pON1CA2biBPwJ2aceYK3ISgoW8bjjlyHBia0Vn727wTwo8y/NiGBBzE0VXZWKs2vnRUFLt24D+fPnRyiYNOMSU56XqP0uxGVNev/4oMF/KYCw40Koe2lx9W3K3f6zJTKeyQNETeHyDCGXjNlML1/cRCep3zSxN1kuiEqxvcDup9VEfiV6dVP27zgd7L9mktR36AILPnvVbvCdqxOfLbIeauQV83DCwVtNjHxvTn3h7616T/nIonA5u+EtD9J6EvBqS6v95npYwUlPnCXBUIOFk1FPyQAQMlCjvRsVmOc6NGUhc4= X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Jun 2017 11:58:30.9019 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR0701MB1715 Subject: [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: Tue, 27 Jun 2017 11:58:35 -0000 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 --- v2: - Removed RTE_PKTMBUF_HEADROOM from the memset area(Olivier) --- 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..ab436b9da 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); /* start of buffer is after mbuf structure and priv data */ m->priv_size = priv_size; m->buf_addr = (char *)m + mbuf_size; -- 2.13.2