Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757222AbbGTWQD (ORCPT ); Mon, 20 Jul 2015 18:16:03 -0400 Received: from mail-db3on0072.outbound.protection.outlook.com ([157.55.234.72]:12037 "EHLO emea01-db3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1757182AbbGTWQA (ORCPT ); Mon, 20 Jul 2015 18:16:00 -0400 Authentication-Results: vger.kernel.org; dkim=none (message not signed) header.d=none; Subject: Re: [PATCH] nohz: prevent tilegx network driver interrupts To: Frederic Weisbecker References: <1436549624-16104-1-git-send-email-cmetcalf@ezchip.com> <20150710182406.GC26428@lerouge> <55A0175E.2010200@ezchip.com> <20150711143033.GE10257@lerouge> <55AD6684.3080607@ezchip.com> <20150720214943.GC13032@lerouge> CC: , From: Chris Metcalf Message-ID: <55AD7310.40000@ezchip.com> Date: Mon, 20 Jul 2015 18:15:44 -0400 User-Agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0 MIME-Version: 1.0 In-Reply-To: <20150720214943.GC13032@lerouge> Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [12.216.194.146] X-ClientProxiedBy: CY1PR21CA0103.namprd21.prod.outlook.com (25.164.213.29) To AM2PR02MB0770.eurprd02.prod.outlook.com (25.163.146.155) X-Microsoft-Exchange-Diagnostics: 1;AM2PR02MB0770;2:gFR+EhuRrfnXSz81+7udnjpW3kuiQyDjjir8WU0FdgYUahNgNNkC7IMtOlkX0pXG;3:xjIohFNPmkfxhnT2oArIMBdf4flThfvfoKAnO3M6/i5CTtCY7B7K4ROTKSgCQAupQWzUeDyNUsa5kBW9/H2636nG0wlLPR89p578SfkU6qAGzLEWM8ZSpGg6erjI1R15aIX848W8iq4nlA+aBcctMQ==;25:8wSjO8g3fd92Usn1s5eB6rIx24pHWQP6igyFE/ZBDHiNp/Z0bS3rFN4W+dv3VSYWtTBkkiBrdcTWqkWHgaiuCjdakAAkRfbbne0r+jTyob8H1ULXkpGk21qs4WsVbsJuAlhCvpiEYLTaOAU1XSGxCRUXM7O5KyY3aFfgFUCQHd8BK0U7cm33ejMHxjLLeEup3IFGI7QPXBbycxoBtxUTubyykMGfu0y8o6PEB8ZO6tXKbAJSREHCdUkPq/PqR1/wXfrBOEvhFFvTDb2Bb1S9uQ==;20:Vabzb6F03N0hY6YO74M3FP5j7jHCL5IuRVJazX65O0z3qZhNpHeTxTIL4lMWPTiGA9HkwyDHjyzl4rgZ0PU8pHLlb2RjzpglftV8MO9ABeKYG5WgtK7sV/mlXd0djZZUHh7Xmvl4qci8Kp19YHiKIH+GYZRzP2ab952ySkcXy4A= X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:AM2PR02MB0770; AM2PR02MB0770: X-MS-Exchange-Organization-RulesExecuted X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(601004)(5005006)(3002001);SRVR:AM2PR02MB0770;BCL:0;PCL:0;RULEID:;SRVR:AM2PR02MB0770; X-Microsoft-Exchange-Diagnostics: 1;AM2PR02MB0770;4:buhjNYtAtQJqcYg6RR4x+G71RH1Lo9lLIMGhAuAQdWC5ie/ugQrDzbecDxZV5L0XlZ5VMMGPHDxY58DBp9FaRpv54L4KNgdzQYqUsg+GsAFEI5TdG29HCGgmAKbXvhuHpN9XkkX7oC/Szd4HGUF3HbfpsWZXA0ZO7C7ExNUqbKsUIBdJAnWErutdsRY3zfqGE0lgV7HOWupDxM5edHHeQljGh758oSqTZ3pfnpyk+p8BGGnw3Os3VctUiz94fLcrknDxHGyJDJ3gmvpbAbzM151rMjlBw4eJqa8L6zl76UQ= X-Forefront-PRVS: 0643BDA83C X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(6049001)(6009001)(24454002)(479174004)(52314003)(377454003)(189998001)(65806001)(50466002)(33656002)(65956001)(110136002)(1411001)(122386002)(87976001)(42186005)(5001960100002)(66066001)(2950100001)(47776003)(46102003)(36756003)(50986999)(77096005)(19580395003)(4001350100001)(76176999)(83506001)(65816999)(62966003)(15975445007)(77156002)(86362001)(54356999)(92566002)(40100003)(18886065003);DIR:OUT;SFP:1101;SCL:1;SRVR:AM2PR02MB0770;H:[10.7.0.41];FPR:;SPF:None;MLV:sfv;LANG:en; X-Microsoft-Exchange-Diagnostics: =?Windows-1252?Q?1;AM2PR02MB0770;23:xBeQr9dQlNN05lpT9pNc87+9e6bq7xzD4BxHw?= =?Windows-1252?Q?Js50iUSOK7BYP7ddIslTFHXfYgf/J1gFuNCRmPBpb1d37uoI5R8PpaFb?= =?Windows-1252?Q?7Xw6Ofbz76gta8024JxMVQWcjT4WU85t/OwQxtW1R7SiAqoSNC0KGt1k?= =?Windows-1252?Q?YqAp8eGiG8Z68r+Ru+2H1No9xZRkD5JwEEB1t25klgxxvNij7OhIN35g?= =?Windows-1252?Q?vQfzcxPxpII/BVGrZD56G2tIIR7qU0joP+72MNjk7XnQ7wE/3gfTQwPR?= =?Windows-1252?Q?VlmJLRoRENi7/lG/54D4ZrHWVBLGyT+yO79CZ9um09OhOZBDvDtfgfHB?= =?Windows-1252?Q?5MR0we74Jja/ckziMxsJLyYRxWp3sHxBMnoai+EtMPR/N36LxAS3zHxl?= =?Windows-1252?Q?gGvA79pTz6UGVX/huh4DvEkixwPs0C742SR2uYI3aD+FlMsMdUCspRtB?= =?Windows-1252?Q?BBzURC9HzIe9gtcRCrTVD58r0/5XI6nHFq8ZTC7w/umMUMt7xVw6I204?= =?Windows-1252?Q?XTx2XPibpQZbNmgASquiKOlFQ3qCYtIqYRZJDJTWThWMgSiD9iSETg4G?= =?Windows-1252?Q?rYFus6V9g4hFd4U3J0gQRX4NCB1Oj90CgUwIBxZGOQtJ1Xt8LtiPP0dV?= =?Windows-1252?Q?SNKMAMTjgHgWzNJ3X/fOQdhYBo2eng/A5LQRZOqTdCLDUVD/lNSNM3U/?= =?Windows-1252?Q?6932lneCoiDm4JmPYVZCr8fNiXZWrIAqFGxt6TPCj+7W7HLv0FPDEX4w?= =?Windows-1252?Q?ZkZAfz4jP3kULyXF+3Pz5FQVTHhQXrwrLaXO0lcadSWReSmpOeE2PHLx?= =?Windows-1252?Q?88zR0ulBTCMb7J5wLWVmvPco9/FspLriEv9ktTZrYZs7OLEI9lW6fvbT?= =?Windows-1252?Q?etj1mY+VZ/BT29F0rI3VpZnYVyegCSQLVgxJt2XESdsWg5KZjk5AaSZu?= =?Windows-1252?Q?hWx2jHIZwB4U0tVgY0bq/A6ZdQdsnRTzdjqXo6QwXxaFUJ8fpw4WGkoh?= =?Windows-1252?Q?9X8aC7s0pIRJckm+GKiDppA+IZkGftFr2xHpQi8SjVEcjN9oPELeTO11?= =?Windows-1252?Q?FPyS+HCA2+FGPE=3D?= X-Microsoft-Exchange-Diagnostics: 1;AM2PR02MB0770;5:ra8iUpZzrxafM/OekZ3+v2qv5IGUAp+vC1pKBywJH47/33pYJfSCeeWY+x2r8cbZkWGEgJ5kDFRR9l/FnGD86IaLFigxjszUU4Er6kyFubkEGM6vleQ7L6c2Db+ZhwtR68ovU7AQtHb6xOJ6HjS6jQ==;24:tkjDsvgLhH5GqwxMahqVdkTMMcS4woCGLwx/coFypa6+PuCOxWBAk99WXD6ZLSLW8fiUz/x2vj+86Nv6ItK/4K0cP2Kf5tnPVs9TaehQCuA=;20:z236JmOCWEtX69Jp477HeDvxRYk0uM84exd5ssMo9AC10+PhdeKJwkbdf1VqTazDZTkziJQJsnraVzHQtrcUhw== SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: ezchip.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Jul 2015 22:15:56.8566 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM2PR02MB0770 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1893 Lines: 39 On 07/20/2015 05:49 PM, Frederic Weisbecker wrote: > On Mon, Jul 20, 2015 at 05:22:12PM -0400, Chris Metcalf wrote: >> On 07/11/2015 10:30 AM, Frederic Weisbecker wrote: >>> On Fri, Jul 10, 2015 at 03:05:02PM -0400, Chris Metcalf wrote: >>>> The tilegx chips typically don't do cpu offlining anyway, since >>>> we've never really found a usecase, so whatever you boot with >>>> you always have available. We do have support for a bare-metal >>>> mode which you can run on some of the cores, so you may start >>>> with fewer than cpu_possible actually running, but it will always >>>> be that same set of cores. >>> And that bare metal mode runs out of Linux? >> The bare metal environment runs on cpus that have been marked >> as unavailable to Linux, so Linux just sees them as permanently >> offlined. There is a BME driver (which we haven't upstreamed, >> since the BME isn't upstreamed either) that arranges to share >> memory between the BME and Linux. >> >> I don't think that many customers are using the BME in any >> case. We push all of them towards using our dataplane mode >> instead, since it almost always works just as well from a >> performance perspective, and is easier to develop code for. > So bare metal mode is different than dataplane mode, right? > Where bare metal mode offlines the CPU and IIUC dataplane mode > instead uses CPUs that are available to Linux, just isolated > with nohz and various affinity stuff, right? Yes, exactly. Cores running the bare metal environment are NOT running Linux at all, just talking directly to the Tilera hypervisor. -- Chris Metcalf, EZChip Semiconductor http://www.ezchip.com -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/