Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752559AbdGMPkW (ORCPT ); Thu, 13 Jul 2017 11:40:22 -0400 Received: from mail-sn1nam02on0071.outbound.protection.outlook.com ([104.47.36.71]:12611 "EHLO NAM02-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751201AbdGMPkT (ORCPT ); Thu, 13 Jul 2017 11:40:19 -0400 Authentication-Results: arm.com; dkim=none (message not signed) header.d=none;arm.com; dmarc=none action=none header.from=cavium.com; Date: Thu, 13 Jul 2017 17:40:00 +0200 From: Robert Richter To: Marc Zyngier Cc: Jayachandran C , shankerd@codeaurora.org, Ganapatrao Kulkarni , Jason Cooper , Vikram Sethi , linux-kernel , "ganapatrao.kulkarni@cavium.com" , Thomas Gleixner , linux-arm-kernel Subject: Re: [PATCH] irqchip: gicv3-its: Use NUMA aware memory allocation for ITS tables Message-ID: <20170713154000.GA18024@rric.localdomain> References: <27b46938-ae23-9750-e0c7-09fa472d3297@arm.com> <09fa2b5a-9039-0902-4f57-6a6c2a5f7c37@arm.com> <6ea9d5df-d15f-a8a6-2442-e2f628b29816@codeaurora.org> <03162741-2ddc-fe3d-7f5d-4eafb8209ef5@arm.com> <20170711084855.GA4193@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170711084855.GA4193@localhost> User-Agent: Mutt/1.5.23 (2014-03-12) X-Originating-IP: [77.180.124.15] X-ClientProxiedBy: AM5PR0202CA0020.eurprd02.prod.outlook.com (10.173.87.30) To SN1PR07MB2349.namprd07.prod.outlook.com (10.169.127.15) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 4d97faca-c0fc-4b41-e82c-08d4ca057348 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(300000503095)(300135400095)(201703131423075)(201703031133081)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095);SRVR:SN1PR07MB2349; X-Microsoft-Exchange-Diagnostics: 1;SN1PR07MB2349;3:pArPvn0cIH9rGJN1QJN7UkEoglcFdgFPVXkCtfGe7SwRcb7Vhhpr/Yn0dtO6MOXyZz973jGGgOT6PAx5QkwQteJP0TmZBAdB+jKh2U6pmqEl6ofEDq/FNYKqzOp9LqtHl4K/2SRv+Qg8fBCxInk07rCXv+6n4JY9p0gpbq6zcdLTMifo/dJU5WADc0hgqw4TMd3J6z0tP5eKBLincL+AxtH0C2wE3fAb7SI4Fl+ckxqrxRPMfpfkuRC+qk54F6WdJ6qin+vNpbw3zCylX1WJGEWxHdOkibcZTK/ux0O9XN3512pA+Tw4zPAeMgWnHcph6C9lUJTKdnR725p9LxUTGIp1DJwBzGOguv9Z7+1obrW6QU/f6OEsws70VSvfOFovxQozsrvrs05U4yy42Mu8njUhpqyRPqXdW8jfW5sumWpaJgSUZDlhGGYEr2s6nqTvroghs1EuIcgh5/vd3hP8Of4VXQRN+58HflX7IAKhzEywwazIhnPlnsFFVRlXDvX2dYvZlcFLTROupJk3oZkXIUSXMB0kDbBQDRPpZ5oJDlfUb5zu0kD3yDP8OIZq+NB0RR6aw96rvjitPBnhRR2zbVjbtJGUnsfKKSWQ9WRrGZgx48Ful2NMjKDFHsIX4G3W/j1Os1VudS9+Bqb/kHJ//t6NzYnQtKA3UX73zYgAYIY+nTsud7J5E6cIrgL1DizPwHhfeIoeHPzyVc3Ayq7GoJDHzlremPCAux0uOcPuj4Q= X-MS-TrafficTypeDiagnostic: SN1PR07MB2349: X-Microsoft-Exchange-Diagnostics: 1;SN1PR07MB2349;25:u35xt8P7r6Yg1vI6zAgzfO8bI0zwzAOvtZSN1PrDljW79eQvK1Z77TjkS1masRKo5mOexpCKHbR8/brZfP0JgVq8bypluZYUzLSv2vpYPF00ZfG+5rxYtafDoiRYN3Z/cCi7B8woWu6aXbC6exNTfLptASuzO9+pkERavgFoeCH9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zsFpIFSry8zn+7j7j2wtHzCISIY7pcIc9svl1/BnTPqtt4f5Q1BSKIJYsZ8cA/xCOIbDxsaXptdo3/0cctd8oiHkyTjs7X0YFqCkcreYSQvruwOWpzPJEJiQTWojHTByg1bsEvA11j2i5Pgo6R28fcqzC2Xsq4Vk5m7zQOAWE2VwX9x/ucIQuAQKQo3pFdeTLbjTA9+kB2irj6/UwiV4Ikx3eW/JW42PGC0SgHRGTXh+ZAujHLtqrEU1Zc66Pd+aW08D5iY3RyDCBa0j52iUUsbYYuwX+V+zrEYL/yl8cTPGxDUjiZwOYbtnBJzKEi+Lp30ILEiQJh4/oUIyan8Hk3mMEKomfQsY5dwn9ZQ5HJQMAu4CFFgb1VKf98NFH4wmiLtkbxnSKUOf3dFsx+MIV8RdrdyOI3g= X-Microsoft-Exchange-Diagnostics: 1;SN1PR07MB2349;20:RYdiPYaMfxAtWY2WE4SHDSZqYSabRB+5zuQi7UOfnguf/+OI+ZdLFqk5hhLCq2JJsiWxa7uqi0bGit7gzEvXwTLD9k/2szgQotk9x7/IXZsWkflHs3Jxb9SimHmF2KeSEjlwgF8Dpkz9P2aJSCDShlS3fyI+F/CvIN9xWjkfx3C9USzZmEkLEwYklvYa6IZytCLaaBGW6UChzWNV9lrMzMEZ2EKXN2Jb0XVath6mIbBFSnVNKbqy1P0LzWvPFIFhej3P6Vk69/5QMy/a6Ceenzwvm9voMZwdljcAjMc3tMtQvz6NT9DLeIs7k1hTYwUzR0RoAdxYMiawbimtprLD8fuSYU9IcCdXXdDNJ8mZYdn4Rmu05Um54mY9aJHYcrLksl7v4d4EaqMBq6VvN1mlFY0xeFCwZKMHQpeAlHNQt3hwCh92c9yk0xmvAsnp/n4hQ6uKz67n1pdDpQBPeU2YceOQn0gdyMHzg3KIdv5rSCnwi4lX/Ux/Tcj663+KW37Z X-Exchange-Antispam-Report-Test: UriScan:(158342451672863)(236129657087228)(48057245064654); X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(2017060910075)(5005006)(8121501046)(3002001)(100000703101)(100105400095)(10201501046)(93006095)(93001095)(6041248)(20161123564025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123558100)(20161123555025)(20161123560025)(20161123562025)(6072148)(100000704101)(100105200095)(100000705101)(100105500095);SRVR:SN1PR07MB2349;BCL:0;PCL:0;RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095);SRVR:SN1PR07MB2349; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;SN1PR07MB2349;4:pv0DyVr7MATPBqKvFdB/1sVdWHCE2qeuVpBa2qTCro?= =?us-ascii?Q?AVNcNIUA9InnGUBqNLkh2+zZJVhDuingDqb5DJz2C0ctzluxuo9u92YK8D40?= =?us-ascii?Q?JvukqaSSPsw/aDCkfGyXp5mZX2dHax1z0Xnp9+RaQUBFaVf25zK2DoEYJfnE?= =?us-ascii?Q?xdjVIbaqcg58Pts5w97SOTSDsWq2MOUXYJ0XfshYUD9z/uHLujbRwprYVBfF?= =?us-ascii?Q?8H5yIdBFh15xnqjMMGuCU7vE/6XJDSgCClZQsSit6qH5iZQRjig7NTerg0q/?= =?us-ascii?Q?dme1zKXaeG+9XCq7/ooYKzaBaQ02dfi7KyMFub+GGt+lZrDZCb0Af53JfWJ8?= =?us-ascii?Q?uexqhiru40NntP2/R0OlIlvAlIC+o7zXkmQj7c8ZisQf2KO9/gjhM9uYAAlf?= =?us-ascii?Q?l5b/r0r/a0ywnJ9G2jmQ47Htb1KApqYGlIJDPehn8Lgm4StWYqd9zQta6ugP?= =?us-ascii?Q?fE9/byCaR7q01tZL7DvXzyH0mJmFMv7boW03bDIeuY8bFy7z4D9l9poVcH9w?= =?us-ascii?Q?9oX0ENSJrGxHg7pbvh4QZdabVI46UPmNOKwpMBoNQslt4H2xDpjrQhw3mHit?= =?us-ascii?Q?Z7ubyoCJYUYrkshOcVPjDeomj37lSdiyWFQ4ViFNQvKEsWdS3y08EMmA3O9z?= =?us-ascii?Q?+kOkILbx4bOFdlfdaSBfabyg4rjRdzZzfsil4ldHAgPYgrbSmO4cl5O7gjaZ?= =?us-ascii?Q?OSjqCPV01Yj/L/j7vtvV0Un0cDE4NR3QGcu8V0sEQbpXSbSLATfneTdUFW7r?= =?us-ascii?Q?oP+2dfOtdKfh5uJz1ketalCpLnnekffJG509c7UatG+Aj7Ee75LBBWsW8Lx6?= =?us-ascii?Q?GQoSti15XSykf+vuaL3LI2xNxzchtEfbqvlh59NJlQrXFhbaXyPgsOtQmxeZ?= =?us-ascii?Q?lA2n4xwh6mVP8cgFJAt9Wr30goyNfWIcKc4inSdsbEHLhOilrWPF5PTBuOeO?= =?us-ascii?Q?rs97Ot/K6G4qCzEE+CRf8SpcnDvYC+FvJasOIp0qVrzLhXhitJqlut9A3ksx?= =?us-ascii?Q?Qw6jn8YjTcx1UbOJG4/LNklHzyTJ2c+li/ViefbzZU93+61JZuvasJfjRUdh?= =?us-ascii?Q?fqtndzLCiBbK2lM7QYlRwUikZKf+tldc6K4rKScYV3Q7bOMi2hfmMFMMBJo2?= =?us-ascii?Q?xIqjhD74RXDFnPuaHY0yJC5aCHRT+Xd7uP5iyH/Z+jB5BBbZHemaCwiSzztM?= =?us-ascii?Q?M+PT/g3BdWqQUYUWa8P4pcTWibAWJE7NjI1jVkfiqwr9hm+dJ/7OGWwO+RSj?= =?us-ascii?Q?XmabpAFrQBKbC05mjI8r5aqe0oo+XlbXayDvbS0FyWWxhlUOq4gxOozLwYhw?= =?us-ascii?Q?=3D=3D?= X-Forefront-PRVS: 0367A50BB1 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(4630300001)(7370300001)(6009001)(39840400002)(39850400002)(39400400002)(39410400002)(39450400003)(24454002)(42186005)(25786009)(55016002)(305945005)(189998001)(6116002)(66066001)(6246003)(7736002)(23726003)(83506001)(4326008)(110136004)(3846002)(53546010)(38730400002)(47776003)(7350300001)(81166006)(33656002)(478600001)(93886004)(53936002)(8676002)(50466002)(54356999)(2950100002)(4001350100001)(5660300001)(86362001)(6916009)(2906002)(9686003)(76176999)(229853002)(6666003)(6506006)(54906002)(50986999)(1076002)(72206003)(18370500001);DIR:OUT;SFP:1101;SCL:1;SRVR:SN1PR07MB2349;H:rric.localdomain;FPR:;SPF:None;MLV:sfv;LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;SN1PR07MB2349;23:YIV68UISOFlv/hy8XI2FsCxzZn1YpiGu9lZG3h/Q1?= =?us-ascii?Q?U0YTFKMsnOoWrjbje8UC4SV539prtXxvObWCdgBhVhWhIzedkRvkQi+bjomn?= =?us-ascii?Q?0ETLWO5etQy2cK8F+U4GBS5J0aYGr2B/9XFESKqD48ZDjgkmhcv7wjUcqzOT?= =?us-ascii?Q?QdfatAwaX0V/Wi2+mRrSfaNF9lYYDzyUx6KL62SFlfvu5H8ivWSYiBui/EYe?= =?us-ascii?Q?LhsndvHF53mdjqc80D+S19OakEV/kTQIG8mOC57P521+dziBqf8SVC0q2N+9?= =?us-ascii?Q?VBEDWJwHebB08imiMAbsruRKI5lcAXV54om/Us3Xd5PFrRQyN9TZovPtMzcQ?= =?us-ascii?Q?xxgvM2ivb0oVOCI9icYsIq8kkfv2FfO1rY4chZo84PDWqup2ao2nIQusgtmB?= =?us-ascii?Q?eB/n2Qr4c5j1jLABDm3HHWtEoAuVWIELsSBMgfpkGok9K41sBceBwa6XNXRQ?= =?us-ascii?Q?JJ3l2+q9gB8Hc3byR15ZbBH8WDaxmyovOj6XGf2VJFAVlaxO4BwXrT+6bAlG?= =?us-ascii?Q?VgIsum3qay8kXFhPDpaoxGI7BJxh7dO2TjjRDuDa8Bi9bqgvTc/tN/bBOCZB?= =?us-ascii?Q?yskxlXxO3FWymFeOIPR07Q1XNAnK1VO7Yy9l4cO65i01cCv9i99C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R66MpqYK1ZqQkZo2h4+8fKVqxEqUUcjmTBS?= =?us-ascii?Q?ue0/kH5IlVI4lTWMcFzUCe9N8Rbalx2i9kSDCx9HuUGlQuLxrdtygOGE+16k?= =?us-ascii?Q?1dCL68JjYwlJZ2JXz+RDkYwHcuGk9MU/vWVAvLmhCt0aQQuKb7/6R1epFiWm?= =?us-ascii?Q?YVE5Q9NO6D13Z5WaUOTYK1v9mxYP5uGK//NKxkwSrZUdPHbotabuRCnb11e5?= =?us-ascii?Q?gfIHxAIonBXnDhwWqHjyWGpquwjinkm9ZZz0jRIb7ax/qEx+x55pJa8zuylW?= =?us-ascii?Q?ce5nt10WiwL2l+U7tO8DgAgnA+KP1O4S+7gjURSTXsQVnWHYVl+QidqlIATn?= =?us-ascii?Q?orUR4n47wlsXH7dCDndyMnjRwFcwTRv0Suu8RMU7gKAz3yvTs5jDstIyn8fC?= =?us-ascii?Q?6Re4MP5q35g78weW7nwajNAsdEiCSwttXQzlNtN85cCqWuYjo39/U1dkqiqh?= =?us-ascii?Q?tlPWE1GllO8wJHRABO/9+RZxo2GcyCVpsVzF2XmeRDQRFMlyNjluUbrHOp7t?= =?us-ascii?Q?lETGgXNTpryaEtpq8Benjakf5Mj9ghIfv+2/7F/MzQlbxDPnL9H1DX6hoVVb?= =?us-ascii?Q?KIkBFoi3BnaWLPmNy1UQH6AaBqNrZXeWeG/eui+34xF+6ubG2hvupc6OOBZj?= =?us-ascii?Q?PTv6dPO33GvEvjav547SuIH1Z7rY+KapXA9vc03FFCS3oMeTIuyLtlIEHiua?= =?us-ascii?Q?QnYmJBxi8Uhel6nU1XG9dkK84SzwMSRFSO2W6SDtEpNcMs5Zep4nH7DM1veq?= =?us-ascii?Q?0LP/nSbPG8h5St9yB4qrIZ0RAx0Tl7XjHt1bSWk8WZr68U6cENzHkgqsTr2r?= =?us-ascii?Q?g=3D?= X-Microsoft-Exchange-Diagnostics: 1;SN1PR07MB2349;5:jDVfHlgRvBuIj5NiZZSjE8uMnGAAS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YsDO7wfBMbRKIRJwzsFBSJqjSQ2a28x7rmSAZOeQoIYbR4GvSBHM5ttZe5qqNzdrr6vtZhveSCG2qCbZm+H/8eNsQtNL5NDh3Wpf+SM7JQH/3nFQcRczQlh9pOnNPrwHszTT3fojF9ymQUZpU0pKI+YtSEfzE/uWAns0BkvdtK0CO1W9/Sfw9mjHefNuQXx3K5fQFLKRxy/2kT6NdIZkcQNvnv21dFhrjXJ7zj+CKC2xFnol6qHS8zDb6fvcTk6P+hDGk3rBa9Xaj3uGN+MHQNbR2RjIAjtsNdU45DsqZKT19eccvA/mbcLMCWaZ2OlP/K51YhoWZ1/ecnxtPRIxd8JubRnhcbU2xYkAJljlql1io/4AgdbcbZozjj2xFHYyy7YLk+2Fc= X-OriginatorOrg: cavium.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Jul 2017 15:40:10.5605 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN1PR07MB2349 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2444 Lines: 46 On 11.07.17 08:48:56, Jayachandran C wrote: > On Mon, Jul 10, 2017 at 04:15:28PM +0100, Marc Zyngier wrote: > > On 10/07/17 15:57, Shanker Donthineni wrote: > > > I believe ITS driver should provide NUMA aware allocations just like x86 Linux drivers. How much > > > performance improvement we observer is based on the individual SOC implementation, inter NODE > > > latency, inter node traffic, cache capacity, and type of the test used to measure results. > > > > > > Please consider this patch irrespective of the test results running on a specific hardware. We > > > need this patch for upcoming Qualcomm server chips. > > > > "I believe" and "We need" are not a proof of the usefulness of this. We > > can argue all day, or you can provide a set of convincing results. Your > > choice. But I can guarantee you the the latter is a much better method > > than the former. > > > > If you (or Cavium) cannot be bothered to provide tangible results that > > this is useful, why should I take this at face value? This is just like > > any other improvement we make to the kernel. We back it *with data*. > > At Cavium, most of the ThunderX2 boards we have are multi-node, and we > are interested in enabling NUMA optimizations. > > But, in this case, we do not see (or expect to see - given the nature of > access) any significant improvement in any standard benchmark. Ganapat's > LPI injection test to find interrupt latency was probably the best option > we had so far. We could come up with another contrived test case to see > if there is any change in behavior when we overload the interconnect, > but I don't think we will get any data to really justify the patch. > > Allocating the tables on the node is a good thing since it avoids > unnecessary traffic over the interconnect, so I do not see the > problem in merging a simple patch for that. Is there any specific > issue here? > > Anyway, for ThunderX2, the patch is good to have, but not critical. > And as Ganapat noted, the patch can be improved a bit. Also going thru > the patch, I think the chip data is better allocated using node as well. There is another thing to consider here. We will need cma and devm for ITS. There are only a few per node allocation functions that can be used then, so per-node allocation should only be used in rare cases where really needed. I am going to repost my cma device table allocation series after the merge window closes. -Robert