From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mailout2.w1.samsung.com (mailout2.w1.samsung.com [210.118.77.12]) by dpdk.org (Postfix) with ESMTP id 509D92C8 for ; Tue, 27 Jun 2017 10:46:36 +0200 (CEST) Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout2.w1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0OS7008BC71M9J70@mailout2.w1.samsung.com> for dev@dpdk.org; Tue, 27 Jun 2017 09:46:34 +0100 (BST) Received: from eusmges3.samsung.com (unknown [203.254.199.242]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20170627084633eucas1p2218e4e9d4e6758047f3f72126ff3adef~L7jCecdwU0517405174eucas1p2-; Tue, 27 Jun 2017 08:46:33 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges3.samsung.com (EUCPMTA) with SMTP id 64.3D.17464.96B12595; Tue, 27 Jun 2017 09:46:33 +0100 (BST) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20170627084632eucas1p28133ee4b425b3938e2564fca03e1140b~L7jBymOkq0512505125eucas1p2G; Tue, 27 Jun 2017 08:46:32 +0000 (GMT) X-AuditID: cbfec7f2-f797e6d000004438-43-59521b69c27e Received: from eusync4.samsung.com ( [203.254.199.214]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id C1.12.17452.86B12595; Tue, 27 Jun 2017 09:46:32 +0100 (BST) Received: from imaximets.rnd.samsung.ru ([106.109.129.180]) by eusync4.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0OS7004U871GUD20@eusync4.samsung.com>; Tue, 27 Jun 2017 09:46:32 +0100 (BST) From: Ilya Maximets To: dev@dpdk.org, David Marchand , Sergio Gonzalez Monroy , Thomas Monjalon Cc: Heetae Ahn , Yuanhan Liu , Jianfeng Tan , Neil Horman , Yulong Pei , Bruce Richardson , Jerin Jacob , Ilya Maximets Date: Tue, 27 Jun 2017 11:46:24 +0300 Message-id: <1498553186-24541-1-git-send-email-i.maximets@samsung.com> X-Mailer: git-send-email 2.7.4 In-reply-to: <1498039711-26570-1-git-send-email-i.maximets@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrPIsWRmVeSWpSXmKPExsWy7djP87qZ0kGRBreXilrcWGVvsaKjncXi 3aftTBbTPt9mt7jS/pPdYuIkE4vu2V/YLG41n2SzWDHhCKPFpwcnWCxaluxksvj24DuzA4/H xf47jB4bTvSzevxasJTV48a/W2wei/e8ZPI4dnMau0ffllWMHle+r2YM4IjisklJzcksSy3S t0vgytjXaVuwiafi7kPjBsbtnF2MnBwSAiYSH7omsEHYYhIX7q0Hsrk4hASWMko8ePUayvnM KLHq0wVGmI4FqyaCdQgJLGOUWLY1B6KomUni4cl1zCAJNgEdiVOrjzCCJEQEFjJKNP48wQzi MAucZJLY//cEWLuwgIXE/Rff2EFsFgFViVN9N8FsXgE3idYlZ5kg1slJ3DzXCTaVU8BdYvft H6wggyQE1rFL3F7cA1TEAeTISmw6wAxhukg0PciHaBWWeHV8CzuELSPR2XGQCaK1mVGiYdUl RghnAqPEl+blUMvsJU7dvApmMwvwSUzaNh1qKK9ER5sQRImHxOQzG6BB4Sjx/UQLKyQoZgHN +S0ygVFmASPDKkaR1NLi3PTUYmO94sTc4tK8dL3k/NxNjMBkcPrf8U87GL+esDrEKMDBqMTD +4spMFKINbGsuDL3EKMEB7OSCO9v5qBIId6UxMqq1KL8+KLSnNTiQ4zSHCxK4rxcp65FCAmk J5akZqemFqQWwWSZODilGhiVjnxnOfDZsLhy6/at69ROHHhQELUxsWqf/g6Dat1a9tWGHxUS /ivv3n5Wy/zabL2rrhMXpMn/LfN5G8aiGuj5Kq2n7dHWW8b3r2+dyMX1fNaZDW53tkbJHza4 pbdGY8WKN9unvmdfMTemLPbI3orfR4q2pX9eEMkxN8+ocors97Pr3J/uZtj+SYmlOCPRUIu5 qDgRAFTxSsECAwAA X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprAIsWRmVeSWpSXmKPExsVy+t/xa7oZ0kGRBiufGFvcWGVvsaKjncXi 3aftTBbTPt9mt7jS/pPdYuIkE4vu2V/YLG41n2SzWDHhCKPFpwcnWCxaluxksvj24DuzA4/H xf47jB4bTvSzevxasJTV48a/W2wei/e8ZPI4dnMau0ffllWMHle+r2YM4Ihys8lITUxJLVJI zUvOT8nMS7dVCg1x07VQUshLzE21VYrQ9Q0JUlIoS8wpBfKMDNCAg3OAe7CSvl2CW8a+TtuC TTwVdx8aNzBu5+xi5OSQEDCRWLBqIhuELSZx4d56IJuLQ0hgCaPE+4XbWCCcViaJKyf2MoFU sQnoSJxafYQRJCEisJBR4sLqL8wgDrPAaSaJN8vus4BUCQtYSNx/8Y0dxGYRUJU41XcTzOYV cJNoXXKWCWKfnMTNc53MIDangLvE7ts/WEFsIaCaxaeus01g5F3AyLCKUSS1tDg3PbfYUK84 Mbe4NC9dLzk/dxMjMDa2Hfu5eQfjpY3BhxgFOBiVeHh/MAVGCrEmlhVX5h5ilOBgVhLh/c0c FCnEm5JYWZValB9fVJqTWnyI0RToqInMUqLJ+cC4zSuJNzQxNLc0NDK2sDA3MlIS5y35cCVc SCA9sSQ1OzW1ILUIpo+Jg1OqgZHroa+N2e8Eg4/vN017ejNrER8XT+fWNQUhDjdfuFxY73pW hn/RifuT/ZK3Pr52frt8w1nGfFbWm/93cCRfU5vD/4Zf/ocz78JAzoD0RHfOGXGKIU6xK05Y LC9hL1l6RbcjturZlXOGYrvLnAXyQxfLal7pU5jJyylzuypf54nwytqdz7L9viqxFGckGmox FxUnAgDdRbCIowIAAA== X-MTR: 20000000000000000@CPGS X-CMS-MailID: 20170627084632eucas1p28133ee4b425b3938e2564fca03e1140b X-Msg-Generator: CA X-Sender-IP: 182.198.249.179 X-Local-Sender: =?UTF-8?B?SWx5YSBNYXhpbWV0cxtTUlItVmlydHVhbGl6YXRpb24gTGFi?= =?UTF-8?B?G+yCvOyEseyghOyekBtMZWFkaW5nIEVuZ2luZWVy?= X-Global-Sender: =?UTF-8?B?SWx5YSBNYXhpbWV0cxtTUlItVmlydHVhbGl6YXRpb24gTGFi?= =?UTF-8?B?G1NhbXN1bmcgRWxlY3Ryb25pY3MbTGVhZGluZyBFbmdpbmVlcg==?= X-Sender-Code: =?UTF-8?B?QzEwG0NJU0hRG0MxMEdEMDFHRDAxMDE1NA==?= CMS-TYPE: 201P X-HopCount: 7 X-CMS-RootMailID: 20170627084632eucas1p28133ee4b425b3938e2564fca03e1140b X-RootMTR: 20170627084632eucas1p28133ee4b425b3938e2564fca03e1140b References: <1498039711-26570-1-git-send-email-i.maximets@samsung.com> Subject: [dpdk-dev] [PATCH v8 0/2] Balanced allocation of hugepages 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 08:46:36 -0000 Version 8: * helper functions from libnuma used to set mempolicy and work with cpu mask. * Function now restores previous mempolicy instead of MPOL_DEFAULT. * Fixed essential_memory on SIGBUS. * Fixed restoring of mempolicy in case of errors (goto out). * Enabled by default for all linuxapp except armv7 and dpaa2. Version 7: * RTE_LIBRTE_EAL_NUMA_AWARE_HUGEPAGES --> RTE_EAL_NUMA_AWARE_HUGEPAGES Version 6: * Configuration option RTE_LIBRTE_EAL_NUMA_AWARE_HUGEPAGES returned. Enabled by default for x86, ppc and thunderx. Version 5: * Fixed shared build. (Automated build test will fail anyway because libnuma-devel not installed on build servers) Version 4: * Fixed work on systems without NUMA by adding check for NUMA support in kernel. Version 3: * Implemented hybrid schema for allocation. * Fixed not needed mempolicy change while remapping. (orig = 0) * Added patch to enable VHOST_NUMA by default. Version 2: * rebased (fuzz in Makefile) Ilya Maximets (2): mem: balanced allocation of hugepages config: enable vhost numa awareness by default config/common_base | 1 + config/common_linuxapp | 2 + config/defconfig_arm-armv7a-linuxapp-gcc | 4 + config/defconfig_arm64-dpaa2-linuxapp-gcc | 4 + lib/librte_eal/linuxapp/eal/Makefile | 3 + lib/librte_eal/linuxapp/eal/eal_memory.c | 117 ++++++++++++++++++++++++++++-- mk/rte.app.mk | 3 + 7 files changed, 126 insertions(+), 8 deletions(-) -- 2.7.4