From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-BN3-obe.outbound.protection.outlook.com (mail-bn3nam01on0087.outbound.protection.outlook.com [104.47.33.87]) by dpdk.org (Postfix) with ESMTP id A5D385699 for ; Wed, 21 Jun 2017 12:30:09 +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=wLmoh2neHvYNDMUiyATuTFsH3gA1LpQEZWDIH/f81zw=; b=Bm1DHDXhZHtP8TEJjcZFzY/8O/2efkLdf1xBUsX3dp/xLGyhUwWWarwFw+Ilds1NYiGWV89wp8HMU7ERXRekmJ2Uxd3Pb4Tbyuf6WxetwC+/FSbySSVlFmTwaoPO35m0ffcYySaQxpU+o4lIBoCl7Y7BQyrJp21zJ39d8pJvo+g= Authentication-Results: monjalon.net; dkim=none (message not signed) header.d=none;monjalon.net; dmarc=none action=none header.from=caviumnetworks.com; Received: from jerin (106.201.119.209) by BLUPR0701MB1714.namprd07.prod.outlook.com (10.163.85.140) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1199.15; Wed, 21 Jun 2017 10:29:59 +0000 Date: Wed, 21 Jun 2017 15:59:41 +0530 From: Jerin Jacob To: Thomas Monjalon Cc: Sergio Gonzalez Monroy , Hemant Agrawal , Ilya Maximets , dev@dpdk.org, Bruce Richardson , David Marchand , Heetae Ahn , Yuanhan Liu , Jianfeng Tan , Neil Horman , Yulong Pei Message-ID: <20170621102939.GA27670@jerin> References: <1496736832-835-1-git-send-email-i.maximets@samsung.com> <3795576.X6Zydzo19D@xps> <20170621092744.GA26030@jerin> <2845661.r9ChRO7rgB@xps> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2845661.r9ChRO7rgB@xps> User-Agent: Mutt/1.8.3 (2017-05-23) X-Originating-IP: [106.201.119.209] X-ClientProxiedBy: BMXPR01CA0030.INDPRD01.PROD.OUTLOOK.COM (10.174.214.16) To BLUPR0701MB1714.namprd07.prod.outlook.com (10.163.85.140) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: e77f4a17-c245-4631-a0b8-08d4b8907d6e X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(201703131423075)(201703031133081); SRVR:BLUPR0701MB1714; X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1714; 3:K5RBuHhgqYIw2NIaUdcKGQmGHsVxWjMboCvxBPo0S3bXLB76OZv2FGgo6vDqlAevViqBfSxxtcZrsTPzgNVQWjzeKYConCNib5X/wskPocMdNzRsaxT0XKKKh9tIS1HAid4yOPiC2xsIXuSJnqVjFRImMctA32W4bNTzS8RI4klPgq4OrRsk+2toqktVoriy2W+WTWLhOU3OzUDlz2Ehyc1ItiZ0NNAd2bs8g0mr5XjnXtYKCKNzR8S7Lj7XvpduRrH6t0mgMswILpmjbw4PscXKpmGMi1qx7N+7drhf+pHAiBD2TUIW2f3I00baMloCIP7mJQZ7rqOyOnZhYaSLxw==; 25:FwcVuQrdxUiUHpnJspxX9EIah57yD+H+Lyu5a4h2JgbJ+mXSysswSGdVF7vM+7X+tl0rbPKlBwg5tYAD9LO6XCi4oAn12j7qkmlhwOG+ETtCjHvpHcSqiHYRGlcfQNyj0OdzsM1OXytVEft3gVXBcLR+fO0hhdhW6Y4mtsXXRuTKdgw86+qGJiiiaj440xaUnPSPS/qIBnQ5l4PwM5mwgfr6Cxp0vmU9mWaDnnlhkjgOQGNGJy0ctnufu8nsYBtpBRtLQLQ1G8eAatV44UZDznKYYSaQm9t5AH550soLhwtyxgm7VLRNAfSCLNe6blwepJ8wZrDfmKsadoaF3ZFLpgnaP4S34E4MRr9W+UAmWahh8GOAY6ndWYKNmmQb/J+OrKQqL4XtqUZUZAUhl9my8ytimqroEh4l6pwsB92aPDvK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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)(8121501046)(5005006)(93006095)(3002001)(10201501046)(100000703101)(100105400095)(6041248)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123558100)(20161123564025)(20161123562025)(20161123555025)(20161123560025)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:BLUPR0701MB1714; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:BLUPR0701MB1714; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BLUPR0701MB1714; 4:U45wUyQeKfysn8DyaCS7asqmn3kDLHQfeaed+ND8?= =?us-ascii?Q?CKbffi3gDWPQo00J0hwMuFsJ3gzdn1an47MA3nG9uKBvh++k7za1UpOzSqIZ?= =?us-ascii?Q?KQ4zF4u1OK/KEJpUcDi1qWbnFWbfK3qOm5NbkydHi3YYHskU7ySkF++6UDiB?= =?us-ascii?Q?Aou5RWPTJtEVrpni6Ffpu5wxVmI/LRkNtOalqNOhWfvSmMHtsfc62UMZdRuk?= =?us-ascii?Q?ZbrwEunUBQATzi8bDPCIJvmn0LSdTxZOkwnkftuTO2ILWF9AuEBlYZawZ+WI?= =?us-ascii?Q?ucaUdQYkt0tmjdBWk9bdGG3rCCLVe5H0PrIe5r8aZb1DJec8aqtnEtRCYopH?= =?us-ascii?Q?j6wWWOGgATd6W2+ywcmvzannU25tT4TmDV5hYRgxDxrTRR5guDbYnYRQ/TpD?= =?us-ascii?Q?gre/jkPapdOTVEOfpmqActlXJ0ZGEufI23P+MSSEsWkgh/FUeuP9nvhPguqG?= =?us-ascii?Q?6BYkpCOgXYGaU3hOCN9/Mau2z3eGe8FiwlodBAzvkqBZN40CJejwftk7+u80?= =?us-ascii?Q?LRde4FgJA/twdCQ4PIA/VG7ddQSACZZEMED/U9Ala2v1ti0TlSsLcUpICvUM?= =?us-ascii?Q?DolmePqNcaJKswvaL5j+kKvk/Y5XrKB9RoVpD4i01zwqRPXrApOs9ucf6zPI?= =?us-ascii?Q?vpkaCdaHAXKk2urxCekpRFpuNmFPUZetQfbBD6lUwkL3B1ym1TDgs/QQB5Rr?= =?us-ascii?Q?TUGHM0wpZk0X2dn7eyhrD3gLLYvoRlbDB9x1tNK07N1XgCt4aW70RW2D7nkz?= =?us-ascii?Q?mmeOj0q7RNAHdbDhcLg7j+FNJ000RayJ1OHylPkYExCS+kiOj25yYqQRH8w6?= =?us-ascii?Q?mmzDefNfGWVF806KJRbBIwOrKCwDP+PVrRCLlA2liKj0v0fLC7RxdvcqPfgG?= =?us-ascii?Q?KlxEzb7PSZmkWhXhOm18FTpDt7HBpKGVj4s5HZR60sfYvN1x8pvQ4pIzK7zu?= =?us-ascii?Q?2EWUAN80QfIb+ULTUXQU5mzRHHpTF+LuKT8ANgwDnVA6E7bvRGhnIEc51muX?= =?us-ascii?Q?8HOtJVDjKmocOVPqkyCmJybogvRebkSmV5dvwmRqdIfA+wFMYGKvKKyg3fp7?= =?us-ascii?Q?rPKLh54gXcmgcSjQd7Fehtu18676zM7HpuPPj3MFzf1P+xoPnmbpujxBegHJ?= =?us-ascii?Q?lpLDW3SeBm+K+t5rkG0gvWkq+PkOB57MNBRrWd0gxORVTiflGG0j3wUi7IdM?= =?us-ascii?Q?pFo4xGvPvU6J6IVFe9QtEUD6tZXKItFy9xDd5u06rhbltym79yCcvxR9zeeM?= =?us-ascii?Q?3mGUOGx4hFW2W8XDVTZvqcs0WERl2mRXns4aSUV80urWLrg6PsBy7Mzac0xS?= =?us-ascii?Q?yVAezoIHkBuo22pB0m5Bz2U=3D?= X-Forefront-PRVS: 0345CFD558 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(39400400002)(39410400002)(39850400002)(39840400002)(39450400003)(13464003)(23726003)(1076002)(5009440100003)(305945005)(72206003)(966005)(4326008)(7416002)(6116002)(3846002)(33716001)(66066001)(83506001)(478600001)(47776003)(33656002)(6306002)(9686003)(110136004)(8676002)(81166006)(50466002)(50986999)(76176999)(54356999)(6916009)(6666003)(2950100002)(42882006)(189998001)(8656002)(55016002)(25786009)(54906002)(38730400002)(53936002)(6496005)(4001350100001)(42186005)(5660300001)(7736002)(229853002)(18370500001); DIR:OUT; SFP:1101; SCL:1; SRVR:BLUPR0701MB1714; H:jerin; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BLUPR0701MB1714; 23:HF4ZuazqPCGUlfjUscj49pZBJ2N75J68u27q5l7?= =?us-ascii?Q?UyqPYgoUjEAJMsfWyQz2gs4b2VF7NmylTaiZD059xwughLShbY2ZKZu3bUOD?= =?us-ascii?Q?Bt9QvG8193umuYkhNydmFATEaZoggL6vkJbXMpa3lXhKbgbizEOQ5HmxmpY+?= =?us-ascii?Q?aFwC3qf1EAtKxOdQjk05RJ14fBp4VNYoAwOz6nQHEURjpDbWoUALRYbdQuyq?= =?us-ascii?Q?qzY4qU9cOOzJiGFOoECW0wFyx1F6rlOLrLku/FhLuVPZLhI6x5XPdKBx+Fab?= =?us-ascii?Q?bB2X5tfsKCs10tpEPFUpRwZBP4+QW/wH0AM7p7E1Ba5a50FRiNSCRK+CvO4n?= =?us-ascii?Q?Dh3i9SFaTw+7i5jp6EWWUHiTCkeVDQsqwYzrNUbQC/00GjQsvHUFvvXGNDG2?= =?us-ascii?Q?R/1f9hYNMsxZIZSu5KTXVVA9bLkd9ix/9oC9pv6Dq0xliKgQ3nlFWtIGm78K?= =?us-ascii?Q?WnpOyJLuLJ+PjKEuSUSDERCzGEwqaNTijWwEGQgegG3uFWeJzx9yIbathTdl?= =?us-ascii?Q?IP3BkgOCrpZyPCDZKbEtgNz/ZqoGWpFk3u6OZEYOXpLBxN0cClknqcN9Gloj?= =?us-ascii?Q?OBiiSbmOx10Kd5nOpPpT/0UJnMjr8kXoFCHBapuFxvb2NLdYVJmcHJNxiI02?= =?us-ascii?Q?YKYnt6nl+eHymtz/N2JpoXHGhpfJtuczFThSNYVyXOcoY575dWk4K7fbGUm2?= =?us-ascii?Q?rLc4r8MDErmvYjCiaJ+EDD+SKCKxcA+WXPolwGgEQXxkea9NKSezgdT+Y+jy?= =?us-ascii?Q?sU6SNj4VTJL7AiBHCEqpP+T0BdgvVJ6HMAIxUaGNk9vB6d9SSRBV4rpxwNDW?= =?us-ascii?Q?w38Cb0SeOvfr+p7y/WWfsRfXciUb17LKolEweKDNNzbOURSibr94P+sFIuix?= =?us-ascii?Q?jtDEkHp+UedeVXTrPburzy2K0eycPb0h65Ye6tqMHn7aQFa8T0YAdLxeg0qy?= =?us-ascii?Q?FejfPnJ7iADmM6OPgzoaY9mODhceOlZyIFQacho0KauRG+jduZMAwbdDCncQ?= =?us-ascii?Q?5NiHR/iyzEEbaPSlXTBR1ySEH/gdXz2F7H7105k/HukvbDJ+tZrZ6bMDEa3X?= =?us-ascii?Q?Do7lXAXX3YPZRSQhAAXjV++bnqLQCjSvYgiMpreMPXuJBELXlFi+Xgsp3ntQ?= =?us-ascii?Q?Clv+X9apDKdBSZWjv/WtsOLsXAJQ5RVmK0DALPlvN0ZFVKXLPf/rgWH59gra?= =?us-ascii?Q?x2+P0906pgBTu/Hcd1w3Rt8+gBrZ/mF8iUYv3icYmiVyqtiExVJgzoJnKncT?= =?us-ascii?Q?an34dz6rg2mMkWDzNInZe83/tQZ4erYfdqWHX3PrJ?= X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BLUPR0701MB1714; 6:FcC62hyrlIfDBw0y826uMF+GJRJbGbJVkohXC5bg?= =?us-ascii?Q?1/W+RCoMyB1QC36tpZGiraL61/77Dncop2+J4AHB3ehPDMzSo6RsP/8ssgpQ?= =?us-ascii?Q?ED8VmrawFaU8wHiGgVyK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tguoH7BHn2wtEdn5M/M/4x7DzHu8WzjvjFf7OjR8FKAeL6uu9lXcxgmIFGaSc9IVa8lJQRtRM2Dq+jVkP+f2rg/NLQsYGAAdoEaY3rsrcgS6BoftIOChHQtmFLn1nNwhbKyj7yQcug9YZQuddSItONL87YjYPoDq/lRtRxyfh2u0Rv3DpaftEu+toq96htYZ6ASz0BMFTuUrVX9jZuq34fYHMOe8DIA1d++I0mvyjgflFtLDB2xm5Fl5OJ15hdVWOQI4EXLjoJB2IKvzhEbH2cPOY9NuRkTxAxOZpJyVskqiR6JxFUJ89un9U9lEdjycyZG4BNmcPMYSIY8Twccq5i3Nmfejr8b/br/LrAjdNVoyhE0KZrhq71HVpIHbjWLWLPjoFwXC2gMRATgT8CokCutoPS+okXoTPAxObNxFn0pfBPCDKXfX0I9Y0Qdl8tPw3P1h0zA5DXJCQupgg3SuCh/l5OkIWp4KzoPGTzR2/DoIg= X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Jun 2017 10:29:59.4222 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR0701MB1714 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 10:30:10 -0000 -----Original Message----- > Date: Wed, 21 Jun 2017 11:58:12 +0200 > From: Thomas Monjalon > To: Jerin Jacob > Cc: Sergio Gonzalez Monroy , Hemant > Agrawal , 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 > > 21/06/2017 11:27, Jerin Jacob: > > -----Original Message----- > > > Date: Wed, 21 Jun 2017 10:49:14 +0200 > > > From: Thomas Monjalon > > > To: Jerin Jacob > > > Cc: Sergio Gonzalez Monroy , Hemant > > > Agrawal , 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 > > > > > > 21/06/2017 10:41, Jerin Jacob: > > > > > > 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 > > > > > > I think we should not try to detect numaif.h, because it should be > > > an error on platform supporting NUMA. > > > > I have installed libnuma on a NUMA and non NUMA machine. > > Compiled and ran following code on those machine and it could detect > > the numa availability. Could you add more details on the "error on > > platform supporting NUMA". > > I was saying that we do not need to detect NUMA. > If we are building DPDK for a NUMA architecture and libnuma is not > available, then it will be a problem that the user must catch. > The easiest way to catch it, is to fail on the include of numaif.h. libnuma is not really _architecture_ depended. Ilya Maximets patch disables NUMA support in common arm64 config.I think, It is not correct, We should not disable on any archs generic config. IMO, It should be enabled by default in common config and then we can detect the presence of numaif.h, if not available OR a target does not need it explicitly, proceed with disabling RTE_LIBRTE_EAL_NUMA_AWARE_HUGEPAGES. I think, That is more portable. No strong opinion on "failing the build" vs "printing a warning" in the absence of numaif.h