From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1F210C433E0 for ; Fri, 3 Jul 2020 17:45:48 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id DBEFE2084C for ; Fri, 3 Jul 2020 17:45:47 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="ykZQ+w8s" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org DBEFE2084C Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 53B718D0099; Fri, 3 Jul 2020 13:45:47 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 4EB358D0097; Fri, 3 Jul 2020 13:45:47 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 3D9FE8D0099; Fri, 3 Jul 2020 13:45:47 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0025.hostedemail.com [216.40.44.25]) by kanga.kvack.org (Postfix) with ESMTP id 28EDE8D0097 for ; Fri, 3 Jul 2020 13:45:47 -0400 (EDT) Received: from smtpin06.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay02.hostedemail.com (Postfix) with ESMTP id C14B92DFA for ; Fri, 3 Jul 2020 17:45:46 +0000 (UTC) X-FDA: 76997492292.06.slip62_5602cf626e93 Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin06.hostedemail.com (Postfix) with ESMTP id 9DAAB1003A970 for ; Fri, 3 Jul 2020 17:45:46 +0000 (UTC) X-HE-Tag: slip62_5602cf626e93 X-Filterd-Recvd-Size: 2924 Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by imf21.hostedemail.com (Postfix) with ESMTP for ; Fri, 3 Jul 2020 17:45:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=Fy9p+5xA2GSj8G8sVCzaAqMHkAqlb228bxWXUoSUq0M=; b=ykZQ+w8sIHhism7zhf1uA+HXo9 FpE4c6YQPCvHHvlAiI58nPwFLQ7ZrOPbSD0vTloNUOC/03sf+CKniufA6F9Wmae8H3pC1bvRyBJIG 9TC2oH5MyZqkWCD8yNjc+VjoFVoA3b8wg9iVRFKLX6PNSVtvefu9pbFagAOuprqr/EViOmAXrDYTy SxqDrZfFxrM83ZK4myjYncQ0Cc7LCs0ABQzfUKgHNFA4st0OZXWMPGwry80j+2jrZvfdHDMonkRSA ET5KUc585SpYebEYwOn8IjAKDpR1NgxuAgADbX3korWWBPP8F6cZ9oQGqNBWKXxguauvqEr9X6YTM pSPncrrg==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=noisy.programming.kicks-ass.net) by merlin.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1jrPkr-0004B4-SP; Fri, 03 Jul 2020 17:45:42 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id 60EA9304BAE; Fri, 3 Jul 2020 19:45:39 +0200 (CEST) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 4EE3520078FE1; Fri, 3 Jul 2020 19:45:39 +0200 (CEST) Date: Fri, 3 Jul 2020 19:45:39 +0200 From: Peter Zijlstra To: Gabriel C Cc: Uladzislau Rezki , LKML , linux-mm@kvack.org, Andrew Morton , Linus Torvalds , "Rafael J. Wysocki" Subject: Re: nr_cpu_ids vs AMD 3970x(32 physical CPUs) Message-ID: <20200703174539.GA4800@hirez.programming.kicks-ass.net> References: <20200703155749.GA6255@pc636> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Rspamd-Queue-Id: 9DAAB1003A970 X-Spamd-Result: default: False [0.00 / 100.00] X-Rspamd-Server: rspam04 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On Fri, Jul 03, 2020 at 07:07:39PM +0200, Gabriel C wrote: > I boot all the boxes restricting the cores to the correct count on the > command line. This, because you're right about the wasted memory. > Wasted resource or not, this is still a bug IMO. Yeah, but not one we can do much about I think. It is the BIOS saying it wants more because it expects someone to come along and stick another CPU in. Possible we could say that for single socket machines overprovisioning is 'silly', but then, I've no idea how to detect that. You'll need to find an ACPI person.