Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp4307880ybc; Fri, 15 Nov 2019 02:30:53 -0800 (PST) X-Google-Smtp-Source: APXvYqzUixLCOCcUQSILpy6A2QLiKJ79XsxSev35n3R4enj6DYfeIvblxmjy85MhM3ap1sbZxMzt X-Received: by 2002:a17:906:11cf:: with SMTP id o15mr13160166eja.208.1573813853087; Fri, 15 Nov 2019 02:30:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573813853; cv=none; d=google.com; s=arc-20160816; b=lJ7iqhwKYpdULlZqhJXwv00HlJGEASF08Rn/v1oot75+1H3OQAsSrXHUvA9CF/+BoY WGmQ4s1f889e0s460MrFF1J5DANdWI0K3QGwIwoeV/yihik7DC1eJQu8aQ75wIQpXcV+ FNyjG+AWSvHjud6aC+/AIjp4Nfo3POIXI9kBmws5nA2O0gbWF6uItUvZkYbvIQygR4Ie TUCGDrRarD7l+TAqszDwTCwsCEqUFgLBFr6gd8hCQcQOxbOxGrQmGYRtNEGlHboYvUaV 1FYTFwaGScq22h1nbc3GsGCupbBFre7U6SEHaJ4HQZE+OqbsrSzbpM599S/t1sDZAgP9 eT9A== 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:mime-version :references:in-reply-to:date:cc:to:from:subject:message-id; bh=q/mBo0vzh3+D2fRsNPcTEPKa+x9BkuCWoyX6T7QEOIk=; b=G5C84E+3g+8AWl8GLSMRj5vMHjLK2+0DxGWWOkWro2lrjgtyxLxFhjo2xwf5TqbcFB AzVRO9IQSj+CAL0OeAN49Fj9ap+9g+hfpgf+2Ul0mSSHBiM/WjkrHjK++CFg9NG1GI8X m+lZaa+xajsiE9OOzZ0YJoT9l6CVn0h9O6jMDCYcT91yoB8lW0XwoxuoBZoQWybmTVcB /HItCXyD+5sK8xUivf78B1OQnZJSmmVMmzRg/kfdFWAtEtzzEG0Vgo5SnZQfp/c/ClHM a8ip3YP2izrof39eCEdBlQe6rM6x4OdjsH9hvA59ZxsPj2tx1qV8o6raunHzRS4UmjP7 lVGA== 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 e11si4812792ejq.437.2019.11.15.02.30.27; Fri, 15 Nov 2019 02:30:53 -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 S1727560AbfKOK2n (ORCPT + 99 others); Fri, 15 Nov 2019 05:28:43 -0500 Received: from mx2.suse.de ([195.135.220.15]:38222 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727122AbfKOK2m (ORCPT ); Fri, 15 Nov 2019 05:28:42 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id C9040AB71; Fri, 15 Nov 2019 10:28:40 +0000 (UTC) Message-ID: <1573814061.28635.2.camel@suse.cz> Subject: Re: [PATCH v4 5/6] x86,sched: Add support for frequency invariance on ATOM From: Giovanni Gherdovich To: Srinivas Pandruvada , Thomas Gleixner , Ingo Molnar , Peter Zijlstra , Borislav Petkov , Len Brown , "Rafael J . Wysocki" Cc: x86@kernel.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, Mel Gorman , Matt Fleming , Viresh Kumar , Juri Lelli , Paul Turner , Vincent Guittot , Quentin Perret , Dietmar Eggemann , Doug Smythies Date: Fri, 15 Nov 2019 11:34:21 +0100 In-Reply-To: <64baa18f7cd6066cc50360928d77504c1b68773e.camel@linux.intel.com> References: <20191113124654.18122-1-ggherdovich@suse.cz> <20191113124654.18122-6-ggherdovich@suse.cz> <64baa18f7cd6066cc50360928d77504c1b68773e.camel@linux.intel.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.26.6 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 2019-11-13 at 08:50 -0800, Srinivas Pandruvada wrote: > On Wed, 2019-11-13 at 13:46 +0100, Giovanni Gherdovich wrote: > > The scheduler needs the ratio freq_curr/freq_max for frequency- > > invariant > > accounting. On all ATOM CPUs prior to Goldmont, set freq_max to the > > 1-core > > turbo ratio. > > > > We intended to perform tests validating that this patch doesn't > > regress in > > terms of energy efficiency, given that this is the primary concern on > > Atom > > processors. Alas, we found out that turbostat doesn't support reading > > RAPL > > interfaces on our test machine (Airmont), and we don't have external > > equipment > > to measure power consumption; all we have is the performance results > > of the > > benchmarks we ran. > > > > I can run some benchmarks on this. > That'd be appreciated, thank you Srinivas. Giovanni