Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp3821086yba; Mon, 29 Apr 2019 09:04:34 -0700 (PDT) X-Google-Smtp-Source: APXvYqw/y7yhLTJhlAQHs+haZYi0S7EzWCkWHTJpcnjfq/b4EiyBnvAcEdvw+mQsUqYN0yeH8Q8t X-Received: by 2002:a63:610f:: with SMTP id v15mr23176125pgb.128.1556553874888; Mon, 29 Apr 2019 09:04:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556553874; cv=none; d=google.com; s=arc-20160816; b=EBmTYV9ykNUtHktDAlTcoWAinC5LExSGsJ44Q++3QS+hF/Jh1TnRk5oFWKoRSwSumR lWM+yFEYzpsLopk3qH9+VfgMJPEpoVQE7WHqtpH//yJx98+CeAoJ9iOGPVURAv8f8sFz LwimmGMwO3SjZms2Irj8i5pDB3CoUbFomDQwv9TZASJHv3o05q6r6eovD/QYVLD4cLrU p+KhIlcjbW+RrawGLjZR0FHk3Val0iMPOqh8xCbNIdqdLMfeI68biSuc1lgP5xyDLr9X 4v28Iy35XjjSsex7ulyyhoXy0ABPP5tQww4AFUry2HA4vyGn7XHxdgZLz8fin+ZIQhyO wzzQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=47R6Zpibyfoy78svmdHN6byC39LAOhbREp9Vq7W8ApM=; b=mN4aQ4RY1zvSl0YQAD/KypkeshyMVaSjUoWDP7SN/09KNHZ0xSf5NUjF+wGe2YKaJM qdmPy21EQ503HZ8VG36UeC9PpHavG0Cc34lz9eH14vhV8PgmEsBdBz3uICmeE8+4Yd6F j8uDr+bRSV7fy4sftdJY/Uf5Ot+NsbSEZhQQ8G+qNXZ/I87Is8ME2eZbw6TAtPjqX90a EHLlUGKBohKEVa3s0C+DKhQwXJ2AGgErj8+UlEmQUFmcDzFIdAFp/a0UFZ6YOGry5tYL AuYwO6ynD8JluzXtZTgN1TEGcNOr0oNmcZHmSWYbPGKcl0tdAS61f9fOQRT6XNauBZtd KBdg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b="J6WZI/9o"; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l1si33436078pff.206.2019.04.29.09.04.17; Mon, 29 Apr 2019 09:04:34 -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=fail header.i=@gmail.com header.s=20161025 header.b="J6WZI/9o"; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728732AbfD2QBF (ORCPT + 99 others); Mon, 29 Apr 2019 12:01:05 -0400 Received: from mail-wm1-f65.google.com ([209.85.128.65]:37490 "EHLO mail-wm1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728506AbfD2QBE (ORCPT ); Mon, 29 Apr 2019 12:01:04 -0400 Received: by mail-wm1-f65.google.com with SMTP id y5so15648868wma.2 for ; Mon, 29 Apr 2019 09:01:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=47R6Zpibyfoy78svmdHN6byC39LAOhbREp9Vq7W8ApM=; b=J6WZI/9oZi6DDKY6ako6bYIe0Ho2qjghdiWqUvyAS7l+nRMiKRoF8QwS9JlolG6510 Q5N5HRulN4x7f8dcPpZl33KYtvLvbzdGSd/3dbgaGUcRzgXw5L1Qf7mUIcJtFZ1+oUSn mdW4XoBbzNwcx8pEvJffS3J5si1MuSH4OKvngUBtaFM166ubF70+375GsLojZWBCfWOr nhX4md1G6bbEC5WxHgTjR9Gj1ivGp+iSHr17nK9iayfFdLrWFtXsF7za9jkRiyTBvEEL +eEjbLwRWQtIMo9uBWDgYiZJrJc9ucIY6foS1IKhzEC/Nsl9ZeuUqKdeE6zweMUf5/47 IT5A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to:user-agent; bh=47R6Zpibyfoy78svmdHN6byC39LAOhbREp9Vq7W8ApM=; b=Zzt0/9snqvb3x9E3AxCZMnIYLLkIY6v1cwWasJfwbKRw0VyYHADYJcAOY5ulGcp1JE UAfkJk68sGgccVSsP+A/jaWRrRNf0T31+fY65+QWkcydCHN7gR/sc98mS9NEUsMxyUuB /Ye9DMzqcS9xVgCUcjQi/MTxdnGwPmckJlSysdFsew8VabMWdk09mnK/ILDWYSNQqc4o WzCye0wWCycI+6v10JjdQjhg70zMqnH7CQ49OBCdsh1By4SLU0C+DzsuLwlNu7L18C/b ALzXk3ODijXgjSzUUOFJO47EuxdsUvX2JfpIw+PfbWjOOU/7Pj5a+xo5fbRpS2+mRrfu CXRw== X-Gm-Message-State: APjAAAXm6/u4OsiJL5roJMXnBmF+kkoG2x652b6kROYdHhDbU6O5lPUt YFfWNbkSuhr6U6c3kXgcJAg= X-Received: by 2002:a1c:f901:: with SMTP id x1mr541889wmh.136.1556553662023; Mon, 29 Apr 2019 09:01:02 -0700 (PDT) Received: from gmail.com (2E8B0CD5.catv.pool.telekom.hu. [46.139.12.213]) by smtp.gmail.com with ESMTPSA id t74sm237110wmt.3.2019.04.29.09.01.00 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 29 Apr 2019 09:01:01 -0700 (PDT) Date: Mon, 29 Apr 2019 18:00:58 +0200 From: Ingo Molnar To: "Li, Aubrey" Cc: Aubrey Li , Julien Desfossez , Vineeth Remanan Pillai , Nishanth Aravamudan , Peter Zijlstra , Tim Chen , Thomas Gleixner , Paul Turner , Linus Torvalds , Linux List Kernel Mailing , Subhra Mazumdar , =?iso-8859-1?Q?Fr=E9d=E9ric?= Weisbecker , Kees Cook , Greg Kerr , Phil Auld , Aaron Lu , Valentin Schneider , Mel Gorman , Pawan Gupta , Paolo Bonzini Subject: Re: [RFC PATCH v2 00/17] Core scheduling v2 Message-ID: <20190429160058.GA82935@gmail.com> References: <20190427091716.GC99668@gmail.com> <20190427142137.GA72051@gmail.com> <20190428093304.GA7393@gmail.com> <20190428121721.GA121434@gmail.com> <20190429061422.GA20939@gmail.com> <24bca399-5370-c4b5-725f-979db06bfc29@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <24bca399-5370-c4b5-725f-979db06bfc29@linux.intel.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Li, Aubrey wrote: > > I.e. showing the approximate CPU thread-load figure column would be > > very useful too, where '50%' shows half-loaded, '100%' fully-loaded, > > '200%' over-saturated, etc. - for each row? > > See below, hope this helps. > .--------------------------------------------------------------------------------------------------------------------------------------. > |NA/AVX vanilla-SMT [std% / sem%] cpu% |coresched-SMT [std% / sem%] +/- cpu% | no-SMT [std% / sem%] +/- cpu% | > |--------------------------------------------------------------------------------------------------------------------------------------| > | 1/1 508.5 [ 0.2%/ 0.0%] 2.1% | 504.7 [ 1.1%/ 0.1%] -0.8% 2.1% | 509.0 [ 0.2%/ 0.0%] 0.1% 4.3% | > | 2/2 1000.2 [ 1.4%/ 0.1%] 4.1% | 1004.1 [ 1.6%/ 0.2%] 0.4% 4.1% | 997.6 [ 1.2%/ 0.1%] -0.3% 8.1% | > | 4/4 1912.1 [ 1.0%/ 0.1%] 7.9% | 1904.2 [ 1.1%/ 0.1%] -0.4% 7.9% | 1914.9 [ 1.3%/ 0.1%] 0.1% 15.1% | > | 8/8 3753.5 [ 0.3%/ 0.0%] 14.9% | 3748.2 [ 0.3%/ 0.0%] -0.1% 14.9% | 3751.3 [ 0.4%/ 0.0%] -0.1% 30.5% | > | 16/16 7139.3 [ 2.4%/ 0.2%] 30.3% | 7137.9 [ 1.8%/ 0.2%] -0.0% 30.3% | 7049.2 [ 2.4%/ 0.2%] -1.3% 60.4% | > | 32/32 10899.0 [ 4.2%/ 0.4%] 60.3% | 10780.3 [ 4.4%/ 0.4%] -1.1% 55.9% | 10339.2 [ 9.6%/ 0.9%] -5.1% 97.7% | > | 64/64 15086.1 [11.5%/ 1.2%] 97.7% | 14262.0 [ 8.2%/ 0.8%] -5.5% 82.0% | 11168.7 [22.2%/ 1.7%] -26.0% 100.0% | > |128/128 15371.9 [22.0%/ 2.2%] 100.0% | 14675.8 [14.4%/ 1.4%] -4.5% 82.8% | 10963.9 [18.5%/ 1.4%] -28.7% 100.0% | > |256/256 15990.8 [22.0%/ 2.2%] 100.0% | 12227.9 [10.3%/ 1.0%] -23.5% 73.2% | 10469.9 [19.6%/ 1.7%] -34.5% 100.0% | > '--------------------------------------------------------------------------------------------------------------------------------------' Very nice, thank you! What's interesting is how in the over-saturated case (the last three rows: 128, 256 and 512 total threads) coresched-SMT leaves 20-30% CPU performance on the floor according to the load figures. Is this true idle time (which shows up as 'id' during 'top'), or some load average artifact? Ingo