Received: by 2002:a05:6a10:8395:0:0:0:0 with SMTP id n21csp185683pxh; Tue, 9 Nov 2021 09:07:48 -0800 (PST) X-Google-Smtp-Source: ABdhPJwqAZbw8evE3wHmjVsUDzovU/iHFuSUoMqwMe4APAS0h/1JuY7VAU+ihkd8bHR2LEp3lw/o X-Received: by 2002:a05:6e02:1487:: with SMTP id n7mr5985500ilk.252.1636477668299; Tue, 09 Nov 2021 09:07:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1636477668; cv=none; d=google.com; s=arc-20160816; b=hpaNW4coRh4gr9CYpu87brxtbhrgBqbAf8bsoPAj17Olk4FypaJNxwrDzotNcwCmbX rWFrVwG4ySN8tcMPPI4jN/eYYeHp0XHxdhGwFdZEvN0WBlHQV3EWGvLKr+EMqQAA12FL OcZbIEjTK4JYqDlnk6ZHD57tmiXD5vnqsHfRlNf8lQ0bcwf5uFGJNFeOD4KCLi62xjfn ykJCxuz0sivWM+AmU4VZvN3UIzs7fcvKmK7Hx/tisZZs7VSfQ6JQY53yoy+LZhe2ss0U yZT9FmC1pzhdlotKGZzkO1CpkyIMmZKbPCtTbd2UvJ7btzBawIeAiktNk4d+DxNW89bd Tifg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=3ofimBiaDXVCa/XC3pET4HBz2dDZgVG/c5zTgVRQuuM=; b=dqn8ME1YxNX4GcTK8F6h8galLb1NQT4bmBIsO6uwZBpVA7zoGGS6vGAfEDtZ53KD9Z VhIWnQ4Cq55d+sYv4IMfVDGJgcansSmSs60J7aLZ9kjYZcHRVenc21b5Ce0yjtC1R6UG Q8OQSKDm0+fJZ2syjT/LT/g/5gm1nhKWd5InFfrmt6WAXLN4Jat2XV3IrUoSWVLT28eo h5H52t86bGmE26XzP6ntWt1/S3bZnqqwSdKcqisVsJHeRHxyWYz/zXNG3X/k7lnr/fmB H1Q3sQ9+2t/Ybi2pNw236TrSC1thYgzcIpcElF4YCtfN4o/qmBWNw0QGqJv+srlUsEf7 L95A== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g1si41259433ild.99.2021.11.09.09.07.33; Tue, 09 Nov 2021 09:07:48 -0800 (PST) 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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244062AbhKIIcP (ORCPT + 99 others); Tue, 9 Nov 2021 03:32:15 -0500 Received: from foss.arm.com ([217.140.110.172]:58328 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241549AbhKIIcO (ORCPT ); Tue, 9 Nov 2021 03:32:14 -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 57ED02B; Tue, 9 Nov 2021 00:29:28 -0800 (PST) Received: from [10.57.26.224] (unknown [10.57.26.224]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 718EB3F5A1; Tue, 9 Nov 2021 00:29:24 -0800 (PST) Subject: Re: [PATCH v3 0/5] Refactor thermal pressure update to avoid code duplication To: Steev Klimaszewski Cc: Thara Gopinath , 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> <59054c90-c1cd-85bf-406e-579df668d7b4@linaro.org> <2c54dbbd-2ecb-fb76-fa9f-9752f429c20e@linaro.org> <97e93876-d654-0a89-dce1-6fe1189345e2@kali.org> From: Lukasz Luba Message-ID: Date: Tue, 9 Nov 2021 08:29:21 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 MIME-Version: 1.0 In-Reply-To: <97e93876-d654-0a89-dce1-6fe1189345e2@kali.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Steev, That's interesting what you've done with Rockchip RK3399. I would like to reproduce your experiment on my RockPI 4B v1.3. Could you tell me how you to add this boost frequency that you have mentioned in some previous emails? I want to have similar setup to yours and I'll check all the subsystems involved in the decision making process for triggering this boost freq. On 11/8/21 11:21 PM, Steev Klimaszewski wrote: > Hi Thara, >> Hi Steev, >> >> IIUC, PineBook Pro has Rockchip RK3399 which has 2 Cortex A-72 and 4 >> Cortex A-52 where as C630 has Qualcomm sdm845 which has 4 Cortex A-75 >> and 4 Cortex A-55. Task placements and subsequently cpu load will be >> different for both the platforms. With the same workload, I will >> expect Rockchip to system to be more loaded than sdm845. Having said >> that, what cpu-freq governor are you using on both the systems. >> > I'm using sched-util on both of the systems. > > I've tried a number of different ways of forcing builds only on the A-75 > cores, and I simply cannot get the load to be "enough" to kick in the > boost frequency. > > An example being > > git clone https://github.com/zellij-org/zellij.git > > cd zellij > > taskset --cpu-list 4-7 cargo build --release > > git clean -fdx > > taskset --cpu-list 6-7 cargo build --release Thanks for the pointers, I'll give it a try when I sort out this Rockchip boost setup. > > > On my C630, it never goes higher than 85C with the 4 cores being used, > and with 2, it never goes about 65C and I do not get any 2.96GHz.  It's > currently sitting at "6" in the time_in_state for 2965800. > > > --steev > Thank you for your support. Regards, Lukasz