Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp204320imu; Mon, 26 Nov 2018 09:47:04 -0800 (PST) X-Google-Smtp-Source: AFSGD/V1LB7O8sQzDbgZASAt7zA6GKx2zxzksMsZdNtydWNzjazjbQ+rwLAg7xsQ5+wkYBUkfPqP X-Received: by 2002:a17:902:4225:: with SMTP id g34mr29410194pld.152.1543254424769; Mon, 26 Nov 2018 09:47:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543254424; cv=none; d=google.com; s=arc-20160816; b=VOiwnmqeLWMr5rg/VbObiqTtZVEJvvGHzORGhsdZNKO8ibcSQo4XjXWj9JrTaM9yVH o5oBOcsycFxXkoo5xCBzqInCEfUfHRU+hgaTpJvnLqQBVMo556QIeKbkL9EL4cgWjyFm 0dZzq4bsearsPae+Zt3dfJSksvOFdfVg6D+oErZsjBr6VfVieue/nlSV4q+10Wh7Djcx e3gwMX8s+rfVVdFUdIl6avBduaGcEKnjWVEUYRzl/ET6bIs4QDmhy8TYyH0It1VnrG+n gTmJG6dfG73O+ZEV9ALRCx7n9AUVvnVFgTGkBK8EBHIHpO9NMxO1cokjICn1DQAtGmwg Rbtw== 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; bh=+Yk7ATU3x4IglljD7dZ8aDgsFL/v5aICQvTx9MMaEwI=; b=BDaHrPdvz/BQOLYZkixPvwA7wKWjUkRA0PYdzW7WLTOswzc8IR+ov6/H3yyM5WGTNh 05crbcpyCqFeV2rsMUEJ2nwcW7PKyuBvs2QAFPSEsnfNY4k9l48IZEu30A4YMnrGdH6t B2NBvW8/Ijc8RujehQfaB+2Szk13OaVnoXPxdaw7iZpFjhxQSz8Aqt5H8dIvNwt7hwyC CZwhVrDXywLqNdW410FD+CFrPDm6b9TDzFiEMAB4BRjvaybRRHPMok3ZefNW6Dj6dzhF B67fg4W1sb6wPKDiojJu2fT/dcd6mg4lxxUF3P2Qnqlsz6za6QG/dfjJYtiY+OGucRvW OGhA== 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 193si856460pgc.220.2018.11.26.09.45.56; Mon, 26 Nov 2018 09:47:04 -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; 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 S1726701AbeK0Eiz (ORCPT + 99 others); Mon, 26 Nov 2018 23:38:55 -0500 Received: from outbound-smtp13.blacknight.com ([46.22.139.230]:41674 "EHLO outbound-smtp13.blacknight.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726255AbeK0Eiz (ORCPT ); Mon, 26 Nov 2018 23:38:55 -0500 Received: from mail.blacknight.com (unknown [81.17.254.26]) by outbound-smtp13.blacknight.com (Postfix) with ESMTPS id 7DFDF1C2E63 for ; Mon, 26 Nov 2018 17:44:04 +0000 (GMT) Received: (qmail 10025 invoked from network); 26 Nov 2018 17:44:04 -0000 Received: from unknown (HELO techsingularity.net) (mgorman@techsingularity.net@[37.228.229.69]) by 81.17.254.9 with ESMTPSA (AES256-SHA encrypted, authenticated); 26 Nov 2018 17:44:04 -0000 Date: Mon, 26 Nov 2018 17:44:02 +0000 From: Mel Gorman To: Johannes Weiner Cc: Tejun Heo , Peter Zijlstra , linux-mm@kvack.org, linux-kernel@vger.kernel.org, akpm@linux-foundation.org Subject: Re: Hackbench pipes regression bisected to PSI Message-ID: <20181126174402.GR23260@techsingularity.net> References: <20181126133420.GN23260@techsingularity.net> <20181126160724.GA21268@cmpxchg.org> <20181126165446.GQ23260@techsingularity.net> <20181126173218.GA22640@cmpxchg.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: <20181126173218.GA22640@cmpxchg.org> 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 On Mon, Nov 26, 2018 at 12:32:18PM -0500, Johannes Weiner wrote: > On Mon, Nov 26, 2018 at 04:54:47PM +0000, Mel Gorman wrote: > > On Mon, Nov 26, 2018 at 11:07:24AM -0500, Johannes Weiner wrote: > > > @@ -509,6 +509,15 @@ config PSI > > > > > > Say N if unsure. > > > > > > +config PSI_DEFAULT_DISABLED > > > + bool "Require boot parameter to enable pressure stall information tracking" > > > + default n > > > + depends on PSI > > > + help > > > + If set, pressure stall information tracking will be disabled > > > + per default but can be enabled through passing psi_enable=1 > > > + on the kernel commandline during boot. > > > + > > > endmenu # "CPU/Task time and stats accounting" > > > > > > > Should this default y on the basis that someone only wants the feature if > > they are aware of it? This is not that important as CONFIG_PSI is disabled > > by default and it's up to distribution maintainers to use their brain. > > I went with the NUMA balancing example again here, which defaults to > enabling the feature at boot time. IMO that makes sense, as somebody > would presumably first read through the PSI help text, then decide y > on that before being asked the second question. A "yes, but > " for vendor kernels seems more appropriate than > requiring a double yes for other users to simply get the feature. > That's fair enough. The original NUMA balancing thinking was that it should be enabled because there is a reasonable expectation that it would improve performance regardless of user awareness. PSI is not necessarily the same as it requires a consumer but I accept that a distro maintainer should read the Kconfig text and figure it out. I'll make sure the updated version gets tested, thanks. -- Mel Gorman SUSE Labs