Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2389199imu; Sat, 10 Nov 2018 13:48:33 -0800 (PST) X-Google-Smtp-Source: AJdET5dBZCJCnF4Ca3aUqFgOqoYuwVIh9b9m2Bc5T/dOhqbWMEuRHnCqxpVuET4gvyO2HInaBD/s X-Received: by 2002:a17:902:aa46:: with SMTP id c6-v6mr14364774plr.182.1541886513053; Sat, 10 Nov 2018 13:48:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541886513; cv=none; d=google.com; s=arc-20160816; b=kK1zpCedRovHPqCo6UKC2jF2BTgQtSycnG9BHgFSjcC4mll75Ntq6KzTxroBAohgir T8Kl3RqU7MO33LUfXiWXXHyd3fjIDGeq6yy4EHuqbCYGMzF5TAweCejAL4nRRZa5y27x CJNGVmjN6qnbil0+8K9IIuJUONsmsSYSMqk/KO4qMaIW/Cyw61C6k3j2T1SbRZ7WgtaF eWuFdxPLSBaTWECEsSZBBLRGSzzeKELSEFivCttMJKgAN6XwmggTS1aE6dGU8pT8AGDX gqH/0/NvGyzP4GJ6sn//17kQ5HNSu/JNBxGbSdf7ZDRJgZtWoE0ByvDqk8HXlTf7bkb+ NgBw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language:thread-index :content-transfer-encoding:mime-version:message-id:date:subject :in-reply-to:references:cc:to:from:dkim-signature; bh=chq4lRCIFA9c9VB8arC2XcKcz7jKTZN+RdsIca7c3qg=; b=n0S+UQjyunwTndlfmyxswPOU8YQgkfIKQcDONrB2QvstGC/qusQMPuznRl/k99oExY PmbbE9AShSESE1Qze5Sbv4/oMeBJyQLBhYaM4wk1LWI5Gb7FpNEZ+syVQt+M/rbQ3IsK Wtp3wRZNX0XzUrmWq9/7T5jfQbG4aMI4eTRWLyagbDJn2h1mPiD5bT6pV4zz9zBond+f sYybGTg+ml8/FO1HWC0oWTDxXY7mk6rjaMhc00VWW2yvVKPDU61AgtCaDv7eMPUzIc1E NL9PXjcdWV2pQJfT1icDJpQppkj99htmAmDUz0e9XxUJXzIomXKV9FKiqB0V2bl7Hxb7 hESw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@telus.net header.s=neo header.b=a2O1HD+o; 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=pass (p=NONE sp=NONE dis=NONE) header.from=telus.net Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s11si10369331pgk.344.2018.11.10.13.48.17; Sat, 10 Nov 2018 13:48:33 -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 (test mode) header.i=@telus.net header.s=neo header.b=a2O1HD+o; 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=pass (p=NONE sp=NONE dis=NONE) header.from=telus.net Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726449AbeKKHeK (ORCPT + 99 others); Sun, 11 Nov 2018 02:34:10 -0500 Received: from cmta17.telus.net ([209.171.16.90]:55483 "EHLO cmta17.telus.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725996AbeKKHeJ (ORCPT ); Sun, 11 Nov 2018 02:34:09 -0500 Received: from dougxps ([173.180.45.4]) by cmsmtp with SMTP id Lb6MggLYXP96wLb6NgF0xl; Sat, 10 Nov 2018 14:47:42 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telus.net; s=neo; t=1541886462; bh=chq4lRCIFA9c9VB8arC2XcKcz7jKTZN+RdsIca7c3qg=; h=From:To:Cc:References:In-Reply-To:Subject:Date; b=a2O1HD+okVcuW+8rHx9AUMxEoUmdT8IkQLxM9yv3SQsFw3XMqJMRwETrh1CWh4qfJ IQMZR5FdnpL82+lgNZlxBo781Qb6HOwiiF4GAL8/WtuOjSnO8rzvXT7B7VfP+4PyjB QRlh1+u+GOvs7GP03ovUk/aPKjVeRm0BE52yC+XVOZuTiICtnFwDxz/5yO9PevtojG 6p5NKkoRPgeXMCmpPnwqQhXQDqbxQWXCJYxjacSjYHayKTIIN2Em9fStSej6mlL6hj H6vsU70Yyk7fYbgLxH/3wVBRBJNMVsAzkeLVDeSnCvgH6hIOwdlpy8nTG7BK/lOGq3 fTH4pYMKjolCg== X-Authority-Analysis: v=2.3 cv=G5vN7Os5 c=1 sm=1 tr=0 a=zJWegnE7BH9C0Gl4FFgQyA==:117 a=zJWegnE7BH9C0Gl4FFgQyA==:17 a=Pyq9K9CWowscuQLKlpiwfMBGOR0=:19 a=kj9zAlcOel0A:10 a=FGbulvE0AAAA:8 a=ugkoA4SMqsBuiJswprwA:9 a=PQ8TymTXbGEOm_cX:21 a=vxPhXtqwuZbslzO-:21 a=CjuIK1q_8ugA:10 a=5JIPC4SmUL4A:10 a=eM4ghy-HDjkA:10 a=svzTaB3SJmTkU8mK-ULk:22 From: "Doug Smythies" To: "'Rafael J. Wysocki'" Cc: "'Srinivas Pandruvada'" , "'Peter Zijlstra'" , "'LKML'" , "'Frederic Weisbecker'" , "'Mel Gorman'" , "'Daniel Lezcano'" , "'Linux PM'" , "'Doug Smythies'" , "'Giovanni Gherdovich'" References: JLIjge0NMDhAwJLIogChPj KR9ogVaVz6DhgKRFdgxgYz In-Reply-To: KR9ogVaVz6DhgKRFdgxgYz Subject: RE: [RFC/RFT][PATCH v3] cpuidle: New timer events oriented governor for tickless systems Date: Sat, 10 Nov 2018 13:47:33 -0800 Message-ID: <001001d4793f$020a7f90$061f7eb0$@net> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AdR0W8vD4oREAbGoTFqO9uyL0vrNhgCWrS2wAJOvwLA= Content-Language: en-ca X-CMAE-Envelope: MS4wfLTmeI/HcROGLdO/H3saieYM74C4fFio9PF+M3tXeY82yU/gEAYmV9F4kbWJilKKMZjYkfCOiJJGuTozVXSG8dciGM8Yx7fNGATaAHLtxIyj94mjad3a 8CXOlGUFs8I2lSJZmGtB4hmHjgCHnI1t/+BFB4uz6LRoWQjzagxalMWjZi8uESgsdVppZoQospr92LiEltAFtWSLkNklrpHa2f6Fj864hetdqYm/kJ0YV85V jHyAoo9SEe5WhuMVxKLssKLgwUaxqeCXzJVMUqXDlr4Sao4Z/eOlcECztanXlMpIBaK6feguXJJGuUg7oCPAvaUfrdcMmIpe9uym3XHywn8mpBQClikKaJxa FHUmjHEyAhlPg0FbD2hbQOLcTaoDqsGebXT4QFOuurI5wG86Zlo3Z13k6TVI71N+QF1FYCSnIdk8jp5qDC06V51Litv9MHxwIHvll2/ee+o3JF2/yVRrm+1H 8v5RQ0XWEaljQIL6 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2018.11.07 09:04 Doug Smythies wrote: > The Phoronix dbench test was run under the option to run all > the tests, instead of just one number of clients. This was done > with a reference/baseline kernel of 4.20-rc1, and also with this > TEO version 3 patch. The tests were also repeated with trace > enabled for 5000 seconds. Idle information and processor > package power were sampled once per minute in all test runs. > > The results are: > http://fast.smythies.com/linux-pm/k420/k420-dbench-teo3.htm > http://fast.smythies.com/linux-pm/k420/histo_compare.htm Another observation from the data, and for the reference/ baseline 4.20-rc1 kernel, idle state 0 histogram plots is that there are several (280) long idle durations. For unknown reasons, these are consistently dominated by CPU 5 on my system (264 of the 280, in this case). No other test that I have tried shows this issue, But other tests also tend to set the need_resched flag whereas the dbench test doesn't. Older kernels also have the issue. I tried: 4.19, 4.18 4.17, 4.16+"V9" idle re-work patch set of the time. There is no use going back further, because "V9" was to address excessively long durations in shallow idle states. I have not made progress towards determining the root issue. ... Doug