Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp3567055pxb; Fri, 5 Nov 2021 18:33:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwzm2wkMFUeRruPhN/J0eeq28zbtQzIFVKpfNSBuVl/93xPp+8VvwZk1ZSrd3X0wLnWc1/W X-Received: by 2002:a02:6064:: with SMTP id d36mr12248881jaf.80.1636162399195; Fri, 05 Nov 2021 18:33:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1636162399; cv=none; d=google.com; s=arc-20160816; b=iJrIGqvaJakghF1P4cOx/LDdVtjqhnqSgBZ4csw4Iwe2npmk5RVfzB7Ig9G9MtFY3Y UM6VctSO5axn22GUYyFO0XLqA3wghgO+1o8IwjzRbz/6C3/6j8MtLBVVdjPTTzrqCa+B W8CLJmFhIp21rTfJRnQQEApiwecCBWOOJRB7N35+qF794jcQZkE+lYVGT/e1eaWQm1KM 4/KHoNXgxJIZYLX78tk0qQK+OC93lpPiF0lphmCxvMiLvoOUvGJ6/bElbR/JCnshRR2U IcKuqAnmTVSmb1HZ7an/uvxWgGX/uZy48oX55ZUzH3UYVWYAmbjwjiltnPWa8k2o69/w 8iew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=hp5yDR8Prvk1XOLHiJfiiyB7kBL9249Yo9SKWwYcurc=; b=DjKCZOrtCm5e/g7eCoozrvMRZTZyaGuaCE8rjTjFiBiSc2FXxv4JHdNqUKlySb7z8C SD6vidu4Hlc3lt+eVmWUPnChGGxiPkWs0vn8zH5f70H9SFeldZoqtbkQdGL9qngAtFHX XvRbeKDS0gmhthRMx6V6uEWHvypHKfMEGx+rgBAXPLnb8cMF0E6RxmnFVrnMU5Hti+Vz hQVynHywRi4pXcDWy4O4J/QEFmymiITnjw/DjmveiQOihwirQqLk2nxxUH3vw35xSygn ygi2duJnkk5mrUKKD4iV0/QSh9m7YzwwymsnKtE6E0UGSNoHmCNSkVg7VyGukcYJh0F0 scCA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kali.org header.s=google header.b=fGfqNbnk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kali.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m22si11552386jac.35.2021.11.05.18.33.06; Fri, 05 Nov 2021 18:33:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kali.org header.s=google header.b=fGfqNbnk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kali.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232660AbhKEWtJ (ORCPT + 99 others); Fri, 5 Nov 2021 18:49:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54740 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230400AbhKEWtI (ORCPT ); Fri, 5 Nov 2021 18:49:08 -0400 Received: from mail-ot1-x32d.google.com (mail-ot1-x32d.google.com [IPv6:2607:f8b0:4864:20::32d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 63229C061570 for ; Fri, 5 Nov 2021 15:46:28 -0700 (PDT) Received: by mail-ot1-x32d.google.com with SMTP id c26-20020a9d615a000000b0055bf6efab46so6978366otk.6 for ; Fri, 05 Nov 2021 15:46:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kali.org; s=google; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to:content-transfer-encoding; bh=hp5yDR8Prvk1XOLHiJfiiyB7kBL9249Yo9SKWwYcurc=; b=fGfqNbnk2ABvhMLmmytPWqSyXS3vqgLp/RW8uAetdm0Cf3iesPucRqyyvJNF7r0Q0p llJgco8xvycR18ObUR7xkFgLtHf4wCvKrFgsafbzEthUpZ2QrQ/bIeJT8GfvqlEedjcv iKwKJ2Q5F24ztUUhf4RvV7kl+3mahObZwskzURGwwjWy2+VkB1O/U6QYXpe19uBU2TST IFocwXviedARStv0DlCnQR7Ik0ADeMCPrwLR26FdfnDyOunBFQiDG7XMQn5jELVyOcZ2 +TtaLKkUegCepqXB+bWAFRHFUaaC+DKjYWDZOCBvv1B3TVOAnSrRUMoPxThIH98QGRmE 9Dgg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=hp5yDR8Prvk1XOLHiJfiiyB7kBL9249Yo9SKWwYcurc=; b=lRmCyN6B7z3ASJFs+dEUQOdJUrvwz9zqQ9D6JdhZccRJiiqSAaluIk+n/gF06isV4w 4bSVW+SdMTUyNZvS4o9WHCZydjof7g2R5OTbca22+Yn4wvDZkCyGuQK39E5IDY6Y6LJd X9Up+ldDaNy5LEsU5c8dzoESXhXTBrlcSYEiHwSqvT81U4ZEpIWl6tKcfueDYvump0O/ eKbiVd8uc0loLJfBWJvEx4c0PqkP8cFdMsW+bqR+as/cCC8miJjwgpM2NfVWomc6qrkr RyMya1z2qOtHpPETYcKG+Mbw8cnQaOpQsr0Ql1TyRd9O2DfELa2/8pRGRNtNd0zGGfy5 cOFg== X-Gm-Message-State: AOAM533BGRZlZW2nddkD7dWTT9NCAUm0MhkguTcVkSdsRxCVewZjfw1u F4pHmwPl7NPc4FcJzolS8CNJmA== X-Received: by 2002:a05:6830:4009:: with SMTP id h9mr45877669ots.186.1636152387820; Fri, 05 Nov 2021 15:46:27 -0700 (PDT) Received: from [192.168.11.48] (cpe-173-173-107-246.satx.res.rr.com. [173.173.107.246]) by smtp.gmail.com with ESMTPSA id i11sm2991821oof.36.2021.11.05.15.46.26 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 05 Nov 2021 15:46:27 -0700 (PDT) Message-ID: Date: Fri, 5 Nov 2021 17:46:25 -0500 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.3.0 Subject: Re: [PATCH v3 0/5] Refactor thermal pressure update to avoid code duplication Content-Language: en-US To: Thara Gopinath , Lukasz Luba Cc: linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, sudeep.holla@arm.com, will@kernel.org, catalin.marinas@arm.com, linux@armlinux.org.uk, gregkh@linuxfoundation.org, rafael@kernel.org, viresh.kumar@linaro.org, amitk@kernel.org, daniel.lezcano@linaro.org, amit.kachhap@gmail.com, bjorn.andersson@linaro.org, agross@kernel.org References: <20211103161020.26714-1-lukasz.luba@arm.com> <3cba148a-7077-7b6b-f131-dc65045aa348@arm.com> <9d533b6e-a81c-e823-fa6f-61fdea92fa65@kali.org> <74ea027b-b213-42b8-0f7d-275f3b84712e@linaro.org> <74603569-2ff1-999e-9618-79261fdb0ee4@kali.org> From: Steev Klimaszewski In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > [snip] > Hi, > > So IIUC the below logs correctly, you are never hitting boost > frequency (with or without this patch series). Is that correct ? > > w.r.t temperature , how are you measuring it? Do you have LMh enabled > or are you using tsens to mitigate cpu temperature ? Hi, I was wrong - it does indeed go boost with the patchset applied, it's just that it doesn't boost up to 2.96GHz very often at all. As noted by the 0.03% when i ran it while compiling zellij; I reapplied the patches (and the 6th patch from Lukasz's email) and after boot, 2.96GHz was showing at 0.39%. Most tools that read the cpu frequency don't really seem to be well suited for big.LITTLE, and seem to throw an average of the speed, so cpufreq-info was the best I have.  We're apparently supposed to be using cpupower these days, but it doesn't seem to know anything about arm64 devices. Temperature wise, I'm just getting from the sensors, and I am using LMh. Now, I have to admit, while I've thrown a patch here or there, I'm not exactly a kernel developer, just enough knowledge to be somewhat dangerous and know how to backport things.  In my mind, and my line of thinking, I would expect with boost enabled, that the cpu would boost up to that as often as possible, not require a specific workload to actually hit it.  But then again, I would expect multiple compilation jobs to be one of the workloads that would? So I think, the part about never hitting 2.96GHz can be dismissed, and was simply my lack of knowledge about the cpufreq-info tool's averages.  It does seem however to rarely ever hit 2.96GHz and I would actually expect it to hit it far more often.