Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp5192447ybc; Tue, 26 Nov 2019 23:34:29 -0800 (PST) X-Google-Smtp-Source: APXvYqwJ7aj19nIdM70TMmdtegw+UbfrhiEOw57XcMm9uZrmXA3B4nQz+ncjpN6sg6k/dooJh+OW X-Received: by 2002:a17:906:6043:: with SMTP id p3mr48180457ejj.103.1574840069731; Tue, 26 Nov 2019 23:34:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574840069; cv=none; d=google.com; s=arc-20160816; b=agYJPuGt+98P9QcsAZes2PZsJL+hNSnmdATwvl4wU+ha+PYBM6vsg4nxu8dvGRWlBo 49PCwe7nkJgtY49bUdxQlxXdVBou/+CykzbAOzYRjDRb3ko7Bg9b3EIULVcY9LKMmUdB fVqphova2v59nOsjs2SFKI+kbBVnc56I/flOn6zb612lenJKFx+Pfw2Tcm2nIBbOGVva 6JnsRajKRdurIbBTaPKzLJc/hUJEUS/xo8UVrmflVlpfvYUMGajZ7b5ZaD5LUCnbhvWn ycPZMRcEEMGB8RTnWQiu+8+VR9nchPDDKRJbEP+Wc/T76eLx7wyeuipZT8duZOhIfmCw 0idA== 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=0ORBH/ZadSHCKZQiUWjIShwLMG7CSdG3H9xgVcazVJU=; b=wI5BZDg6swAn38gvU0IaTIuLZw3KUP3Fo12xXvGwI/BgQSBChwhHbQE9aO1OoSrXsZ 4VcKneJRM+eJ5zNCLe+3s+N2OPtDIU4/k7To1xrbtae8wR8GhUOV4wiG/IY94OBH9Bua FirtJijhUnxMgrIk/JLl/aZFDvD58GTC2wiYB+XRSE1b/YXlWib3wYZErsLmeb2IK2mA AK/BCWPxte1yhd2uHWUuHXXETOPn2H4pLVTpB2mrWcH5m9Q5YN654QHswDxJ4brcE5R7 MCB5tRrrCLrnbbKysYlR9F65lqQz5bD5ys6NEJV/CDfaXXacP2dcYgY2ytRzgkD/uQ9W ckKw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@telus.net header.s=neo header.b=q22+IpVA; 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 rn10si8638584ejb.325.2019.11.26.23.34.05; Tue, 26 Nov 2019 23:34:29 -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=q22+IpVA; 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 S1726282AbfK0Hcm (ORCPT + 99 others); Wed, 27 Nov 2019 02:32:42 -0500 Received: from cmta20.telus.net ([209.171.16.93]:37329 "EHLO cmta20.telus.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726092AbfK0Hcm (ORCPT ); Wed, 27 Nov 2019 02:32:42 -0500 Received: from dougxps ([173.180.45.4]) by cmsmtp with SMTP id ZroRi5vCYN5I9ZroSiik5X; Wed, 27 Nov 2019 00:32:40 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telus.net; s=neo; t=1574839960; bh=0ORBH/ZadSHCKZQiUWjIShwLMG7CSdG3H9xgVcazVJU=; h=From:To:Cc:References:In-Reply-To:Subject:Date; b=q22+IpVAASH+U2XC4w8g/WP4DylYoKoUrCa+ZrfCCIARaAiRcPxqRq5d7UtnIyMVO Q9mBDyc4XKS3AadM6fJrbbtxzxXuUqDT3I9xJ11leHzRC6dVlmgcMZ3VT74LiR8vtm ApAzKp1ldrxZZILhypUdEu+azketPmv7dvFwFrP0rl73zqnqya4SV96XoyP3Cpq8np hSCjobndT7a8tluUQUip/CTOZXJoGTLlu+wbFGfhmTRAvK+Huvh77qJ+YMsBcUZx0V pqvcrgGLjEcSSxg+efyHL4z1aQvmWB5L+ex2b6vX18++k+ReKYaCskAq/729E85RLh hCBMaUTP1ooRg== X-Telus-Authed: none X-Authority-Analysis: v=2.3 cv=K/Fc4BeI c=1 sm=1 tr=0 a=zJWegnE7BH9C0Gl4FFgQyA==:117 a=zJWegnE7BH9C0Gl4FFgQyA==:17 a=Pyq9K9CWowscuQLKlpiwfMBGOR0=:19 a=jpOVt7BSZ2e4Z31A5e1TngXxSK0=:19 a=IkcTkHD0fZMA:10 a=dAj8EvzD0n44Yc48VYEA:9 a=QEXdDO2ut3YA:10 From: "Doug Smythies" To: "'Giovanni Gherdovich'" Cc: , , , "'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'" References: <20191113124654.18122-1-ggherdovich@suse.cz> <20191113124654.18122-2-ggherdovich@suse.cz> <000001d5a29b$c944fd70$5bcef850$@net> <1574697961.16378.5.camel@suse.cz> <000801d5a41e$a7fce2c0$f7f6a840$@net> <1574781600.7677.2.camel@suse.cz> In-Reply-To: <1574781600.7677.2.camel@suse.cz> Subject: RE: [PATCH v4 1/6] x86,sched: Add support for frequency invariance Date: Tue, 26 Nov 2019 23:32:34 -0800 Message-ID: <001d01d5a4f4$d96b21b0$8c416510$@net> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AdWkbC8LB/SpP9sCRCWbwO3FO+l3UwAhVS2w Content-Language: en-ca X-CMAE-Envelope: MS4wfNRXJHBbT8vjMdPapanEaph3gv4V2+AANKO8BH+eYmR1Nso692Mw0NJl1Q6Yq/wGlZoYcEBt0dX5lbjPw89ZHFUy+HTJlBcHXQs65J2CzkiO2FtVCMHQ 8qdbInoD2VETmXgk4ekKkZonQQKdAO46hQD9usndH/mEOiD0AH7jjUh7JqiqZuLO3penEF0LiInl2sPX95+rCsZbsCyzdzn4ZFcWkzaFrXbaRjPbyKGQAsTH N19Ik0dOoYG4CV/PH65GATgDjKC5uHH5IQWK4QEZS1eBZ4JEhWTr8tW3DD5bs0UMaMespVt3UlZggS8pRgc7K90vD5i+J/LhbdfXk3ljr61n8mTSRRp0ZEqm Tb6tV6H4qONGNCJI2OiLs9JxHdxwoUdSg5bZPYun40VAHGxe8P+AQ5GYJ0MKcbEcQ+ZFQ4gzn6br3dhbMmCiLn0AOPvsNqLcsi/uKtR+1IElAhRLS0GvuqXx 5DMVk9rakujonmx9aSZmCtHPeJeZ+AuMYbLghbOhLS7RR5G8FeIdHz2NZVHuYDTji9jGvakZCto8DpelczMhJ2aPNeP20pnxSkA1NobSiaYApscVe3S8Gb+D 9lsnwqa8827j5yNeFKxpC4sIG3mJiLLrsgwQdxFzw8BT8zZ/7s27U5h+o3+XZ0bgM9aTs29VlUbpE6QIUwJnlQvH16gf7jhe1pQWdhrfLrjvrqV/DMRk4zoq htB7xbjfM51qlUWP9vtjH3lT75ZBEMM4XKUpJQUJAoQoPDSdu3fBag== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2019.11.26 07:20 Giovanni Gherdovich wrote: > On Mon, 2019-11-25 at 21:59 -0800, Doug Smythies wrote: >> [...] >> The issue with the schedutil governor not working properly in the 5.4 RC series >> appears to be hardware dependant. >> >> My test computer is Intel(R) Core(TM) i7-2600K CPU @ 3.40GHz., Sandy Bridge. >> On a temporary basis, I acquired a computer with an >> Intel(R) Core(TM) i5-4460 CPU @ 3.20GHz, Haswell, >> and schedutil governor behaviour with the exact same kernels is fine: >> >> That "gitsource" test, "make test" 6 times, first run thrown out: >> >> Kernel 5.4 intel_cpufreq/schedutil: 3411.8 seconds >> Kernel 5.4 + gg 6 intel_cpufreq/schedutil: 1696.7 seconds >> Ratio: 0.49 >> Recall you got a ratio of 0.49 with 5th generation, Broadwell. > > It's good to hear that we're getting the same performance numbers for this > patchset on all hardware that is not a Sandy Bridge. Thanks for double > checking, independent verification is always valuable. > > Now, regarding the 5.4 regression for schedutil you see on Sandy Bridge: can > we move this to the kernel bugzilla? Would you care to open a bug there and CC > me to it? O.K., I'll need another day or two to isolate further, then I'll open a bug. I now understand considerably more, and why my bisection ended up at a strange spot. > If it's reproducible we should assess it and see what can be done. On my Sandy Bridge system if the kernel configuration contains: CONFIG_UCLAMP_TASK_GROUP=y Then the intel_cpufreq/schedutil will respond much like the performance governor. If the kernel configuration contains: # CONFIG_UCLAMP_TASK_GROUP is not set Then the intel_cpufreq/schedutil will respond much like it used to. On the Haswell computer, it doesn't seem to matter, and your tests seem to confirm this. Note: I steal my kernel configuration from the Ubuntu mainline builds, and they changed this parameter during the 5.4-rc series. ... Doug