Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp3758414ybl; Mon, 3 Feb 2020 06:04:05 -0800 (PST) X-Google-Smtp-Source: APXvYqw73EkS7D7/C9ifpWYX92tZIuYqFp0a3Fv6wNVcy16blLOX496anmFM6RksAJjfXcPQyKko X-Received: by 2002:a9d:65cb:: with SMTP id z11mr16806521oth.348.1580738645036; Mon, 03 Feb 2020 06:04:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1580738645; cv=none; d=google.com; s=arc-20160816; b=CMInSFBiDVoWLrmr3vhoypz2U33EhPpMFVVev22LPazu10ctMQXrG7RERk1OcPJpm+ OESBPMSWomTR9pXgPrtmOWTct1paskTXJEcTLIoSE6/yxJTqR3yugpzdqaDxlbsC01i9 BfOXlhf3ko+8rX8gwjkoErI0aYiwYQMZi3EcH0aXAyFU4JyJaI9vW3pjXwqFjQA11PF7 LbYG92z3U3aQa15DHhHlUDP8rGCwSar+Wr4ggGmGFbFA5hdqU8EhdLyBs5cbYWBqEhIS zBstYS05s/wI2TlCjEG1xnXQItOACIbdlr3xAZRYm4TQeQJ5ZAmUMJx+uHtV3zMijGDy DjDA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:in-reply-to :mime-version:user-agent:date:message-id:from:cc:references:to :subject:dkim-signature; bh=L1c5lgLuw2ECGPDrXg4aSf9b2Bg+sntoPL3y7q3+QiE=; b=r6USehEkp3b3ybREb1v3mOK1KX1seUCceZ11Gr24oPOKUAYG8EU061U0RsaLpaqTms pQCkYNoMdZIPmqngHhWp9k2vEfyiTztHLlhPHmzX3lCiJTQ7Bwb8t91muReLvsTZfM8N 5QiiDL8s4eKphQX+tsDTET9EoHIbMvEvkbQDWqRcZGsRvGsnf6kvWeuVh4NgKJcZS6iz /pK2nowMFaERmNO1XzYrfnW+6ibMxvYg+EZyuJXocNg+a5liIvriLjITZzhLLeG+vlVi z5HPqtNc0+KodcgbcpwOO8YXvDOO4r7nteuiftsWPcot+rIswOlJ/wmfhyH1Lcrm4oOf dYTg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=sVQMpnYU; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a205si3479008oif.159.2020.02.03.06.03.50; Mon, 03 Feb 2020 06:04:05 -0800 (PST) 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=@linaro.org header.s=google header.b=sVQMpnYU; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727717AbgBCMIB (ORCPT + 99 others); Mon, 3 Feb 2020 07:08:01 -0500 Received: from mail-qt1-f195.google.com ([209.85.160.195]:35410 "EHLO mail-qt1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727201AbgBCMIB (ORCPT ); Mon, 3 Feb 2020 07:08:01 -0500 Received: by mail-qt1-f195.google.com with SMTP id n17so10036694qtv.2 for ; Mon, 03 Feb 2020 04:08:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=L1c5lgLuw2ECGPDrXg4aSf9b2Bg+sntoPL3y7q3+QiE=; b=sVQMpnYU0XjkIXuXQBSc1YysHsPZzRcW2ftSEBSS2QNq33O7fadqaPewYRPjgSqmYw JW8RJg27uIVBILGRXzo/V5yW3crq4mplohNFUeBR9HGHmJBXRm7PHACZrlSKEbfOE6SB f9fiEhB+ylxM6b2OI6foIKQKfsmYKI3jfXQyUf/pgJjRbEaMiF9WBFErOHXFo7ysxuVH z943qXogIMZnJYJ/kIiwMb+dEXrthDny8TnOy2s0JjPeBtWigMRAX0Qv6uv2Vnr1ZaPo LtBZWi7a/EMjgEuDOyS1N6ICYSypKrNfNMpBvCa79ikyqDo5GGDyfwQ6diBGTFsHWhTZ jjIg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=L1c5lgLuw2ECGPDrXg4aSf9b2Bg+sntoPL3y7q3+QiE=; b=S4O15/7/oGeKVpvV1fM/HmYq07wzhJvyishhmsUwU1dcHzgjLJbM5SNpLZasEjwse2 nnaVyKuGyzVElKYny6VVm83Nl81TtqHKkabDyCqmGxCk1WSun3hYdaLWoplN9nEclN+n goWBx5kjf+iVmxYlAw7Hc2WXwJL5APH8hJBUrpvyr8o8ewftYSpX/aIYEsJzWtJxLOLg eBmSuU2aZ4dc0qVGsYdpqSPJXezLeFWphOoy2xohgALisUN7U2DCU8LQ+YdLIuhyypR3 AdirL0ui4U33p8x0p2bGifpoWkQMQIFsPU3sOmj5CARB7o1TJhT4AcO6syAXH8e9io2Y +zuA== X-Gm-Message-State: APjAAAXUTDwF+XyWwMGaFXv0UI+TBKLz6uhwUC8UxD6UeWXuBa0qWB2D Q6J9N59R/m1tNxY2PsMllTjpKQ== X-Received: by 2002:ac8:4092:: with SMTP id p18mr23133342qtl.19.1580731679969; Mon, 03 Feb 2020 04:07:59 -0800 (PST) Received: from [192.168.1.169] (pool-71-255-246-27.washdc.fios.verizon.net. [71.255.246.27]) by smtp.gmail.com with ESMTPSA id m21sm9043990qka.117.2020.02.03.04.07.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 03 Feb 2020 04:07:59 -0800 (PST) Subject: Re: [Patch v9 7/8] sched/fair: Enable tuning of decay period To: Randy Dunlap , mingo@redhat.com, peterz@infradead.org, ionela.voinescu@arm.com, vincent.guittot@linaro.org, dietmar.eggemann@arm.com, rui.zhang@intel.com, qperret@google.com, daniel.lezcano@linaro.org, viresh.kumar@linaro.org, rostedt@goodmis.org, will@kernel.org, catalin.marinas@arm.com, sudeep.holla@arm.com, juri.lelli@redhat.com, corbet@lwn.net References: <1580250967-4386-1-git-send-email-thara.gopinath@linaro.org> <1580250967-4386-8-git-send-email-thara.gopinath@linaro.org> <4eb10687-1a62-cee3-7285-3f50cc023071@infradead.org> Cc: linux-kernel@vger.kernel.org, amit.kachhap@gmail.com, javi.merino@kernel.org, amit.kucheria@verdurent.com From: Thara Gopinath Message-ID: <5E380D1D.7020500@linaro.org> Date: Mon, 3 Feb 2020 07:07:57 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 MIME-Version: 1.0 In-Reply-To: <4eb10687-1a62-cee3-7285-3f50cc023071@infradead.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 01/28/2020 06:56 PM, Randy Dunlap wrote: > Hi, > > On 1/28/20 2:36 PM, Thara Gopinath wrote: >> diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentation/admin-guide/kernel-parameters.txt >> index e35b28e..be4147b 100644 >> --- a/Documentation/admin-guide/kernel-parameters.txt >> +++ b/Documentation/admin-guide/kernel-parameters.txt >> @@ -4376,6 +4376,11 @@ >> incurs a small amount of overhead in the scheduler >> but is useful for debugging and performance tuning. >> >> + sched_thermal_decay_shift= >> + [KNL, SMP] Set decay shift for thermal pressure signal. >> + Format: integer between 0 and 10 >> + Default is 0. >> + > > That tells an admin [or any reader] almost nothing about this kernel parameter > or what it does. And nothing about what unit the value is in. > Does the value 0 disable this feature? Thanks for the review. 0 does not disable "thermal pressure" feature. 0 means the default decay period for averaging PELT signals (which is usually 32 but configurable) will also be applied for thermal pressure signal. A shift will shift the default decay period. You are right. It needs more explanation here. I will fix it and send v10. > >> skew_tick= [KNL] Offset the periodic timer tick per cpu to mitigate >> xtime_lock contention on larger systems, and/or RCU lock >> contention on all systems with CONFIG_MAXSMP set. > > > thanks. > -- Warm Regards Thara