From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org [172.17.192.35]) by mail.linuxfoundation.org (Postfix) with ESMTPS id B7BFCB1D for ; Wed, 15 Jul 2015 22:17:24 +0000 (UTC) Received: from v094114.home.net.pl (v094114.home.net.pl [79.96.170.134]) by smtp1.linuxfoundation.org (Postfix) with SMTP id EEDC21ED for ; Wed, 15 Jul 2015 22:17:23 +0000 (UTC) From: "Rafael J. Wysocki" To: Daniel Vetter Date: Thu, 16 Jul 2015 00:44:01 +0200 Message-ID: <2869041.AWiygZspUy@vostro.rjw.lan> In-Reply-To: References: <1489458.8WDRattPkl@vostro.rjw.lan> <1455994.zAMIqEIJx2@vostro.rjw.lan> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="utf-8" Cc: "Brown, Len" , "ksummit-discuss@lists.linuxfoundation.org" , Alan Stern , Kristen Carlson Accardi , Grant Likely Subject: Re: [Ksummit-discuss] [TECH TOPIC] System-wide interface to specify the level of PM tuning List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Tuesday, July 14, 2015 06:51:31 PM Daniel Vetter wrote: > On Tue, Jul 14, 2015 at 1:07 AM, Rafael J. Wysocki wrote: > > However, there are places in the kernel where there is a real tradeoff between > > power and performance (or power and capacity in general) and there are places > > that tend to keep conservative settings for fear of exposing latent bugs to > > a wide community of users. > > > > Those might benefit from allowing the users to relax the settings globally > > if they want to. > > Well that's the approach I don't like personally. Essentially we > should be the experts on what works and what doesn't. But then kernel > developers chicken out and dump this problem onto users, which happily > enable all kinds of options they hear about. And then when it eats > their data or crashes machines everyone shrugs and says "oh well you > probably have one of the broken machines, don't enable this" and moves > on. > > There's certainly the case that some tuning stuff in core kernel has > real downsides to either perf or power, but generally (for device > drivers) I feel like simply not enabling the all the power features is > a cheap way to chicken out of bugs reports and responsibility. I'm > somewhat opionated on this ;-) But that's what's happening. Many PM features are not enabled by default for this reason or another. The point here is whether or not we want to have a way to make all of them be enabled by default instead and see what happens, for example. Thanks, Rafael