Received: by 10.213.65.68 with SMTP id h4csp1207080imn; Mon, 26 Mar 2018 03:04:23 -0700 (PDT) X-Google-Smtp-Source: AG47ELuzJ6zXgObASpX574eLheRKzaigdeMqjaTlfpuNRCnx4RB6vgS4MEECQVchI3kWu1ceQxNH X-Received: by 10.101.93.138 with SMTP id f10mr27885203pgt.255.1522058663927; Mon, 26 Mar 2018 03:04:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522058663; cv=none; d=google.com; s=arc-20160816; b=BewKHEIDa+S/C609nljqRY3t8wi5NDWaDP6O0l4lZn+5GcHoGeTn6s4ULJ6QUb+kGI DGmekZsJK9rFljl+xTMYgTDdz8+mcXsdqv6RYhm9ZJXAzMjDhKxQCU8NTFsCTXOhIFFa wF70SYn4Pk5gv6FA4xfj1wEpj9HaxEoFCdWV94IXsUDNerkE/MYl2Ys7ln4AxOoalLR+ 8wpX0t86nuRYWSDR7g8zQCR1cz9XAkI6udPgDEUq6vYdNS1vUBKlOhNe9gkyBkd1VbA6 MnrnP/zK6KKA90L8TUdSnwDJUv5v2sAdwCrFC5sTVbxF7054D3NEfPxTnQBn3BnQsWXc sCkQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:spamdiagnosticmetadata :spamdiagnosticoutput:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature:arc-authentication-results; bh=GC4NwwcOJREPgRuLRrPxvzUH8Yy/gyP5pi+6sN10ePQ=; b=MQiBL3Uu8Jjy7kGLdKPyXTjTnZiPsjYArfN2kNy5PXY834/WKVhoRZzWFVvDOnfQD2 nuBRa826Baw8uXprlS6dQKsiEotD7vxXB1YJWWmxqcWNxhcOugr5XHRvs49PIhTYgpEF 4hHKWArVzQEa1uYF2iqCmT94aOEcLOplQkoXO6IgN/Cv7wFunXL04r0c9DjFayxSkGJ/ 3vlv7ERSRzrDy8XivnVaSfv0OcvRdc0yD/zYm0l4PE0L+hedKHShz3nILL+/gPu/Mk7J GIcO0vaCyDrBLzTaIOZlqGPnFcyTTKOOR8e6pICWbg902GfeeU8UGn0Cbbwomjgq9Kqv SDGA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@CAVIUMNETWORKS.onmicrosoft.com header.s=selector1-cavium-com header.b=JJp1Qb/7; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w5si10062638pgt.823.2018.03.26.03.04.09; Mon, 26 Mar 2018 03:04:23 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@CAVIUMNETWORKS.onmicrosoft.com header.s=selector1-cavium-com header.b=JJp1Qb/7; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751713AbeCZKDJ (ORCPT + 99 others); Mon, 26 Mar 2018 06:03:09 -0400 Received: from mail-sn1nam02on0040.outbound.protection.outlook.com ([104.47.36.40]:16832 "EHLO NAM02-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751024AbeCZKDH (ORCPT ); Mon, 26 Mar 2018 06:03:07 -0400 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=GC4NwwcOJREPgRuLRrPxvzUH8Yy/gyP5pi+6sN10ePQ=; b=JJp1Qb/7jnBJi+SxRAmccnH5pQJ1CRYnhFAPA+BS69lCgxXPzyVfY9v7plhfBHkpmvt1W4+UoLtAl4v4f/x4I/WQWUk320RXYt5nPKP1G1eHQqXzkj+ZdW1yT5oOazNqurSdaBVYr3u3FgRP/xO7EEpBNcRpK3+ZosmgjIZRxnk= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Jan.Glauber@cavium.com; Received: from hc (109.193.46.73) by CY1PR07MB2508.namprd07.prod.outlook.com (2a01:111:e400:c636::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.609.10; Mon, 26 Mar 2018 10:03:03 +0000 Date: Mon, 26 Mar 2018 12:02:50 +0200 From: Jan Glauber To: Arnd Bergmann Cc: Catalin Marinas , Will Deacon , Linux ARM , Linux Kernel Mailing List Subject: Re: [PATCH 2/2] arm64: defconfig: Raise NR_CPUS to 256 Message-ID: <20180326100250.GC5991@hc> References: <20180302143737.10788-1-jglauber@cavium.com> <20180302143737.10788-2-jglauber@cavium.com> <20180306140201.GB7428@hc> <20180326085214.GB5991@hc> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-Originating-IP: [109.193.46.73] X-ClientProxiedBy: HE1PR0902CA0043.eurprd09.prod.outlook.com (2603:10a6:7:15::32) To CY1PR07MB2508.namprd07.prod.outlook.com (2a01:111:e400:c636::11) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: f03209f0-5d7e-4275-3f4d-08d59300c46c X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652020)(5600026)(4604075)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060)(7193020);SRVR:CY1PR07MB2508; X-Microsoft-Exchange-Diagnostics: 1;CY1PR07MB2508;3:bwJn/5r7l5mXhSsTTYrJjVVVWiAOfGiwIU+4HHN01xmHuoxqTF3VIDwy5JRYN1uNVtdGXaPpeFcFMW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HqvMYgnHMlEsTC2jLKW+M9uy4gHPv5jRSHd2mlhPv2EBwv5938zdKjXK2F6OUbhpBcTDbHij/myugwKUMltzPkZO7SJm1ygfYqJQZMZdU8Z1tIRZq5UDLzNOnvhBX/ptbxcK9kZ93qbrq4hfhmeVHO3Z5rwdjKx0X0myMolVO5yq2Hm+Cf1FBiYeBGyu6nfxgLYOdy72LJcPQU+/PSkPkZ1AQm4U/HXJL8989qp54u4m9iuLzVzSNRlhsWM0byEW6gVE1ebUI6M3885LHOl9fB8xQ18U4kBHW1+Qa57isJ/eYRuQE8WmpVDbrMvLjR0ycJrEoiLypkkJf042seCnRszDRlTZDeDP3Xb57RqdOdrgbQzFMSx6Y= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(158342451672863)(155532106045638); X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(3002001)(10201501046)(3231221)(944501327)(52105095)(93006095)(6041310)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(20161123564045)(20161123560045)(6072148)(201708071742011);SRVR:CY1PR07MB2508;BCL:0;PCL:0;RULEID:;SRVR:CY1PR07MB2508; X-Microsoft-Exchange-Diagnostics: 1;CY1PR07MB2508;4:7aorAMAZi9jcBD2dgQBBbvVOFiB5qJvtH0nMZ2k6CTeaipCS8lx93bAn4NE22+XF6kUh8n0Krw3DKeZD9MOJd+E01V1lSNmVNVftwvgxrUJYeVJIRvzvVaiW/S6P3ykWS90q+lcz6aICB0yJcfWyIUPrZ+mJ47kLCgeeOlhJLGGgsNFieG00b3rPhE1LSJ/wmuo8A0S9nYFUMZQIdkke2Fh6mXaZXxAO9MKbzP41oSc3CEHgD61u7NT/VKUB/m+jTTrYPnFwXA+Up3IGAqwITcpUj1AX8Zkrv8FycQ1N0rCkgXGSbfjPIDCFjVi6jzVgpmMJkZ2wxqkdO5tPw/BQ4d14Qp6MaVr2j4Y29/l9MnY= X-Forefront-PRVS: 06237E4555 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(396003)(346002)(366004)(39380400002)(39850400004)(376002)(189003)(199004)(93886005)(66066001)(6916009)(11346002)(6666003)(33896004)(33716001)(8676002)(50466002)(446003)(97736004)(53546011)(386003)(59450400001)(47776003)(8936002)(316002)(42882007)(58126008)(16586007)(81156014)(81166006)(956004)(76176011)(7736002)(305945005)(16526019)(229853002)(5660300001)(186003)(68736007)(54906003)(25786009)(55016002)(9686003)(23726003)(1076002)(33656002)(6246003)(6116002)(53936002)(3846002)(52116002)(26005)(72206003)(6496006)(478600001)(105586002)(4326008)(2906002)(106356001)(18370500001);DIR:OUT;SFP:1101;SCL:1;SRVR:CY1PR07MB2508;H:hc;FPR:;SPF:None;PTR:InfoNoRecords;MX:1;A:1;LANG:en; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;CY1PR07MB2508;23:QzVvVZPs/D3TOv1Xz7X1ZomOLD534oze1jC1Y0Utt?= =?us-ascii?Q?MrOTQxpS9TQVbP/GNHKTuVKbzw1gfP2BeHfBLLTqNhP2Tb+cwF0QIyPopYbC?= =?us-ascii?Q?LbCC0+p7TkHZLTobgZJA23La98NfTGtO55fIUayL3mTx0jrETDRY8ZyOHDtT?= =?us-ascii?Q?dOfHLrPZ3YqU6cZLHpCy47HO9skfKpJcdPS3sIvcqlv25OeN4uZrbwsHgBHk?= =?us-ascii?Q?RQmZI9LXBuNkeYEj280WBAZabJAbM19c6hA72RvmrUQO9OSG06Dh9RgXHvQq?= =?us-ascii?Q?irwq1BQnxZWZ4wE/hqVjEC4gwaltEkXJz2HTQ2+JbAS1cpRvLphqtGU2YVre?= =?us-ascii?Q?Ao0STv4rMd3tnQpBtN9y2d2KMs4bsv9OvDMkDYfZlDrr34ABsxjMZDMlKiC6?= =?us-ascii?Q?BsThYMUT1I5xj4yCqlnq+2CopHV7lKWy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TxCF9Hv/2Z1Odu0vNb1x4= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1;CY1PR07MB2508;7:pCGy/orBNVDEn986hqcDvO7o3tcWzb5YrN/hYCLTFYkDb0+qJUYmy93NQWiuH8e/XcAdPXB3XqFjjfoKcIfq2rUh8QGCj8edN/cTH8z42rVVn792TcSiw9tg1oVqHsofhEYmjFj2KIz8ZWSlo0Daqq+ShKjeZPTDwtJTBf+RCj+ZOgLeHpARUMNu27Eu1hJLTb3a/9z20UvUE5NAYh1PeQtlLdWxgQqIW0mW5yRCfbNs2YJ2nprFpI0M9/Gh/lXY X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Mar 2018 10:03:03.1879 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: f03209f0-5d7e-4275-3f4d-08d59300c46c X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR07MB2508 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Mar 26, 2018 at 11:28:28AM +0200, Arnd Bergmann wrote: > On Mon, Mar 26, 2018 at 10:52 AM, Jan Glauber > wrote: > > On Tue, Mar 06, 2018 at 03:02:01PM +0100, Jan Glauber wrote: > >> On Tue, Mar 06, 2018 at 02:12:29PM +0100, Arnd Bergmann wrote: > >> > On Fri, Mar 2, 2018 at 3:37 PM, Jan Glauber wrote: > >> > > ThunderX1 dual socket has 96 CPUs and ThunderX2 has 224 CPUs. > >> > > >> > Are you sure about those numbers? From my counting, I would have expected > >> > twice that number in both cases: 48 cores, 2 chips and 2x SMT for ThunderX > >> > vs 52 Cores, 2 chips and 4x SMT for ThunderX2. > >> > >> That's what I have on those machines. I counted SMT as normal CPUs as it > >> doesn't make a difference for the config. I've not seen SMT on ThunderX. > >> > >> The ThunderX2 number of 224 is already with 4x SMT (and 2 chips) but > >> there may be other versions planned that I'm not aware of. > >> > >> > > Therefore raise the default number of CPUs from 64 to 256 > >> > > by adding an arm64 specific option to override the generic default. > >> > > >> > Regardless of what the correct numbers for your chips are, I'd like > >> > to hear some other opinions on how high we should raise that default > >> > limit, both in arch/arm64/Kconfig and in the defconfig file. > >> > > >> > As I remember it, there is a noticeable cost for taking the limit beyond > >> > BITS_PER_LONG, both in terms of memory consumption and also > >> > runtime performance (copying and comparing CPU masks). > >> > >> OK, that explains the default. My unverified assumption is that > >> increasing the CPU masks wont be a noticable performance hit. > >> > >> Also, I don't think that anyone who wants performance will use > >> defconfig. All server distributions would bump up the NR_CPUS anyway > >> and really small systems will probably need to tune the config > >> anyway. > >> > >> For me defconfig should produce a usable system, not with every last > >> driver configured but with all the basics like CPUs, networking, etc. > >> fully present. > >> > >> > I'm sure someone will keep coming up with even larger configurations > >> > in the future, so we should try to decide how far we can take the > >> > defaults for the moment without impacting users of the smallest > >> > systems. Alternatively, you could add some measurements that > >> > show how much memory and CPU time is used up on a typical > >> > configuration for a small system (4 cores, no SMT, 512 MB RAM). > >> > If that's low enough, we could just do it anyway. > >> > >> OK, I'll take a look. > > > > I've made some measurements on a 4 core board (Cavium 81xx) with > > NR_CPUS set to 64 or 256: > > > > - vmlinux grows by 0.04 % with 256 CPUs > > Ok. Is this both with CONFIG_CPUMASK_OFFSTACK=n? Yes. > > - Kernel compile time was a bit faster with 256 CPUS (which does > > not make sense, but at least is seems to not suffer from the change). > > Do you mean compiling the same kernel configuration while running > on a system with less than 64 CPUs on either a CONFIG_NR_CPUS=64 > or CONFIG_NR_PCUS=256 kernel, or do you mean the time to compile > a kernel with either CONFIG_NR_CPUS=64 or CONFIG_NR_CPUS=256, > while running on the same host? The former, compiling everything on a 4-core system using two different kernels to compile the same thing. > I assume the former, which is a very interesting result, possibly > pointing to us doing something wrong in the NR_CPUS=64 case > that could be optimized. > > If you ran with CONFIG_CPUMASK_OFFSTACK, that may have made > a significant difference, but I would expect it to be faster without it. > > To get more insight to what is happening, you could rerun the same > test with 'perf record' and then compare the profiles. How significant > is the runtime difference compared to the jitter you get between normal > runs on the same configuration? I did retry once but the odd case that CONFIG_NR_CPUS=256 was faster was consistent. The difference was very small though so it may be completely due to jitter. > > Is there a benchmark that will be better suited? Maybe even a > > microbenchmark that will suffer from the longer cpumasks? > > Good question. > > > - Available memory decreased by 0.13% (restricted memory to 512 MB), > > BSS increased 5.3 % > > 0.13% of a few hundred megabytes is still several hundred kb, right? I'd > like to hear some other opinions on that, but it seems to be in the > range of enabling many additional device drivers, which is something > we don't do lightly. Agreed, available memory was reduced by 128 KB. --Jan