Received: by 10.223.164.202 with SMTP id h10csp2292492wrb; Thu, 16 Nov 2017 12:37:38 -0800 (PST) X-Google-Smtp-Source: AGs4zMaqYCnEMV/rW7awOunIPzDAZuzB681Gw7G8n4XW1K+7dFFrBNbyenUyP34GpuNe9gQeixkJ X-Received: by 10.99.109.2 with SMTP id i2mr2864396pgc.269.1510864658606; Thu, 16 Nov 2017 12:37:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510864658; cv=none; d=google.com; s=arc-20160816; b=L9g31rtTQ83hiDAcfP7xdAnQ7SGJAquMniO0p/YhGQ/AcnEUSpoHM963Olsd7+HK5y wYIHoFAlFyLfqQggKa7FIPZGvde9tuAic424xXWrsiBVXGrrqpwbD8XOTf75twFnWr99 i3t5cOe4BuK/vQkfA/qxcBOqD8YPinXVpEinTsYiUwglW+p+oAphEQHZZj1ioxLUuu3/ Q+NFQISnFkyMAQG12InWwHfD+20CUj8QmDrpEy3SCQ8gQYzY9DZt30asQNNel0XGdAs5 5j1nnRa/w9GHJn1rNjXbfmG3/Fe2cuvfj2E7/M8kswCDNNW0u35Ha5m4ggwxfJ737vLG mMQg== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:arc-authentication-results; bh=9YKf4aW7V+vFtrmNey3nP2RbC6W+y/ue7NjC1I/7wBk=; b=ZtCUQaDrwmu4uupeFLU2uNtruOLllVx5ODDP2tj4IMO/NVWcV3vMucgaN01Kfea6Wv 9H03LDrZaP+uVCP/IFqCpfKrUuI9oXk+RlUO1pI9nnGy4jYgQLZjJhH9UTtXlPuwiIL0 KjL3uQHqRM1+bJ5c15gG0O/nV0M1i6foixZPQ5Vh0ZuKO4WrQQYz5gUF6Wwb685EExqx IZIoySvhRuDdCsTGaWrUKuArTtrz9Ty4/pTFneMsW/r0bEFz+Z86iAGS7pRvfWjC1Zu4 GMMXk1hT5rHjLigo8iJgZHLUx7vAmTbm16mkZujlwt+XKgWEe4N0hiVe+gz82GCTGIBV cGlQ== 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 n6si1428170pgu.398.2017.11.16.12.37.21; Thu, 16 Nov 2017 12:37:38 -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 S965320AbdKPQcx (ORCPT + 91 others); Thu, 16 Nov 2017 11:32:53 -0500 Received: from mailout6.zih.tu-dresden.de ([141.30.67.75]:37351 "EHLO mailout6.zih.tu-dresden.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965304AbdKPQcq (ORCPT ); Thu, 16 Nov 2017 11:32:46 -0500 X-Greylist: delayed 1273 seconds by postgrey-1.27 at vger.kernel.org; Thu, 16 Nov 2017 11:32:46 EST Received: from mail.zih.tu-dresden.de ([141.76.14.4]) by mailout6.zih.tu-dresden.de with esmtps (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (Exim 4.84_2) (envelope-from ) id 1eFMlE-0006s1-Ts; Thu, 16 Nov 2017 17:11:29 +0100 Received: from ma003.zih.tu-dresden.de ([141.30.69.3]) by server-40.mailclusterdns.zih.tu-dresden.de with esmtpsa (TLSv1.2:DHE-RSA-AES128-SHA:128) (envelope-from ) id 1eFMlE-00008I-Nl; Thu, 16 Nov 2017 17:11:28 +0100 Subject: Re: [PATCH] cpuidle: Add "cpuidle.use_deepest" to bypass governor and allow HW to go deep To: Len Brown Cc: dsmythies@telus.net, linux-pm@vger.kernel.org, jacob.jun.pan@linux.intel.com, linux-kernel@vger.kernel.org, Len Brown References: <1d81edef71c936099f8bb9d16162f8e70fbe401c.1510212816.git.len.brown@intel.com> From: Thomas Ilsche Message-ID: <9371b55d-c4eb-c3e0-aadf-f624ec72a83f@tu-dresden.de> Date: Thu, 16 Nov 2017 17:11:28 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <1d81edef71c936099f8bb9d16162f8e70fbe401c.1510212816.git.len.brown@intel.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-TUD-Original-From: thomas.ilsche@tu-dresden.de X-TUD-Virus-Scanned: mailout6.zih.tu-dresden.de Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2017-11-09 08:38, Len Brown wrote: > From: Len Brown > > While there are several mechanisms (cmdline, sysfs, PM_QOS) to limit > cpuidle to shallow idle states, there is no simple mechanism > to give the hardware permission to enter the deeptest state permitted by PM_QOS. > > Here we create the "cpuidle.use_deepest" modparam to provide this capability. > > "cpuidle.use_deepest=Y" can be set at boot-time, and > /sys/module/cpuidle/use_deepest can be modified (with Y/N) at run-time. This is a good option to have and can conveniently prevent idle power consumption issues. But that wouldn't be a reasonable default, would it? I still think there is an inherent need for a heuristic and a corresponding mitigation to avoid staying in a sleep state too long. Best, Thomas From 1583700433273808768@xxx Fri Nov 10 17:20:28 +0000 2017 X-GM-THRID: 1583573317012724483 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread