Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp5242282imu; Tue, 29 Jan 2019 15:38:03 -0800 (PST) X-Google-Smtp-Source: ALg8bN6zvwuS/+GSCF7yYzTb6N+VSJsg1ajBEWc+HYVs+HyODZYQmTQSajDeEBETKnwvJIooGOdv X-Received: by 2002:a63:3204:: with SMTP id y4mr25409222pgy.41.1548805083311; Tue, 29 Jan 2019 15:38:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548805083; cv=none; d=google.com; s=arc-20160816; b=t/9KeRPfNQ8T637Klhn0/JxHGYjlnWV4E0koua+GbaTlDwTgbmGw3nO0806d67cIcS 15fPCWiNrPxKZ/bE+yZ5lEVyxZiB+09h8u1U+IgDcAZEd4VMFfxPKMNlT7JPMZfrJUh7 Ff3aEeEA6JSA5LgOiEw8K2H2VM12y6pxucyFtQ7bxuUP6U329x5BoYBcVV2/PkHGakFg 6EvR5AReJziQMmSRIlg5oCdYA6q23NuaSF7f2pUmBUu7DVVLhDYRWQ/QJh+MhlThwuJP srG3e5HZ81lNaTPmGAUvvuECa0RWN0yEHB01cnHFFtCYw/7IZ3hj3HDBS5O5InMYCKiV VhGg== 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:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=ypcjhC5gLgv1najtmqf3KGwBGuKlXgrvvho14o6HPq4=; b=WbDlQ99uVoIgJTrZPseSEbhTgf/V0h0lQet8FcnSgWhh0fLhX1OePFFOrIHApVeYlc RK4ISbTTMx5wSKhX91+JSvBMQhvs0quN0rPnHFaxIWhAWz+vsbonTKCSq4z6IsHMbRn+ 5dAY+MFG0ahu8blt7OePivjl8lLnIAF1eiRqGfs9RGHaOg3Srjh3VzUWWuRJ9OMbtq6R THvOK/i2SCuFOYjnCl5XzVGPF5U/YkDID86cMlyLcIcjGr5FODJ32DaNR966KDKmYQNr 2mB7IXlLVNFzxh2LDDgN3W7DHexQ8wUlbkSWvGcTuj+c/lhGIihdPwWNUQ+FoZLZpdu6 R7DA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cmpxchg-org.20150623.gappssmtp.com header.s=20150623 header.b=JnOTWShy; 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=cmpxchg.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 1si11667218plk.296.2019.01.29.15.37.47; Tue, 29 Jan 2019 15:38:03 -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=@cmpxchg-org.20150623.gappssmtp.com header.s=20150623 header.b=JnOTWShy; 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=cmpxchg.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729797AbfA2XgU (ORCPT + 99 others); Tue, 29 Jan 2019 18:36:20 -0500 Received: from mail-yw1-f68.google.com ([209.85.161.68]:39756 "EHLO mail-yw1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727064AbfA2XgU (ORCPT ); Tue, 29 Jan 2019 18:36:20 -0500 Received: by mail-yw1-f68.google.com with SMTP id k188so8921706ywa.6 for ; Tue, 29 Jan 2019 15:36:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cmpxchg-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=ypcjhC5gLgv1najtmqf3KGwBGuKlXgrvvho14o6HPq4=; b=JnOTWShy8zOoZyip47uhC8ph1M4XcBA2QNn/g34BScolFhs1qAn5yHiIAiYqNKjwHY nmCc9DcEdq5jBZ8RAhFB/5J2py2kKU47cVjPJ+KWp/bwqEEe0RAxd5fOzNg1SVcsfEqK v8j/SDr9HWejcaQ0n9k7CG7A6XP2mgL6JkcmWaE6BKnZLlr51syPc9bw0yQBJnsu/rUZ EjMOSfq0hVZLVhf78Ieu+Vt168ODqC3uhSZlf9yg3mEfuw3Kwrh6XDmMMtkLHpSDDYiX n+K+K7XRC38sbnnXxoPxYPA1ZiZ/17uZZd6rHcaGaqYcNDdPG/OsjrYY6EEKOBDiDuWO bICA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=ypcjhC5gLgv1najtmqf3KGwBGuKlXgrvvho14o6HPq4=; b=HpgeGtIE/nPWA82Nv+7cHEDErU1eS/IgvDys+bmkdCL0P/TK4W9v34dbBoSW+3zFuY ZTRY2GpUwjVtMS4+nOXS/eBwm6D2JUnk0kHFuwEnC+thf93acrQADZFGRr8ZT1hePhKG VPsnTtYeE7rVJxTTgqUyup+L/tBCBf9dtFDFtGDKQzfJCyL5gVb0MXN4C9Qdzi78H7e2 BCT6EHF7fF2N4rQIZnTVbE6LJccGSRaikIVPHL2Njt4tvMAGC4jS4tDhuyjoWg7GrZil zt51/caojps3T7C7aGrFvYB0ZdZ5BY2LZnlqw7PXVpo516IHIGKoInlOf/jDFpJFMldt kAAw== X-Gm-Message-State: AJcUukccvBU/DVRoGNABuWxlKDMN4m/haFr3+KjTilogZhKHWUXig13B SSQbmzOslMoZ9czruV0BBOHHvQ== X-Received: by 2002:a81:6257:: with SMTP id w84mr27686832ywb.273.1548804979275; Tue, 29 Jan 2019 15:36:19 -0800 (PST) Received: from localhost ([2620:10d:c091:200::4:1d25]) by smtp.gmail.com with ESMTPSA id j12sm16757805ywk.43.2019.01.29.15.36.18 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 29 Jan 2019 15:36:18 -0800 (PST) From: Johannes Weiner To: Andrew Morton Cc: Mel Gorman , linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: [PATCH] psi: clarify the Kconfig text for the default-disable option Date: Tue, 29 Jan 2019 18:36:17 -0500 Message-Id: <20190129233617.16767-1-hannes@cmpxchg.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The current help text caused some confusion in online forums about whether or not to default-enable or default-disable psi in vendor kernels. This is because it doesn't communicate the reason for why we made this setting configurable in the first place: that the overhead is non-zero in an artificial scheduler stress test. Since this isn't representative of real workloads, and the effect was not measurable in scheduler-heavy real world applications such as the webservers and memcache installations at Facebook, it's fair to point out that this is a pretty cautious option to select. Signed-off-by: Johannes Weiner --- init/Kconfig | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/init/Kconfig b/init/Kconfig index 513fa544a134..ad3381e57402 100644 --- a/init/Kconfig +++ b/init/Kconfig @@ -512,6 +512,17 @@ config PSI_DEFAULT_DISABLED per default but can be enabled through passing psi=1 on the kernel commandline during boot. + This feature adds some code to the task wakeup and sleep + paths of the scheduler. The overhead is too low to affect + common scheduling-intense workloads in practice (such as + webservers, memcache), but it does show up in artificial + scheduler stress tests, such as hackbench. + + If you are paranoid and not sure what the kernel will be + used for, say Y. + + Say N if unsure. + endmenu # "CPU/Task time and stats accounting" config CPU_ISOLATION -- 2.20.1