Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp7467424ybl; Tue, 24 Dec 2019 03:10:28 -0800 (PST) X-Google-Smtp-Source: APXvYqzIHohD19iQGlLABWlessbsuk6Gd9viaa9xtPZ/ocN+L1EZsEuPHMLfXZgA5xVQUrZQaj2/ X-Received: by 2002:a9d:69ce:: with SMTP id v14mr39215572oto.248.1577185828299; Tue, 24 Dec 2019 03:10:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1577185828; cv=none; d=google.com; s=arc-20160816; b=0YwBhXSR7wFhCNThmebu8anN49GAsWY4U4k4XnpJahtW1qROJ/2ekHJbKsi72RuT02 SJ1Dd6LJOE3/lxCuV0MmKHVRpAI6XGktnsO5NQJxRWqbKcMAAakNMd+7JZbeby+CAW+j imcGRkacWh27vb4tt7Or0lZtBsh5gVnd1+iOhdZ5Wm+CfvTLXf787iUr6rs/ZHFu/RZf nbVoK593F+v6cgb4geX4PYMhT/J4UM6PemnNlbL0OgSz1cXoZgIn0k3seNK08DUu+7V5 vPFJU0M1018SzEULRM9ylASUaPjhnK6dsgvr6b4H1C1wFyl4Str1MkqJb1JdRxNMzXYF B8fg== 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=gQ66IlN3SBniEgY1hYiiYCyPok5xdt6AARD3g6fxboI=; b=XL8zJMx6wH2wEbJ5p6yqeXg00BBqOrQ5+/NNUHr7h3uYzuSwocNSTv8v0/RYwiEeM6 v7/jzxx5bcNcDzBry9N7LjobF9fejdOHE29/96KeMKntzn4k2DVP+8Hz2pnAwEmZb0Bg PbeqXJvcqWtvj55tzj41QR/ia3FybZz1rHvn6e9Pv0P+7I6oV6Us7t6scB3au0vY1XNL z4Jf2hvNJsCurFcPZT/ZN/xTutyO1x/x1W3ffR+WrBwdpnPp7CTP7uqetWr5gvP7sY6E ylCPrTHANN+T67zMoaTWhEjihkw0WQOXB8eHd7atVy/vmtZ/fmXHNDfJAsLhi7BX7UyC 5aqQ== 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 v14si11329580oto.127.2019.12.24.03.10.02; Tue, 24 Dec 2019 03:10:28 -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 S1726203AbfLXLIk (ORCPT + 99 others); Tue, 24 Dec 2019 06:08:40 -0500 Received: from foss.arm.com ([217.140.110.172]:51084 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726091AbfLXLIk (ORCPT ); Tue, 24 Dec 2019 06:08:40 -0500 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id C14C31FB; Tue, 24 Dec 2019 03:08:39 -0800 (PST) Received: from e107158-lin.cambridge.arm.com (e107158-lin.cambridge.arm.com [10.1.195.21]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 56E813F534; Tue, 24 Dec 2019 03:08:37 -0800 (PST) Date: Tue, 24 Dec 2019 11:08:35 +0000 From: Qais Yousef To: Doug Smythies Cc: 'Giovanni Gherdovich' , x86@kernel.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, 'Mel Gorman' , 'Matt Fleming' , 'Viresh Kumar' , 'Juri Lelli' , 'Paul Turner' , 'Peter Zijlstra' , 'Vincent Guittot' , 'Quentin Perret' , 'Dietmar Eggemann' , 'Srinivas Pandruvada' , 'Thomas Gleixner' , 'Ingo Molnar' , 'Borislav Petkov' , 'Len Brown' , "'Rafael J . Wysocki'" Subject: Re: [PATCH v4 1/6] x86,sched: Add support for frequency invariance Message-ID: <20191224110834.rgibtqm6dr6kmu5y@e107158-lin.cambridge.arm.com> References: <1574781600.7677.2.camel@suse.cz> <001d01d5a4f4$d96b21b0$8c416510$@net> <003d01d5a63d$f6ab3950$e401abf0$@net> <20191219104813.6fr34qavpaplecoz@e107158-lin> <000701d5b965$361b6c60$a2524520$@net> <20191223140743.o2wfoqtf56g4yrk5@e107158-lin.cambridge.arm.com> <20191223144043.ticfxfgbolsqk74i@e107158-lin.cambridge.arm.com> <000301d5b9ae$cd8f5b30$68ae1190$@net> <20191223191014.g7lnxafuadwtcqub@e107158-lin.cambridge.arm.com> <000401d5b9f7$cf3782c0$6da68840$@net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <000401d5b9f7$cf3782c0$6da68840$@net> User-Agent: NeoMutt/20171215 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 12/23/19 17:16, Doug Smythies wrote: > Yes, it fixes the schedutil governor behaving like the performance governor > problem on my i7-2600K test system. > > I re-ran the tests several times, and re-booted back to the stock (problem) > kernel to verify incorrect schedutil governor performance (i.e. I toggled > back and forth, 2 times for each of 2 kernels, tests 1 and 2, total 8 tests). > Kernel 5.5-rc2: 4 tests FAILED (as expected). > Kernel 5.5-rc2 + this patch: 4 tests PASSED. Great! Thanks for testing it, I'll send a proper patch shortly. > > Accidentally tested: > Kernel 5.5-rc2 + this patch + command line "cgroup_no_v1=all": 1 test PASS. I think this cgroup_no_v1 is a happy accident. It has nothing to do with the fault, but for your case maybe helped observing things in a better way. FWIW, I reproduced the issue on Juno Arm64 using Debian and Buildroot rootfs. What is actually required to trigger the bug is to create a cpu controller and add all system tasks to it to create some noise - which Ubuntu and Debian do by default at boot time. In Buildroot when I did that manually I could see the frequency going to max most of the time. I'll add away to test this scenario. Thanks for your detailed report. Happy holidays! -- Qais Yousef