Received: by 10.213.65.68 with SMTP id h4csp5506imn; Wed, 21 Mar 2018 11:02:30 -0700 (PDT) X-Google-Smtp-Source: AG47ELsljkZfCQv3TCnrLhEJMvdVbVDnAjXL6EPd3zJNAZQtAJrkqXgQ7txOQgRCAv6v0sBLIa+0 X-Received: by 10.99.177.7 with SMTP id r7mr15560273pgf.76.1521655349947; Wed, 21 Mar 2018 11:02:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521655349; cv=none; d=google.com; s=arc-20160816; b=ViuRFnx1ic5E7lZGHj9sixmyEBFaDpEIATpp34CNi8Ow8ySE6gxhVz3dRvQhGEWiPc ObJfl5aKzmS+6hQIGst26vljSn6OizULv9eJFB1DXoFEUNmc7xHUtaOShIHtmpp0e9fv DZuFgYjn6iD2FpFZmm8lQSY9JgxPLCaFFZkrC3oy6PsE8mskF+EiO/z9EKZcBon/jcJp R/aCd7V9wxmIRIukwifKXTGnh2Au8ZJUf1qwPe567R7Yc0Gp/o/grU+imHMJiavcIrEF EUIHIK7ucqii5ePEsU4UzHRcsHO5qIzowNk6YvbTXzkGv9kPudePfzSLR1N97qccyB0U MO0w== 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=WubEmeSmejS+2+7sHd9QMgjO8PQ/t4jEriV+a0GVPCk=; b=ddqHbgMmGzu5ABAHGjQOkadIGyNuu0u/CPKYka2uCkpe6ips7/PBOIqDyB6yJFUZdt PEMgzFtHmG07tLxKdpPgr4w5kkYPGK9gn4rhe5ydUl48C5jfdBEiaBpc38I1xGGR7uZi idNLtkcC6n+XAUvCnM1ZFo9M4xRCYFtEYTMz7de32ieGpNrqQNnL+lxfqqiP+ygVXqnk 4LBUXYWZfbowbaeuXsSx6Hq5XYdIHeVX8EA+VGWwfiYCWz4EzXDE/daUzQPbjsk0/VmX bnGiqax9O8g9WGb5kGDX6/td5qlQNckvFGMqiMOWwmYnD4Fynku0U2G6h5JyJZ3k1RPI BVGQ== 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 f15-v6si4275962plr.454.2018.03.21.11.02.08; Wed, 21 Mar 2018 11:02:29 -0700 (PDT) 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 S1752559AbeCUSBF (ORCPT + 99 others); Wed, 21 Mar 2018 14:01:05 -0400 Received: from mailout5.zih.tu-dresden.de ([141.30.67.74]:58162 "EHLO mailout5.zih.tu-dresden.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752122AbeCUSBD (ORCPT ); Wed, 21 Mar 2018 14:01:03 -0400 Received: from [172.26.34.104] (helo=msx.tu-dresden.de) by mailout5.zih.tu-dresden.de with esmtps (TLSv1.2:AES256-SHA:256) (Exim 4.84_2) (envelope-from ) id 1eyi2c-0005ox-GA; Wed, 21 Mar 2018 19:00:50 +0100 Received: from [141.30.69.3] (141.30.69.3) by MSX-L104.msx.ad.zih.tu-dresden.de (172.26.34.104) with Microsoft SMTP Server (TLS) id 15.0.1365.1; Wed, 21 Mar 2018 18:59:57 +0100 Subject: Re: [RFT][PATCH v7 5/8] cpuidle: Return nohz hint from cpuidle_select() To: "Rafael J. Wysocki" , Linux PM CC: Peter Zijlstra , Frederic Weisbecker , Thomas Gleixner , Paul McKenney , Doug Smythies , "Rik van Riel" , Aubrey Li , "Mike Galbraith" , LKML References: <2390019.oHdSGtR3EE@aspire.rjw.lan> <1635957.yuHkCe9oyz@aspire.rjw.lan> From: Thomas Ilsche Message-ID: Date: Wed, 21 Mar 2018 18:59:57 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8"; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-ClientProxiedBy: MSX-L105.msx.ad.zih.tu-dresden.de (172.26.34.105) To MSX-L104.msx.ad.zih.tu-dresden.de (172.26.34.104) X-PMWin-Version: 4.0.3, Antivirus-Engine: 3.70.2, Antivirus-Data: 5.49 X-TUD-Virus-Scanned: mailout5.zih.tu-dresden.de Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2018-03-21 15:36, Rafael J. Wysocki wrote: > > So please disregard this one entirely and take the v7.2 replacement > instead of it:https://patchwork.kernel.org/patch/10299429/ > > The current versions (including the above) is in the git branch at > > git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git \ > idle-loop-v7.2 With v7.2 (tested on SKL-SP from git) I see similar behavior in idle as with v5: several cores which just keep the sched tick enabled. Worse yet, some go only in C1 (not even C1E!?) despite sleeping the full sched tick. The resulting power consumption is ~105 W instead of ~ 70 W. https://wwwpub.zih.tu-dresden.de/~tilsche/powernightmares/v7_2_skl_sp_idle.png I have briefly ran v7 and I believe it was also affected.