Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp3662232yba; Mon, 29 Apr 2019 06:30:54 -0700 (PDT) X-Google-Smtp-Source: APXvYqw5+533GVmkkNTKHmzCaosiJoG+ltI1dggebGi6iSFHyv5ul+1kSux45Hn9eyTu8plkjKox X-Received: by 2002:a63:fb4d:: with SMTP id w13mr59547102pgj.397.1556544654499; Mon, 29 Apr 2019 06:30:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556544654; cv=none; d=google.com; s=arc-20160816; b=up/sRuOIKk+iKnO7kwJr7sMS6XV/Be+eFOESqkA/uYCIktKKJunsesVTokAuTefUfg bhrVCx0pz+9Pmco0WCxTLZCF4JtMpW4D+0UPOcW0beNsjjKCUbzWxvUc8Y7pjZqrEA8l qDDjuM4ZZTqI4NlN7M0GiR80VwUadNqu4+0jBqeUYVLnpk1pEJ3EquJ9uPT9rkx43Yxt ZtC/Lt5EfKbX0jUfJe+DmNdmAA5T+e3wi0BUDPewGRo5rAtotFCK4TKblj0gL8aNDkuf OnTfKj94I6/Mp2HZunrIfEJVFqZKUx7mkDAgid3eJ4egohnqz0h++UIkgvEn3DvJweg5 TCrA== 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; bh=BliYO0jHs6FPPNRNbTORlMS2hLlmzV2WgUqbwD6MGDo=; b=dpo9+c/xc3EdTMwa1cesqR41RdoDKOyy+OHx8sIRUyogFHmhXU/UoUqYj5r4j4oRVl XnDZqmO/mnx7lYoIeeSxUi93GEpynqB8EML18JdnZnfyw7W1ZZaC/bY8O670UNzpJJhs 4aPMpFVPcz3Gl8ystRcNYzS1Dthn3i31i3BQ3bZjLzKJgTrzShIiNiGaqNK6oSxp5su2 oNb+slR4iOKAW/jLaIIudj6M/KqVlR/3YouGSgk7mTXr7kVLVEIevxeksabYnMZAbyI3 fVFAg3ioakjHtaZA6/5WcmFHP7JUlsY95ZGt8KfYBMfulZA7WAZUHIBOTbZjbKRZ+IV3 9GmA== 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 e96si31057610plb.0.2019.04.29.06.30.38; Mon, 29 Apr 2019 06:30:54 -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 S1726321AbfD2N3M (ORCPT + 99 others); Mon, 29 Apr 2019 09:29:12 -0400 Received: from foss.arm.com ([217.140.101.70]:57052 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725838AbfD2N3M (ORCPT ); Mon, 29 Apr 2019 09:29:12 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 42367A78; Mon, 29 Apr 2019 06:29:12 -0700 (PDT) Received: from [10.1.198.115] (r-obsd-amd64.cambridge.arm.com [10.1.198.115]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id E5F633F71A; Mon, 29 Apr 2019 06:29:09 -0700 (PDT) Subject: Re: [PATCH V2 0/3] Introduce Thermal Pressure To: Thara Gopinath , mingo@redhat.com, peterz@infradead.org, rui.zhang@intel.com Cc: linux-kernel@vger.kernel.org, amit.kachhap@gmail.com, viresh.kumar@linaro.org, javi.merino@kernel.org, edubezval@gmail.com, daniel.lezcano@linaro.org, vincent.guittot@linaro.org, nicolas.dechesne@linaro.org, bjorn.andersson@linaro.org, dietmar.eggemann@arm.com References: <1555443521-579-1-git-send-email-thara.gopinath@linaro.org> From: Ionela Voinescu Message-ID: <8eed9601-8bbb-9f62-f786-f08bd4a72907@arm.com> Date: Mon, 29 Apr 2019 14:29:03 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <1555443521-579-1-git-send-email-thara.gopinath@linaro.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Thara, > > Hackbench: (1 group , 30000 loops, 10 runs) > Result Standard Deviation > (Time Secs) (% of mean) > > No Thermal Pressure 10.21 7.99% > > Instantaneous thermal pressure 10.16 5.36% > > Thermal Pressure Averaging > using PELT fmwk 9.88 3.94% > > Thermal Pressure Averaging > non-PELT Algo. Decay : 500 ms 9.94 4.59% > > Thermal Pressure Averaging > non-PELT Algo. Decay : 250 ms 7.52 5.42% > > Thermal Pressure Averaging > non-PELT Algo. Decay : 125 ms 9.87 3.94% > > I'm trying your patches on my Hikey960 and I'm getting different results than the ones here. I'm running with the step-wise governor, enabled only on the big cores. The decay period is set to 250ms. The result for hackbench is: # ./hackbench -g 1 -l 30000 Running in process mode with 1 groups using 40 file descriptors each (== 40 tasks) Each sender will pass 30000 messages of 100 bytes Time: 20.756 During the run I see the little cores running at maximum frequency (1.84GHz) while the big cores run mostly at 1.8GHz, only sometimes capped at 1.42GHz. There should not be any capacity inversion. The temperature is kept around 75 degrees (73 to 77 degrees). I don't have any kind of active cooling (no fans on the board), only a heatsink on the SoC. But as you see my results(~20s) are very far from the 7-10s in your results. Do you see anything wrong with this process? Can you give me more details on your setup that I can use to test on my board? Thank you, Ionela.