From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-SN1-obe.outbound.protection.outlook.com (mail-sn1nam02on0082.outbound.protection.outlook.com [104.47.36.82]) by dpdk.org (Postfix) with ESMTP id 86476388F for ; Wed, 21 Jun 2017 10:42:22 +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=chsOBPZahjGiIFiPxzdO/GZkVxHUfXkXb3PMs5pNl/c=; b=oZG92JwCrYHwd6qRr0NFUfQD6BDmns0QhGvbA416NhFZ0eQ6rXDEI/VTUMRGAL+M96QcK1GRaMIZL+6YbcoeW/V/wQRbdUQvZceNG7IbxjIiJkoRqLt4Wa4jV9xEYVtyLm9S+MrQMsuimcAwqcKPmyNbSTLsD9APJPLcWQZmYyI= Authentication-Results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=caviumnetworks.com; Received: from jerin (122.167.66.182) by CY1PR0701MB1726.namprd07.prod.outlook.com (10.163.21.140) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1178.14; Wed, 21 Jun 2017 08:42:16 +0000 Date: Wed, 21 Jun 2017 14:11:58 +0530 From: Jerin Jacob To: Sergio Gonzalez Monroy Cc: Hemant Agrawal , Thomas Monjalon , Ilya Maximets , dev@dpdk.org, Bruce Richardson , David Marchand , Heetae Ahn , Yuanhan Liu , Jianfeng Tan , Neil Horman , Yulong Pei Message-ID: <20170621084157.GA23011@jerin> References: <1496736832-835-1-git-send-email-i.maximets@samsung.com> <2889333.ySLvsRWIRF@xps> <3955508.CKAFNdPa9c@xps> <7e71f1d8-f975-05ed-c14c-526c1c2c651f@intel.com> <20170620154138.GA8453@jerin> <40e6b510-72cc-5459-6861-75b6837e3392@nxp.com> <9b8eb542-ab5c-f37a-afc8-db65061d35f5@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <9b8eb542-ab5c-f37a-afc8-db65061d35f5@intel.com> User-Agent: Mutt/1.8.3 (2017-05-23) X-Originating-IP: [122.167.66.182] X-ClientProxiedBy: MA1PR01CA0089.INDPRD01.PROD.OUTLOOK.COM (10.174.56.29) To CY1PR0701MB1726.namprd07.prod.outlook.com (10.163.21.140) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: ec4ea717-b2a5-4936-2c23-08d4b8816dce X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(201703131423075)(201703031133081); SRVR:CY1PR0701MB1726; X-Microsoft-Exchange-Diagnostics: 1; CY1PR0701MB1726; 3:CGapRh9wK3DJFueCEeqa494jd13waPBiSl71xsS7Sazsyj8Un7DL2S8ZMM0W+LHwvg+kkV1iFksVM9tCRshw8xE84vgJvd76fXATSLNoYIoN8mya9kumG0C9Zc5orwZqruMopIcdk9rUlFWoe0XUkqqCGJwM+UPXQjVZBYt3kvsCvdNSXd33C44c+xnjIt9F+0YIylOwuahsSMSoX2cSIy5sv+6N9u4D0s1BX/B/uSYlAx8Fq1dZZmXbQAkkTNVHTOwdLKYa0ge+UlyjTKEz2bNc0b9xFCNatZNLnPZmcLnG3q+oLqhoarejlAsqjEBEk46aoCW6AvAwhUuKaNnS/w==; 25:lfloypwsuX89+VyzJpJN0rAkzrRnrMEkOCftC53JEUEBd2CsiD5j4K9opICTcyNQyBtSY+kOfyC5/vH/9yexasH/2kMuIaIy9VMsIa3DtUN6gaCM/mLH0f0bKxgFlDEMv8eW5jfzcMyrHiWw0MAOmmYQphUYPCqalR3rCShtQnSIDOknzkZlRTQyZGxRc0e0XNdhUS/hc1wgX2vfGcj7EKWsxhhbGUaXYhlBdJ5oK48530lIXDRrfTG35ye5ey8gEdhgU3uPnN7fNCs1OWce4xHXct5Gr75o7lxxI5SrJ+IM3jHcyH0oRVYEsyFtVv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wcskq+5XeDTbbCFBzW1WRrDseyVXObvASDPzviqo3Wka8oZ+kVt9XwwIbj10wHKMc8= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(166708455590820)(185117386973197)(5213294742642)(7411616537696)(228905959029699); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(5005006)(8121501046)(3002001)(93006095)(100000703101)(100105400095)(10201501046)(6041248)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123555025)(20161123562025)(20161123560025)(20161123564025)(20161123558100)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:CY1PR0701MB1726; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:CY1PR0701MB1726; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY1PR0701MB1726; 4:wlbnmRRD4g73agw/gH6eq9OqGLbwjgFmyDE6W4B+?= =?us-ascii?Q?KgegmYnrfqbE/2Pt9E74VdRVStDhKi/vjCF4U25XGW4PA37ZQYcE3TLsMk3L?= =?us-ascii?Q?2hls7X82T1upRj5VTlvsUG440uSnDElLnMNPuSsNFXXq0Gr7te/7F1msL8f7?= =?us-ascii?Q?UXet5TmJJfVNjfqV3aRAf0ehf2FGbxUxevNthIHpGyUi/2RmtORXHW6SPm2T?= =?us-ascii?Q?qwYT0O1WYtmwpRqtUO9v67v3rQAZHV2NG/aI3fdK8keYBr8BPysI58VIghwo?= =?us-ascii?Q?BYbYAWLthJuv8jrncnzDv7LnEMG7bpFlKcHCBthVtO21Xc2aH9lOvId3QAu8?= =?us-ascii?Q?MRk+ffYLqkZTRE9zM80U9wFMTudlJ/QgABSzktIbx4NkxKRfJAfGTse3CMex?= =?us-ascii?Q?7tXnvNQJnw+SyyTTucMDn3CyRv5sxl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us-ascii?Q?y4psMqvfKgSwFsj808QoumU=3D?= X-Forefront-PRVS: 0345CFD558 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(39840400002)(39400400002)(39450400003)(39410400002)(39850400002)(13464003)(377454003)(76104003)(24454002)(55016002)(83506001)(8656002)(7736002)(54906002)(6306002)(33716001)(81166006)(9686003)(1076002)(23726003)(3846002)(6116002)(53936002)(229853002)(47776003)(66066001)(53546010)(4326008)(6916009)(42882006)(2950100002)(25786009)(38730400002)(110136004)(6496005)(5660300001)(50466002)(54356999)(50986999)(76176999)(4001350100001)(305945005)(189998001)(8676002)(42186005)(72206003)(33656002)(6666003)(478600001)(7416002)(966005)(18370500001); DIR:OUT; SFP:1101; SCL:1; SRVR:CY1PR0701MB1726; H:jerin; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY1PR0701MB1726; 23:Jkv/qm5NXYEZdBkAr2pHbxG+vHhsStNPFtolhyn?= =?us-ascii?Q?kqKxfA96xONielbMV1LVBXtI1MVYtkuqVVgguHZs+/uZmMu6J0WLVdaxiYVD?= =?us-ascii?Q?BoCc6oAUkHzpTngSCPk4SBKPTzEE+YiEkfs7yGS3LegprBSy+DLFdkxPBIJ6?= =?us-ascii?Q?pTT7AiYb+ncuwsdRjBF4h/FNKPbEpBoUxMRRHOV1n2k9qTJcuKf4j54j48vD?= =?us-ascii?Q?PEPqi49Ukj5HqyLRDoe2vi771vnDS6B466+XGjvBK5pjFpavQqi9SwnLjIjy?= =?us-ascii?Q?Y0KWCTYnY3khGLlYEsqisW5HDEYaBKThjCJ8yLVMrHgZdINsHsCGWCVhGlfR?= =?us-ascii?Q?oHU7z9tClIYlaHadViqMvBUt3lo0gO8/HjcZKpPrk2c5Dcd1arkNwyVP3klp?= =?us-ascii?Q?poxj1pdH5LphgnEbkgZfLlgtVWiljHqDLOyc+FTqyS+TzMxiMTOdr0CT05E/?= =?us-ascii?Q?5576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ange-Diagnostics: =?us-ascii?Q?1; CY1PR0701MB1726; 6:bhukC8e0bP0lRN/BeJJfhQnfUKGlk5ftry2YU7ra?= =?us-ascii?Q?WajERc3CQxQ+yjCKxD9r2DwwqBhTF3EJ8YqDxmcuex7oBJzHU/UoRzD7CUcj?= =?us-ascii?Q?i66YZ7NzaXi6QMcYIprRgQCDWYIOJMlHgJ9srQVWlv6j8ujdSpyOl8dCJQ+t?= =?us-ascii?Q?uV4LhSYvv97cNuSDP+GhaYayIYzujZXmxdh1p4m9Yeg+Bg5IebNlSBEdwQIi?= =?us-ascii?Q?ClRT7dQbY7tMfoYXKkjCeXifTSuNKySyBm32SBIwScGwIrLvcv156nsbkif4?= =?us-ascii?Q?UCqo9t8TVDt7WSCP/zMIbpuToFnvyiqVXSHpCVZzOlN8M30lxa2EmafBWKIb?= =?us-ascii?Q?iW2X1xR8AAetWzgHCqJv5D6QMopda0TsuFTXB7Qwadxw8iJyKqazFjWitLP0?= =?us-ascii?Q?CrfGs10Lo6J58wuioZst39E1j1+8nhANmxEgwmMZO8GBkttNUfFxwiktSeJ/?= =?us-ascii?Q?AsPsEh9lf0I6V17HifumrV2jh1T9h0muyN5ZmQjsGm/SXc1ze+Uvdw/CKouV?= =?us-ascii?Q?v/KBGZuevoV9DWtqef4B5YIKBSmiV57ImvIfohkpsH4BblAK+6FTtLzaByJo?= =?us-ascii?Q?uudhwRUR/Ewc2m2JcXC8qUmxaxRODnCjHvJvGndZswmHqrcwAdbXXavYoA1P?= =?us-ascii?Q?XLWYfSbBx22PFZYRfVR+wHA5FrNG/rZN/i2ceoYEp8Q8wRoYOO8i6jx0TAen?= =?us-ascii?Q?qnUc0EYmPEcSMVc+F6pzgqaGngilADkxx72km5g00YwVPlijfNPhDV4I9IX2?= =?us-ascii?Q?9UA84ipuQLRWC6QbiNm4SIHI8Dr/HwSHmOg+KfgXGOrc7cn/474Ab5aa/9Wd?= =?us-ascii?Q?4JDkqyUZhdQ+BoWYG7T2uAZVXi0UMCs1HePSM9lR6EARWAKToRZQWUpLvQaD?= =?us-ascii?Q?4pnTQufIJ5zhZS959KlFMDgAle/qDu0pi+l84LUsNxD02G6063dRvjQ0kA8Y?= =?us-ascii?Q?uD+MbF9hK/c7A1Zw7yTfYJv4C8BlRxvLLQNuSCwViqH9o3208cX4El7u6n4h?= =?us-ascii?Q?Q80=3D?= X-Microsoft-Exchange-Diagnostics: 1; CY1PR0701MB1726; 5:uoZcKxvx2BTSanx5uuOWmaoCfArTFjhjdKqckywHCXJBkEVuveLGg/MFIFnS+/bjNZ0QWYmpdTdkr1kLRT7NSlVy0h8iGN6sXupCVIb7b0CMMULPVIm21c48gMVO8ufITwf8Zl97VIHr17yyss6kHp3ZONRsPW6LXqtqePUPzehjuxmrFfmfEvzOOCKv74XaosAuFIVolIqZshqbEkQXyT49Wy/+6lmDAnJ1SyTfK2r2Hpt6iEyBcTtluxJ64smBubp5BYsIaJNTSgRacvSKp7fcFtHeF/WKCdtPQKWZT+9yPsmd7u8u6h2tjYCGgZyosicB4PddB1hjqWm/eGeispgvCM8dcmjembbto23sKBKLNCCXeoc8VZiZeXTxcssSOq12bHEdRy5Jq8HqTNcMUX1ZGhojIqo4P+R90l20wUsLI0P008O4iesxrp0Unxs4u72lq+AheX/bLW/a1fQHEBUUlIijwG3Gy0jDLDoGu3slj6YJQqE1m2b+Mv/sY0Z8; 24:iOckXUv707Tx9iN4fDbY82f/mm+CUW+L3ofEQaUOE5K7NRjL1y9Qj6hQl0HoOLRBhRjktyVoPmZEpi4sP4V938+gl+Xmq6ONKx3VEMiXeYc= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; CY1PR0701MB1726; 7:EuNgptB4sTDxqQZ5TWwVc/sqzR2WFwqzMCGh5m+hmn0j27S8bgWNo9g9tzHUZZNnPJOKlfPve/kUHXOiuqX4xk4Q6Eh0+xKScAJTPfJLBRaUaNumtsAzuxu/jGJOocWvoE/ILwskExTmhCBYBYnMM4wEheYoBSFF/NnI7vdmm2u4MsODAXb2d8KYwngJ72r31A/cNNNvghlR0X3id9Ju+CAjaK/FIv17rhJaQAEpZjIbhsj26h+dDBF6mQyJeYuvqI/1m04K3iPNM6qgeNkT0Eqc6Pvezk4cEBumVG0FC+kK+Mgc0F9KoHvncYeTRC8NZFbfWwxNt+TKmSsMjuFlx1Jn4QeS4O+doPxAB13bzi9xBmtRvhYjK03D/SoJT+Ltqv0dbsnYLn8vP79vo+ESZMSBkwTuDoDzO4GZm9tqjHRxBI+5LAR0/4+hFmlKFBYiwmzre4yxOGjbLTxxMoxZUjOb7jMlCznXg70DlNK/rbAvaoOilwEb684r1JwK3Yn9dHxQKFuA0BvGzESsjzySiKT63hyS6e2Cf9FzAQj3vK9PqV2Cg1QVohRFyZmHu6Jcz/jP8Q07ADfYFd+SZbx22r8CSDSZ0FOuoYzkuXwt/Cvu1jNf3lmr9fRtIrrrVwmhjap7eyoq5+RWw/Wp4qfqiNrF7fnGzqPpdWzTWJRABJy0OGbcyec/zjhxhTxFFbmltolzLZYisZGMPSjRv21sBB8/i7XfG/pjthtfLIFhzI/bfO8UeN/HRAIgG+uVt3NC4nbU/eqzlJQhB+tdna9lZgX5veub5TuDeFd+CYoQ3Fo= X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Jun 2017 08:42:16.0320 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR0701MB1726 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: Wed, 21 Jun 2017 08:42:23 -0000 -----Original Message----- > Date: Wed, 21 Jun 2017 09:25:25 +0100 > From: Sergio Gonzalez Monroy > To: Hemant Agrawal , Jerin Jacob > > CC: Thomas Monjalon , Ilya Maximets > , dev@dpdk.org, Bruce Richardson > , David Marchand , > Heetae Ahn , Yuanhan Liu , > Jianfeng Tan , Neil Horman > , Yulong Pei > Subject: Re: [PATCH v5 0/2] Balanced allocation of hugepages > User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 > Thunderbird/45.1.1 > > On 21/06/2017 09:14, Hemant Agrawal wrote: > > On 6/20/2017 9:11 PM, Jerin Jacob wrote: > > > -----Original Message----- > > > > Date: Tue, 20 Jun 2017 15:58:50 +0100 > > > > From: Sergio Gonzalez Monroy > > > > To: Thomas Monjalon , Ilya Maximets > > > > > > > > CC: dev@dpdk.org, Hemant Agrawal , Bruce > > > > Richardson > > > > , David Marchand > > > > , > > > > Heetae Ahn , Yuanhan Liu > > > > , > > > > Jianfeng Tan , Neil Horman > > > > , Yulong Pei > > > > Subject: Re: [dpdk-dev] [PATCH v5 0/2] Balanced allocation of hugepages > > > > User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 > > > > Thunderbird/45.1.1 > > > > > > > > On 20/06/2017 15:35, Thomas Monjalon wrote: > > > > > 20/06/2017 15:58, Ilya Maximets: > > > > > > On 20.06.2017 16:07, Thomas Monjalon wrote: > > > > > > > 19/06/2017 13:10, Hemant Agrawal: > > > > > > > > > > > On Thu, Jun 08, 2017 at 02:21:58PM +0300, Ilya Maximets wrote: > > > > > > > > > > > > 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. > > > > > > > > +1 for option 1 > > > > > > > > It will be a issue and undesired dependency for > > > > > > > > SoCs, not supporting > > > > > > > > NUMA architecture. > > > > > > > > > > > > > > > > It can be added to the config, who desired to use it by default. > > > > > > > Yes I agree, it cannot be a dependency for architectures which > > > > > > > do not support NUMA. > > > > > > > Please can we rework the patch so that only one node is assumed > > > > > > > if NUMA is disabled for the architecture? > > > > > > > > Ilya, I missed that libnuma is not supported on ARM. > > > > > > It is supported on arm64 and arm64 has NUMA machines(thunderx, > > > thunderx2) too. > > > > > > [dpdk.org] $ dpkg-query -L libnuma-dev > > > /. > > > /usr > > > /usr/lib > > > /usr/lib/aarch64-linux-gnu > > > /usr/lib/aarch64-linux-gnu/libnuma.a > > > /usr/share > > > /usr/share/man > > > /usr/share/man/man3 > > > /usr/share/man/man3/numa.3.gz > > > /usr/share/doc > > > /usr/share/doc/libnuma-dev > > > /usr/share/doc/libnuma-dev/copyright > > > /usr/include > > > /usr/include/numaif.h > > > /usr/include/numa.h > > > /usr/include/numacompat1.h > > > /usr/lib/aarch64-linux-gnu/libnuma.so > > > > > > > 1. There are many machines (arm/ppc), which do not support NUMA. > > > > https://wiki.linaro.org/LEG/Engineering/Kernel/NUMA > > > > I did find that link too, last modified 4 years ago. > Despite that, I could not find any ARM references in libnuma sources, but > Jerin proved that there is support for it. > > http://oss.sgi.com/projects/libnuma/ > https://github.com/numactl/numactl Those Linaro links are very old. ARM64 NUMA supported has been added in 4.7 kernel. I guess we are talking about build time time dependency with libnuma here. Correct? I think, Even with old arm64 kernel(< 4.6), You can build against libnuma if it is present in rootfs. Just that at runtime, it will return NUMA support not available. Correct? How hard is detect the presence of "numaif.h" if existing build system does not support it? If it trivial, we can enable RTE_LIBRTE_EAL_NUMA_AWARE_HUGEPAGES if build environment has "numaif.h". Some example in linux kernel build system: http://lxr.linux.no/linux+v4.10.1/scripts/gcc-goto.sh > > > 2. I could not locate it by default in Linaro toolchains. > > > > 3. Since this is not a common across all platform. This option should > > not be added to the common_base or common configs. It can be added to > > any architecture configuration, which needs it. > > > > So is it thunderx the only arm64 to enable this feature by default? > I thought the dependency was the libnuma library support itself. > > Thanks, > Sergio > > > Regards, > > Hemant > > > > > > > > > > > > > > > We're still don't have dynamic build time configuration system. > > > > > > To make get/set_mempolicy work we need to include > > > > > > and have libnuma for successful linkage. > > > > > > This means that the only option to not have libnuma as dependency > > > > > > is to return back configuration option > > > > > > RTE_LIBRTE_EAL_NUMA_AWARE_HUGEPAGES > > > > > > as it was in the first version of the patch. > > > > > > > > > > > > There is, actually, the third option (besides 2 already described): > > > > > > > > > > > > 3. Return back config option RTE_LIBRTE_EAL_NUMA_AWARE_HUGEPAGES > > > > > > from the first version of the patch and *enable* > > > > > > it by default. > > > > > > In this case anyone who doesn't want to have > > > > > > libnuma as dependency > > > > > > will be able to disable the config option manually. > > > > > > > > > > > > Thomas, what do you think? Bruce? Sergio? > > > > > It should be enabled on x86 and ppc, and disabled in other > > > > > default configurations (ARM for now). > > > > > > > > Agree. > > > > > > > > > > P.S. We're always able to implement syscall wrappers by > > > > > > hands without any > > > > > > external dependencies, but I don't think it's a good decision. > > > > > I agree to use libnuma instead of re-inventing the wheel. > > > > > Let's just make it optional at build time and fallback on one node > > > > > if disabled. > > > > > > > > That is the simple way out. > > > > > > > > Sergio > > > > > > > >