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 6806B2BB8 for ; Thu, 8 Jun 2017 13:22:04 +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 <0OR800MV07KQ1P50@mailout2.w1.samsung.com> for dev@dpdk.org; Thu, 08 Jun 2017 12:22:02 +0100 (BST) Received: from eusmges1.samsung.com (unknown [203.254.199.239]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20170608112201eucas1p1b47fe6cd32187e35cc2274eba8ab933a~GIaWra4U_0705207052eucas1p1f; Thu, 8 Jun 2017 11:22:01 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges1.samsung.com (EUCPMTA) with SMTP id 6E.96.14140.B5339395; Thu, 8 Jun 2017 12:22:03 +0100 (BST) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20170608112200eucas1p1d315a3a6109cccc374227d44e202ceff~GIaV4UGOP0707607076eucas1p1f; Thu, 8 Jun 2017 11:22:00 +0000 (GMT) X-AuditID: cbfec7ef-f796a6d00000373c-65-5939335b5836 Received: from eusync1.samsung.com ( [203.254.199.211]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id 19.44.20206.85339395; Thu, 8 Jun 2017 12:22:00 +0100 (BST) Received: from [106.109.129.180] by eusync1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0OR8005Z27KNZV10@eusync1.samsung.com>; Thu, 08 Jun 2017 12:22:00 +0100 (BST) To: dev@dpdk.org, David Marchand , Sergio Gonzalez Monroy , Thomas Monjalon , Bruce Richardson Cc: Heetae Ahn , Yuanhan Liu , Jianfeng Tan , Neil Horman , Yulong Pei From: Ilya Maximets Message-id: <6eb536e9-9071-f08e-e819-a41c6f78cda3@samsung.com> Date: Thu, 08 Jun 2017 14:21:58 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-version: 1.0 In-reply-to: <1496756020-4579-1-git-send-email-i.maximets@samsung.com> Content-type: text/plain; charset=windows-1252 Content-transfer-encoding: 7bit X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrEKsWRmVeSWpSXmKPExsWy7djPc7rRxpaRBod2WlrcWGVvsaKjncXi 3aftTBbTPt9mt7jS/pPdonv2FzaLW80n2SxWTDjCaPHpwQkWi5YlO5ksvj34zuzA7XGx/w6j x68FS1k9bvy7xeaxeM9LJo9jN6exe/RtWcXoceX7asYA9igum5TUnMyy1CJ9uwSujHN/GhkL +vkrenZfYGtgvMjdxcjJISFgItG8aS8LhC0mceHeerYuRi4OIYFljBJfN99kgXA+M0o8ePqP Fabj9O3LTHBVPTf6oZwXjBIzWk6wg1QJC9hILJz5mhEkISJwgVGif8ZDMIdZ4ADQ4EuPGUGq 2AR0JE6tPgJm8wrYSRya1w60kIODRUBV4us9G5CwqECExPU5W6BKBCV+TL4HdiyngJvE9M8r wWxmAQOJGVMOM0HY8hKb17xlBtklIXCNXWLjwg9gMyUEZCU2HWCGeMFF4s6iDjYIW1ji1fEt 7BC2jMTlyd0sEL3NjBINqy4xQjgTGCW+NC9ngqiylzh18yrUNj6JSdumM0Ms4JXoaBOCKPGQ aGhfAA1VR4l1U7YxQ4LoCqPErT+3GScwys9C8tAsJE/MQvLEAkbmVYwiqaXFuempxYZ6xYm5 xaV56XrJ+bmbGIEp6fS/4+93MD5tDjnEKMDBqMTDGyBnESnEmlhWXJl7iFGCg1lJhPeogWWk EG9KYmVValF+fFFpTmrxIUZpDhYlcV7eU9cihATSE0tSs1NTC1KLYLJMHJxSDYwqUhybXtns dgg7+tT7/PXLVwqqBUSFpyyWfDfze/Sf7AteS3lFz0T4SPPZ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IuKEwEgktYN4QIAAA== X-MTR: 20000000000000000@CPGS X-CMS-MailID: 20170608112200eucas1p1d315a3a6109cccc374227d44e202ceff 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: 20170606133348eucas1p1cc5c3c05f88b2101c2ea47b26e0cac24 X-RootMTR: 20170606133348eucas1p1cc5c3c05f88b2101c2ea47b26e0cac24 References: <1496736832-835-1-git-send-email-i.maximets@samsung.com> <1496756020-4579-1-git-send-email-i.maximets@samsung.com> Subject: Re: [dpdk-dev] [PATCH v5 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, 08 Jun 2017 11:22:04 -0000 Hi everyone, I just want to clarify current status of these patches. As I understand, moving to the new build system (for example, meson+ninja as proposed[1] by Bruce) is a very long process. But we have issues with imbalanced memory allocation now, and IMHO it's better to fix them in a near future. Latest version (v5) of balanced allocation patches adds linbuma as general unconditional dependency which conflicts with the current DPDK policies. So, there are 2 option: 1. Return back config option RTE_LIBRTE_EAL_NUMA_AWARE_HUGEPAGES from the first version of the patch and disable it by default. 2. Keep patch as it is now and make everyone install libnuma for successful build. I have no preferences about above options. I'm asking your opinions. Bruce, Sergio, Thomas, what do you think? [1] http://dpdk.org/ml/archives/dev/2017-June/067428.html Best regards, Ilya Maximets. On 06.06.2017 16:33, Ilya Maximets wrote: > Sorry for so frequent respinning of the series. > > 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 | 2 +- > lib/librte_eal/linuxapp/eal/Makefile | 1 + > lib/librte_eal/linuxapp/eal/eal_memory.c | 94 ++++++++++++++++++++++++++++++-- > mk/rte.app.mk | 3 + > 4 files changed, 95 insertions(+), 5 deletions(-) >