Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755417AbdGKItR (ORCPT ); Tue, 11 Jul 2017 04:49:17 -0400 Received: from mail-sn1nam01on0082.outbound.protection.outlook.com ([104.47.32.82]:54383 "EHLO NAM01-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1755270AbdGKItK (ORCPT ); Tue, 11 Jul 2017 04:49:10 -0400 Authentication-Results: arm.com; dkim=none (message not signed) header.d=none;arm.com; dmarc=none action=none header.from=caviumnetworks.com; Date: Tue, 11 Jul 2017 08:48:56 +0000 From: Jayachandran C To: Marc Zyngier Cc: 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: <20170711084855.GA4193@localhost> 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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <03162741-2ddc-fe3d-7f5d-4eafb8209ef5@arm.com> User-Agent: Mutt/1.5.24 (2015-08-30) X-Originating-IP: [50.233.148.156] X-ClientProxiedBy: BN6PR13CA0032.namprd13.prod.outlook.com (10.171.172.18) To SN2PR0701MB1069.namprd07.prod.outlook.com (10.160.59.156) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: a38c3a28-064d-47b2-d641-08d4c839b1a4 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:SN2PR0701MB1069; X-Microsoft-Exchange-Diagnostics: 1;SN2PR0701MB1069;3:GbhJCj35b2kEHbbpsipLWGyDcYleTT7ztc6GLOvOimHMdZb/AVxDaTimsSFunPxW6x657XAfIBaEsXFpLaKLGCEOXmUAPFvjX3hzEt2RSUPwRzy6Q0/A0QVSLW6T+xwqHLmu+pCeSqai0BQrEcSNNJXCpoMfgG9/ajmxOXaUl/Dt4bPvSiS8aREMBs34209ShhK3WxHUWCr3I3bBBdgJ4lOJjknThfDiy1rkPO618G70zUSMqLsjb8t+/Gv9bbXa3f/ygL/yqDdlVJfgj/pHjYJGnM6PGymR/2/iaypGwFAWTx37leBuH0NRc6IUfxrQlPdZKmN5hNBBINu0fiFkiqKC/tyNUnY9tSniyrDgbub0Xwb6dAJGAKf5tYCztJnlHuLKpQurlDCQ0frqZljSgNItcPThtWk5DsDbIUYvAYvjylmxmBWSNmQzwul+StBet4PlU8rDU56wmuJf4ka5ThRlh1FtTJmSo1gIZE/MsoAlCWKkf2pLetTCcezMBeM9vzHtJ3XMh/JJ9tpCyhtdVkU9wPB2xNrcnlhz2xtZx7h1EwKCRh8QzvXjAA63cZVqt6+5pe5BREPLzFgxnEOID7J780AG2AF9Sy92vVYYFawJI3xpYzLlY+jlmHPxMYwrQjQ9DcMTbuCaioqA5uJGdulKwwZsUunaPRNYADEJH822DNoNvxpKjqcUbToJOwrjKLpNKtvyMEtMy8KyuKExQknsT6p8675/kBgc9tK/Cs0= X-MS-TrafficTypeDiagnostic: SN2PR0701MB1069: X-Microsoft-Exchange-Diagnostics: 1;SN2PR0701MB1069;25:EBTlBy0Vua0p00DTa4N9xZHlNR1x6GChDsZ1DkIBK8t/43NUNYgeHd0UyQnnJ4Zc9IZhI/Z9YSHcRF3izgI/k1OUNk/BpxT++jZXeYMgQ5XyvCmxwTLmk3GRjQjSZvwzH0bon0SrIqpmh2cISQv3lcJ+jiWZzCpvP0LvcvTeDCc7j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S: X-Exchange-Antispam-Report-Test: UriScan:(158342451672863)(180628864354917)(133145235818549)(236129657087228)(48057245064654); X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(5005006)(8121501046)(2017060910075)(10201501046)(93006095)(3002001)(100000703101)(100105400095)(6041248)(20161123562025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123564025)(20161123560025)(20161123558100)(20161123555025)(6072148)(100000704101)(100105200095)(100000705101)(100105500095);SRVR:SN2PR0701MB1069;BCL:0;PCL:0;RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095);SRVR:SN2PR0701MB1069; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;SN2PR0701MB1069;4:RRVnH6F6LiCJ0NYBqvKl2b0metpwtUlDHFsbozS1?= =?us-ascii?Q?986OVDyHRkBlgfRs8LSv2LB/lsohKGpyIL+/U+HQbonAcOgPzXPOxYY83nKz?= =?us-ascii?Q?whh4DvZP34zChqzUOygBypHAxEoHAvBlISONx7+OLie8twhCFockSH6q9T4E?= =?us-ascii?Q?j+iWg9Bk44Oaw44ZIqn/rfkLkROzNXrHkLeYJP7ON8+VIbPnAkfX2aMRiMGL?= =?us-ascii?Q?FedQ2iENKyDzdT0tH/F4B1CiRfN7uxwmuUhCK4Au6zXlVks32W2/bc2AgviR?= =?us-ascii?Q?2jOJOrdTdQ4UgzNxPgiJpE9h7FDsM5OrE4bh1sloRoUBh05m0mH0vdizXUYB?= =?us-ascii?Q?RFj4btkAcPzEl5lp2WnXqIj9siuaLdCX96aqLEJqvEdbcphXLf84tqVaF41y?= =?us-ascii?Q?lud5Pkm3DTeox2YY3BnBw8AGmMqqkRe2NfTAq9116iLhTuochu2RUmIm7yEH?= =?us-ascii?Q?g6A/7Y60xwTa+AwX/Fg3MfiZK5FdwzK11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am-Report: SFV:NSPM;SFS:(10009020)(7370300001)(4630300001)(6009001)(6069001)(39400400002)(39840400002)(39410400002)(39850400002)(39450400003)(24454002)(377454003)(52314003)(4326008)(50466002)(25786009)(305945005)(2906002)(3846002)(6116002)(33656002)(23726003)(81166006)(83506001)(33716001)(1076002)(7736002)(6916009)(229853002)(42882006)(53546010)(2950100002)(7350300001)(5660300001)(38730400002)(6666003)(110136004)(53936002)(54906002)(47776003)(189998001)(55016002)(72206003)(6496005)(6246003)(66066001)(42186005)(76176999)(9686003)(93886004)(4001350100001)(76506005)(54356999)(50986999)(8676002)(478600001)(18370500001);DIR:OUT;SFP:1101;SCL:1;SRVR:SN2PR0701MB1069;H:localhost;FPR:;SPF:None;MLV:sfv;LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;SN2PR0701MB1069;23:xFJ1tXdBsqJOZwej1f3HyhA9jVgPRgLRwpWSQI9?= =?us-ascii?Q?BN2G7SVykmE0A1xNLGvhxrokojnaCG9eP+Leq6zUTLj1jTwKbBfvXTVQecKm?= =?us-ascii?Q?OzYpfkSjlo2K+F2nZa4XLg194PSFmvym/9ryKuZQOVh/Y8zDaAxNaJ3cHseo?= =?us-ascii?Q?FqFPiKHD+eWVpxhflAdUc/jdyecu5LxuVcwTm8F6dFjhPjDATMv91TJAlR5p?= =?us-ascii?Q?JBsVyoSCceptVV+3f/ic30djXVhayTJekZvxPeomvBEudvp/btQsvUuYyNsc?= =?us-ascii?Q?d4knobS1PJ8CNu9fE5rH3ROQf+tTPKI1KwSkA85RQsgoYmKHBC7xu87WbiB2?= =?us-ascii?Q?AkAIf6eRZ4PBOuyxkBUJ9+vFPvf8woN+VdROnh0nJgZ9PL8iuYrfgOy8ldrc?= =?us-ascii?Q?n5z69P7Y9S5PPzBkTpb47WNK4X6Lv1/EgmP7i+7C6vQUZwQ7yeWR6owv1CJ+?= =?us-ascii?Q?HtWkCBX3ixDZocGn+/jO5sCsVhQJ16xKYgqlYvEn9jpjci+29YV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eXrPhhIrJc=3D?= X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;SN2PR0701MB1069;6:gEOhgczdKZo0Qbs7ZEJ/IqgJ9siNNjRw/dvOhcAn?= =?us-ascii?Q?jdhKxw4SBI3Db7dMiRqbSffIgMyFX2uxn/BveVXxR/34VJ7IsAipxRoEegLL?= =?us-ascii?Q?IFboWM0zTY9cUCJp+aKtuv1Jiz0DVzvGig/Wt/9nIagRzQKyu714/TBy9FUn?= =?us-ascii?Q?vs/uSAELysZxYci44ZQRzweCn1SGk8kSBV8FL9g4HkIK342EzZoHtkzBRm2O?= =?us-ascii?Q?p65WIHRMMMoufEpDyNU4K42fap1vP3glbys8cOGFGkxB0I9+m3u8bYdZ5APD?= =?us-ascii?Q?BAltPtRloSMBxyHrmZVKuSeY4RVsPd5rRRwDZsUAaXe6rgEqEi3W7E2STS6V?= =?us-ascii?Q?WIg/8cQSUu1xnsAua6o8hZTcsX/ikQecwUntIUPx1GejDd5Yjv1fATFqbUeT?= =?us-ascii?Q?nlXRxsMGOqccQu0TcowVnTAwRAZo3ijbUBaK55MVF4k/2tNj+lrn4Y/DPSD3?= =?us-ascii?Q?1S9ySviJl3pxacdTkAEdTg8iAVShPFUb+NYolSHX+ryLE0bbstUpfRTpGeBA?= =?us-ascii?Q?vEpjmaCK8wZGFKZywOlvwkP6OLeK7aMzsM64y/9FyILqt8JBFMM60mW6b9y4?= =?us-ascii?Q?VYyTtCEeyGAX9qqkEqPrtB2XifawafrptiXOXoo1fE6V9HiEG9EzlxuaMHcW?= =?us-ascii?Q?9hEEkPT+FnywV4bFsSQu//EPs9R2AY8WhWiMplA3yMeGhJguv/LVJ5pyotDT?= =?us-ascii?Q?n0Zyeaztxb76UeoU8ydjrzZOtoskaL2Lb+SCA4Z8B4nLTBg+W/52jx9Gy7RH?= =?us-ascii?Q?gwNdgr8mjTJxB8dY5O0+yx8z/Fi3jjWaCgH5b/C2Pxb50YIC9AiO9QxUHfFP?= =?us-ascii?Q?ZSVRwMKDHuHJNdawQicLnqkYKjmft739dKZnWoj0cqJPk1LqdCHbRQtwTmA8?= =?us-ascii?Q?SdF2Cs/fCPjAj5wVXjhVntXt68fVt4LWhgMKsmOCMVndW2n2TH5Qz2bOKPW0?= =?us-ascii?Q?oMZLgVPjlJlqtSYWIxIM1j2Ku/XqGX/44Sls1cKCmXfPCILD+TMcqmPSjLBc?= =?us-ascii?Q?uD8=3D?= X-Microsoft-Exchange-Diagnostics: 1;SN2PR0701MB1069;5:WEOrkaaq3b/8Eg46cD3YFLge/E4QA+eyqtW/AP3HwNvmAiYwUUa35FcmOkKdZdl1h+mW8aYMYp8JVzwN6t3JjwUEwCbkP2bWhbFk11+tpZXTLgn5mijKBOMQMvhUBx60DFTRYEkVG5HNtvM7BsQaYE7drfDANkF0P89ir5VZbgfm331okRdtaFhEp64Y9RvZWhv+z4jVexnxOQ9BurHlMk0fT94ZhMcm+i8/jAfq8vtsIws7s1LQeCmh1MAA9Rei9uOQymPg7uXkQXAKYZJgUTV6OekrOdKsT4GjJUVLwfb/2RLNXOno0Eqt7v/BnbTI0bEWMAFSXeid9ver8XE2SlcgxdTPi3W7VS4BgogT1diUXG+yM8bwURcCNhSqIhICpdEpAKZLhrbhv7Pn2US9LsG6+RQa/6CM/RhoNbEurko+WF8UyQOiHN7heAZ4SWo13mSJmNd/aiWLYWz6Qkyhl4U4zop6IFODflKsWRjC/ieA0R70CU/ZINRjxQH9hmmE;24:0ZhrWieoDdOSg3e6d316zraGdHLMfpfYoCErH8OIyzJcrcGp2MMeWnsY5PhaWnwEE4d5QLS9p+a7Dn9E5OlFR6FlTi+KXiqIQQhU0qGH6tY= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1;SN2PR0701MB1069;7:Nv7Bq6qEdyWXGeyYY2a0CD+8PwFrnzxK0O0DTcSCiNRVqkyA2YEy31MiFyGmGoBKQVNoM4Jq6KBkFtyqyPQxNinvFlmazRiFWNZXcST3nySLRStCdhCpjs2XHLMq5Hwm2wdOK9VKY0taEgcwadKU/oFTSsViI8Y+sQhxhJAMnbCAv2dlftpd/EP327VRsbYL+Q5G2e2oHNZFSehYR3wEIDeLcpmUQYC5oP8Ud4EPoOzUA/KtYnvOm6b6K1JNzPsJ90mFQJ1LSIlucKOhowqEo/D0BvPgrHU7DcOliFyEJJuPa0ypoM6YhVQhwMgVg+vhz30oGTR2F2AkywBdxwXLtf1MOxsv+LNKA4gxI3/pZq5fhNh3aMtrYOf0FxAVvSKAHjn1kKBj0N4uAqlks7vDnEYi2FcXj4dy7ZzPLKO+dh8OzDDKSXhwQqNabzdT00EU5VcKZfpBMsibBnMMDpbrYe10dwu3B5ZZwvDkAEZEaLpNWwPeOJbGn6omPjRVE6VHoKwOke6vYeV7fUdBwinUOlQxeBIkmC6gQQCZWYgwIqKQ2oIc44IwUen9MC9yHx7/F+xTTxQmCvxHam30D7xeVeGY3dz0ZrZOQyppxulHjtlcvvFYXWxFZcawzR+uevhC8+abxlj8KTfuQCvHbrCieC3yosI9t397y8brk+0UUPDFwjVtrsQLzO+xdxIQFjWyTKoV5Cbm3Xyhl8aDEfF+CTHbezefEpop1vjf2Slf/lw73ScIT7SdSvhlInC0SfcBQGxE69wq9+L4Er4KBHQHrDpp6ZJC0BwkPHDUp6rQWC8= X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Jul 2017 08:49:07.3737 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN2PR0701MB1069 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 6410 Lines: 135 Hi Marc, On Mon, Jul 10, 2017 at 04:15:28PM +0100, Marc Zyngier wrote: > On 10/07/17 15:57, Shanker Donthineni wrote: > > Hi Marc, > > > > On 07/10/2017 08:50 AM, Marc Zyngier wrote: > >> On 10/07/17 11:21, Ganapatrao Kulkarni wrote: > >>> Hi Marc, > >>> > >>> On Mon, Jul 10, 2017 at 2:53 PM, Marc Zyngier wrote: > >>>> On 10/07/17 10:08, Ganapatrao Kulkarni wrote: > >>>>> On Mon, Jul 10, 2017 at 2:36 PM, Marc Zyngier wrote: > >>>>>> On 10/07/17 09:48, Ganapatrao Kulkarni wrote: > >>>>>>> Hi Marc, > >>>>>>> > >>>>>>> On Mon, Jul 3, 2017 at 8:23 PM, Marc Zyngier wrote: > >>>>>>>> Hi Shanker, > >>>>>>>> > >>>>>>>> On 03/07/17 15:24, Shanker Donthineni wrote: > >>>>>>>>> Hi Marc, > >>>>>>>>> > >>>>>>>>> On 06/30/2017 03:51 AM, Marc Zyngier wrote: > >>>>>>>>>> On 30/06/17 04:01, Ganapatrao Kulkarni wrote: > >>>>>>>>>>> On Fri, Jun 30, 2017 at 8:04 AM, Ganapatrao Kulkarni > >>>>>>>>>>> wrote: > >>>>>>>>>>>> Hi Shanker, > >>>>>>>>>>>> > >>>>>>>>>>>> On Sun, Jun 25, 2017 at 9:16 PM, Shanker Donthineni > >>>>>>>>>>>> wrote: > >>>>>>>>>>>>> The NUMA node information is visible to ITS driver but not being used > >>>>>>>>>>>>> other than handling errata. This patch allocates the memory for ITS > >>>>>>>>>>>>> tables from the corresponding NUMA node using the appropriate NUMA > >>>>>>>>>>>>> aware functions. > >>>>>>>>>>> > >>>>>>>>>>> IMHO, the description would have been more constructive? > >>>>>>>>>>> > >>>>>>>>>>> "All ITS tables are mapped by default to NODE 0 memory. > >>>>>>>>>>> Adding changes to allocate memory from respective NUMA NODES of ITS devices. > >>>>>>>>>>> This will optimize tables access and avoids unnecessary inter-node traffic." > >>>>>>>>>> > >>>>>>>>>> But more importantly, I'd like to see figures showing the actual benefit > >>>>>>>>>> of this per-node allocation. Given that both of you guys have access to > >>>>>>>>>> such platforms, please show me the numbers! > >>>>>>>>>> > >>>>>>>>> > >>>>>>>>> I'll share the actual results which shows the improvement whenever > >>>>>>>>> available on our next chips. Current version of Qualcomm qdf2400 doesn't > >>>>>>>>> support multi socket configuration to capture results and share with you. > >>>>>>>>> > >>>>>>>>> Do you see any other issues with this patch apart from the performance > >>>>>>>>> improvements. I strongly believe this brings the noticeable improvement > >>>>>>>>> in numbers on systems where it has multi node memory/CPU configuration. > >>>>>>>> > >>>>>>>> I agree that it *could* show an improvement, but it very much depends on > >>>>>>>> how often the ITS misses in its caches. For this kind of patches, I want > >>>>>>>> to see two things: > >>>>>>>> > >>>>>>>> 1) It brings a measurable benefit on NUMA platforms > >>>>>>> > >>>>>>> Did some measurement of interrupt response time for LPIs and we don't > >>>>>>> see any major > >>>>>>> improvement due to caching of Tables. However, we have seen > >>>>>>> improvements of around 5%. > >>>>>> > >>>>>> An improvement of what exactly? > >>>>> > >>>>> interrupt response time. > >>>> > >>>> Measured how? On which HW? Using which benchmark? > >>> > >>> This has been tested on ThunderX2. > >>> We have instrumented gic-v3-its driver code to create dummy LPI device > >>> with few vectors. > >>> The LPI is induced from dummy device(through sysfs by writing to > >>> TRANSLATOR reg). > >>> The ISR routine(gic_handle_irq) being called to handle the induced LPI. > >>> NODE 1 cpu is used to induce LPI and NODE 1 cpu/collection is mapped > >>> in ITT to route this LPI. > >>> > >>> CPU timer counter are sampled at the time LPI is Induced and in ISR > >>> routine to calculate interrupt response time. > >>> the result shown improvement of 5% with this patch. > >> > >> And you call that a realistic measurement of the latency? Really? Sorry, > >> but I cannot take you seriously here. > >> > >>> Do you have any recommended benchmarks to test the same? > >> > >> Run a standard benchmark such as netperf, post the result with and > >> without that patch. The above is just plain ridiculous. > >> > > > > The whole purpose of ACPI subtable "GIC Interrupt Translation Service (ITS) Affinity structure" > > is to provide the proximity information to OS so that software will take advantage of NUMA > > aware allocations to improve the read latency of ITS/GICR tables, not just for implementing > > software workarounds. > > > > > > 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. JC.