From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mailout1.w1.samsung.com (mailout1.w1.samsung.com [210.118.77.11]) by dpdk.org (Postfix) with ESMTP id A8DF72C8 for ; Thu, 29 Jun 2017 07:59:31 +0200 (CEST) Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout1.w1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0OSA002FDON5X810@mailout1.w1.samsung.com> for dev@dpdk.org; Thu, 29 Jun 2017 06:59:29 +0100 (BST) Received: from eusmges1.samsung.com (unknown [203.254.199.239]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20170629055929eucas1p13bfeed069a41158649b2681303dbc922~MgjvNYkBx2845728457eucas1p1x; Thu, 29 Jun 2017 05:59:29 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges1.samsung.com (EUCPMTA) with SMTP id 49.77.14140.34794595; Thu, 29 Jun 2017 06:59:31 +0100 (BST) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20170629055928eucas1p17e823d821cfe95953bfa59dc9883ca4f~MgjuhW8W12845728457eucas1p1w; Thu, 29 Jun 2017 05:59:28 +0000 (GMT) X-AuditID: cbfec7ef-f796a6d00000373c-e6-59549743cd31 Received: from eusync4.samsung.com ( [203.254.199.214]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id E8.9A.17452.04794595; Thu, 29 Jun 2017 06:59:28 +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 <0OSA0003ION05H20@eusync4.samsung.com>; Thu, 29 Jun 2017 06:59:28 +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 , Hemant Agrawal , Ilya Maximets Date: Thu, 29 Jun 2017 08:59:18 +0300 Message-id: <1498715960-2668-1-git-send-email-i.maximets@samsung.com> X-Mailer: git-send-email 2.7.4 In-reply-to: <1498559080-27331-1-git-send-email-i.maximets@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrNIsWRmVeSWpSXmKPExsWy7djPc7rO00MiDaau17C4screYkVHO4vF u0/bmSymfb7NbrHy8UY2iyvtP9ktJk4yseie/YXN4lbzSTaLFROOMFp8enCCxaJlyU4mi28P vjM78Hpc7L/D6LHhRD+rx68FS1k9bvy7xeaxeM9LJo9jN6exe2x8t4PJo2/LKkaPK99XMwZw RnHZpKTmZJalFunbJXBl3Pt6nq3gNl/FqdfzmRsYe7m7GDk5JARMJI48eMwIYYtJXLi3nq2L kYtDSGAZo8SHQ3PZIZzPjBJ3Z1xnhOn4O3k2O1zV1tObmSCcZiaJPYe2MINUsQnoSJxafYQR JCEisJBRovHnCbAEs8AXJomOY+EgtrCApcTx8zdZuxg5OFgEVCUW7tMCCfMKuEqc/zoTapuc xM1znWCtnALuEste/wPbLCFwiF3i44IFTCC9EgKyEpsOMEPUu0hMWzcXyhaWeHV8CzuELSPR 2XGQCaK3mVGiYdUlRghnAqPEl+blTBBV9hKnbl5lgjiUT2LStunMEAt4JTrahCBKPCT+9F2A WuAosevSa7BDhQRmMUq0reKcwCizgJFhFaNIamlxbnpqsaFecWJucWleul5yfu4mRmCSOP3v +PsdjE+bQw4xCnAwKvHwMqwNjhRiTSwrrsw9xCjBwawkwuveEBIpxJuSWFmVWpQfX1Sak1p8 iFGag0VJnJf31LUIIYH0xJLU7NTUgtQimCwTB6dUA6P5o3Wmd05eEz+80cnxKctmmUz799sz Yn7FrJ/MmGh95OmWS5tMaxpLpiyRrJI+qXyp7swHrgWVK9ZLs7GEbqxRspF79PX1XssU/5Te uWwn7bsVOuqZfCz3+G/sTVUQmZi96l/H8gVuBb7i16oUNP8cj0nbp9nDqFN3Z7/dK8HK62Hp meWzG5VYijMSDbWYi4oTAbA0TlgOAwAA X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprNIsWRmVeSWpSXmKPExsVy+t/xa7oO00MiDQ7cVLG4screYkVHO4vF u0/bmSymfb7NbrHy8UY2iyvtP9ktJk4yseie/YXN4lbzSTaLFROOMFp8enCCxaJlyU4mi28P vjM78Hpc7L/D6LHhRD+rx68FS1k9bvy7xeaxeM9LJo9jN6exe2x8t4PJo2/LKkaPK99XMwZw RrnZZKQmpqQWKaTmJeenZOal2yqFhrjpWigp5CXmptoqRej6hgQpKZQl5pQCeUYGaMDBOcA9 WEnfLsEt497X82wFt/kqTr2ez9zA2MvdxcjJISFgIvF38mx2CFtM4sK99WxdjFwcQgJLGCV+ 3HjIDOG0Mkl8W/qaDaSKTUBH4tTqI4wgCRGBhYwSF1Z/AatiFvjCJLHnxW5WkCphAUuJ4+dv AtkcHCwCqhIL92mBhHkFXCXOf53JCLFOTuLmuU5mEJtTwF1i2et/YGcICbhJLJ52gmkCI+8C RoZVjCKppcW56bnFhnrFibnFpXnpesn5uZsYgRGz7djPzTsYL20MPsQowMGoxMO7YlVwpBBr YllxZe4hRgkOZiURXveGkEgh3pTEyqrUovz4otKc1OJDjKZAN01klhJNzgdGc15JvKGJobml oZGxhYW5kZGSOG/JhyvhQgLpiSWp2ampBalFMH1MHJxSDYwqgfO+HBPz+3E8uy7OPu7P6/nu 15iPXX2pb2oaOWfvn2onnuht2RH+r6q2Rbx+kBb76nOET87UgkuGTXrJuz9H/4leIMkhfGnG nkkbMtXvM08IFcuOvTU5p2xRbOv2/tplh/naG713zjzIJWbCXVLzi43jfa3yHb6tDlcfzmmo 17qvuLLeTlCJpTgj0VCLuag4EQBao+CSrgIAAA== X-MTR: 20000000000000000@CPGS X-CMS-MailID: 20170629055928eucas1p17e823d821cfe95953bfa59dc9883ca4f 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: 20170629055928eucas1p17e823d821cfe95953bfa59dc9883ca4f X-RootMTR: 20170629055928eucas1p17e823d821cfe95953bfa59dc9883ca4f References: <1498559080-27331-1-git-send-email-i.maximets@samsung.com> Subject: [dpdk-dev] [PATCH v10 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: Thu, 29 Jun 2017 05:59:31 -0000 Version 10: * Fixed typo in DPAA2 config. Version 9: * Removed DPDK_DEP_NUMA from test-build.sh . Not needed anymore. * Fixed out of bound write to essential_memory in case where socket-mem not specified and SIGBUS occured. 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 + devtools/test-build.sh | 4 - lib/librte_eal/linuxapp/eal/Makefile | 3 + lib/librte_eal/linuxapp/eal/eal_memory.c | 120 ++++++++++++++++++++++++++++-- mk/rte.app.mk | 3 + 8 files changed, 129 insertions(+), 12 deletions(-) -- 2.7.4