Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp2327150yba; Thu, 25 Apr 2019 14:37:07 -0700 (PDT) X-Google-Smtp-Source: APXvYqyrY6iEJuoy8EkSR4VlWjUys+4R25D7vyGoW0KvDbp38zIeiBinJa+ApDD7CKqsFSDH+cJi X-Received: by 2002:a17:902:e091:: with SMTP id cb17mr41154666plb.222.1556228227168; Thu, 25 Apr 2019 14:37:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556228227; cv=none; d=google.com; s=arc-20160816; b=FoFxwYhyRvnK/j1+COGarBpOHZClkM0wq0nJw6hf0tqSZBlM76fI/ZtSwyQikKaBQ4 tJAugxqbD7nsAY5Iuy9cozg5d6+2SKun0GB+SnhY1l8SRKHuCVL0nafwtE9gYdgq79Q5 xQhOHxwTujf1TAVQCPBqotvFrUaQRFOMO4vh4HeHvpft76NMilLyx50yF09IZ5Ki/BQa K+bjeRt+jitu/wM6VhdhbFP6lr5KUO+LpeFhB23a9D/LUVUjxAlJQjB3gOWiy/bmQP7U 57CuG13eM7T4mw2viCAd5gl3M9NDWLqWWfWCagnoYVM1QcfCvW8XF5ZMp4IFRTFaiujr FVKw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date; bh=8fiYQPaTjH0VU7UhdW0MFyslMwFyr8vyHzNeNvQcUfM=; b=YHOhR5ZFNMPBEDCP0URqczx9X7L3q6hFRAG/8X+cOJXTdEKF9dzYn3G+PmqrX6DSgo MbOTDLbjDGinx7ScKFg8ahsMwDYPhmDftd1YhFproAHFBgHJhOmjsnsckpwcYrYildG3 xFdBTQJ1XWYVSvHS6DitJ+kVxqlwK3N2y9SMv5gsbIIOpDWHmYAlrRTETNdgqgQEnyXf WQMhL2ZM/RaB2HagMcVXHP8DjrwuZfGfr7cpkfDKsHJc5qMOo94FWtIp2h4fOb67azaq 9UaQMalL6TTahxLxUfEVs1B0ujey0+LQpgOdlc+wE0gA+Age2gsMl6TXo4+tQhRFrhRW 7A8A== ARC-Authentication-Results: i=1; mx.google.com; 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 i3si20756660pgq.350.2019.04.25.14.36.51; Thu, 25 Apr 2019 14:37:07 -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; 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 S1729961AbfDYS7Z (ORCPT + 99 others); Thu, 25 Apr 2019 14:59:25 -0400 Received: from Galois.linutronix.de ([146.0.238.70]:60322 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725900AbfDYS7Z (ORCPT ); Thu, 25 Apr 2019 14:59:25 -0400 Received: from p5de0b374.dip0.t-ipconnect.de ([93.224.179.116] helo=nanos) by Galois.linutronix.de with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1hJjaY-000834-8H; Thu, 25 Apr 2019 20:59:18 +0200 Date: Thu, 25 Apr 2019 20:59:12 +0200 (CEST) From: Thomas Gleixner To: Ingo Molnar cc: Mel Gorman , Aubrey Li , Julien Desfossez , Vineeth Remanan Pillai , Nishanth Aravamudan , Peter Zijlstra , Tim Chen , Paul Turner , Linus Torvalds , Linux List Kernel Mailing , Subhra Mazumdar , Fr?d?ric Weisbecker , Kees Cook , Greg Kerr , Phil Auld , Aaron Lu , Valentin Schneider , Pawan Gupta , Paolo Bonzini , Jiri Kosina Subject: Re: [RFC PATCH v2 00/17] Core scheduling v2 In-Reply-To: <20190425185343.GA122353@gmail.com> Message-ID: References: <20190424140013.GA14594@sinkpad> <20190425095508.GA8387@gmail.com> <20190425144619.GX18914@techsingularity.net> <20190425185343.GA122353@gmail.com> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 25 Apr 2019, Ingo Molnar wrote: > * Mel Gorman wrote: > > I don't have the data in a format that can be present everything in a clear > > format but here is an attempt anyway. This is long but the central point > > that when when a machine is lightly loaded, HT Off generally performs > > better than HT On and even when heavily utilised, it's still not a > > guaranteed loss. I only suggest reading after this if you have coffee > > and time. Ideally all this would be updated with a comparison to core > > scheduling but I may not get it queued on my test grid before I leave > > for LSF/MM and besides, the authors pushing this feature should be able > > to provide supporting data justifying the complexity of the series. > > BTW., a side note: I'd suggest introducing a runtime toggle 'nosmt' > facility, i.e. turn a system between SMT and non-SMT execution runtime, > with full reversability between these states and no restrictions. It exists already: /sys/devices/system/cpu/smt/control Setting it to off will offline all siblings, on will online them again. Thanks, tglx