From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mailout4.w1.samsung.com (mailout4.w1.samsung.com [210.118.77.14]) by dpdk.org (Postfix) with ESMTP id DBCBE271 for ; Tue, 27 Jun 2017 12:24:50 +0200 (CEST) Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout4.w1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0OS70008BBLC15A0@mailout4.w1.samsung.com> for dev@dpdk.org; Tue, 27 Jun 2017 11:24:48 +0100 (BST) Received: from eusmges2.samsung.com (unknown [203.254.199.241]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20170627102448eucas1p21da0a341ebaff6303b38ce246bd5a33c~L840NEgnn3004030040eucas1p2J; Tue, 27 Jun 2017 10:24:48 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges2.samsung.com (EUCPMTA) with SMTP id 9A.24.04459.F6232595; Tue, 27 Jun 2017 11:24:47 +0100 (BST) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20170627102447eucas1p15a57bbaaf46944c0935d4ef71b55cd83~L84zgrVUI1988319883eucas1p1L; Tue, 27 Jun 2017 10:24:47 +0000 (GMT) X-AuditID: cbfec7f1-f796e6d00000116b-29-5952326f7b05 Received: from eusync3.samsung.com ( [203.254.199.213]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id 5B.F9.20206.F6232595; Tue, 27 Jun 2017 11:24:47 +0100 (BST) Received: from imaximets.rnd.samsung.ru ([106.109.129.180]) by eusync3.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0OS700MK2BL73140@eusync3.samsung.com>; Tue, 27 Jun 2017 11:24:47 +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 13:24:38 +0300 Message-id: <1498559080-27331-1-git-send-email-i.maximets@samsung.com> X-Mailer: git-send-email 2.7.4 In-reply-to: <1498553186-24541-1-git-send-email-i.maximets@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrIIsWRmVeSWpSXmKPExsWy7djP87r5RkGRBmt/m1ncWGVvsaKjncXi 3aftTBbTPt9mt7jS/pPdYuIkE4vu2V/YLG41n2SzWDHhCKPFpwcnWCxaluxksvj24DuzA4/H xf47jB4bTvSzevxasJTV48a/W2wei/e8ZPI4dnMau0ffllWMHle+r2YM4IjisklJzcksSy3S t0vgyvh/8z5LwRq+iktHZrI3ML7m6mLk5JAQMJF4f/A0I4QtJnHh3nq2LkYuDiGBpYwS1zes YANJCAl8ZpTobhPoYuQAa5jbrgJRs4xR4uPvDSwQTjOTxNu3h9hBGtgEdCROrT7CCJIQEVjI KNH48wQziMMscJJJYv/fE2BjhQUsJK4s6AazWQRUJQ4dn8kCYvMKuEl8fdTGDnGTnMTNc53M IDangLvEhacbmEAGSQhsYpc4tOA5K8RNshKbDjBD1LtIrO89AdUrLPHq+BYoW0bi8uRuFoje ZkaJhlWXGCGcCYwSX5qXM0FU2UucunkVzGYW4JOYtG06M8QCXomONiGIEg+JRS+2Qu11lLi0 Eer9WYwSOyf8Zp/AKLOAkWEVo0hqaXFuemqxkV5xYm5xaV66XnJ+7iZGYEI4/e/4xx2M709Y HWIU4GBU4uH9yRQYKcSaWFZcmXuIUYKDWUmE9zdzUKQQb0piZVVqUX58UWlOavEhRmkOFiVx Xq5T1yKEBNITS1KzU1MLUotgskwcnFINjBl3brFl3tpgWHjizaVtbcubJq78fea5bcA21pV6 K1d9aa7Nrp0zT/+yjUH257nhu74ZRteIJkbznJj9dtfRldlvHMpdC16nX02XXPA+TjAk63Ja odxe5s1ltqxaXzhzWt68P7dy0tS3v05t/BnkPC9n6y4PvVOpaokfHz/6c87+5ILZi8Q9tXKU WIozEg21mIuKEwEUTi7oBAMAAA== X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprIIsWRmVeSWpSXmKPExsVy+t/xq7r5RkGRBjO6OS1urLK3WNHRzmLx 7tN2Jotpn2+zW1xp/8luMXGSiUX37C9sFreaT7JZrJhwhNHi04MTLBYtS3YyWXx78J3Zgcfj Yv8dRo8NJ/pZPX4tWMrqcePfLTaPxXteMnkcuzmN3aNvyypGjyvfVzMGcES52WSkJqakFimk 5iXnp2TmpdsqhYa46VooKeQl5qbaKkXo+oYEKSmUJeaUAnlGBmjAwTnAPVhJ3y7BLeP/zfss BWv4Ki4dmcnewPiaq4uRg0NCwERibrtKFyMnkCkmceHeerYuRi4OIYEljBKHu06zQjitTBKH Zy1gBqliE9CROLX6CCNIQkRgIaPEhdVfmEEcZoHTTBJvlt1nAakSFrCQuLKgmw3EZhFQlTh0 fCZYnFfATeLrozZ2iH1yEjfPdYJN5RRwl7jwdAMTiC0EVNP7+iXbBEbeBYwMqxhFUkuLc9Nz i430ihNzi0vz0vWS83M3MQKjY9uxn1t2MHa9Cz7EKMDBqMTD+4MpMFKINbGsuDL3EKMEB7OS CO9v5qBIId6UxMqq1KL8+KLSnNTiQ4ymQEdNZJYSTc4HRm5eSbyhiaG5paGRsYWFuZGRkjjv 1A9XwoUE0hNLUrNTUwtSi2D6mDg4pRoYexfM6v3wYo1I/CPTxHq3sObtM4LPZSbw3XkdHdAt vm0pb9cc70PX7S/FKarWifzVPn0tbvrfs13ys2WCpe9rNFyRrtepmT5t07IX1uy1R669y9xs KfTtWItP+dUZEseOWur4bOlan96c+9M/uc2qZ19Lwsxonj9rtHtZOI9obo/wX8ZexB2ixFKc kWioxVxUnAgAc+MrU6QCAAA= X-MTR: 20000000000000000@CPGS X-CMS-MailID: 20170627102447eucas1p15a57bbaaf46944c0935d4ef71b55cd83 X-Msg-Generator: CA X-Sender-IP: 182.198.249.180 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: 20170627102447eucas1p15a57bbaaf46944c0935d4ef71b55cd83 X-RootMTR: 20170627102447eucas1p15a57bbaaf46944c0935d4ef71b55cd83 References: <1498553186-24541-1-git-send-email-i.maximets@samsung.com> Subject: [dpdk-dev] [PATCH v9 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 10:24:51 -0000 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