Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp4791804ybg; Tue, 29 Oct 2019 12:27:05 -0700 (PDT) X-Google-Smtp-Source: APXvYqxdQiZVl/0ZabNGCbNJXo/51sqfHi250MJAl3EOWtP+fYmCtF1H8wrNfpBU+HHtn9TY3Z0I X-Received: by 2002:a17:906:27d1:: with SMTP id k17mr5032606ejc.264.1572377225169; Tue, 29 Oct 2019 12:27:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572377225; cv=none; d=google.com; s=arc-20160816; b=ESZ+dGsBTl9vDfgLMVd8wQD54G8X+epSqTsHSnPSrYfBGiK42goKWh9CmMKOkYy6yB UtRwca4TTBIYtUUdfBRrOQMmsbuhjYXgVfGrWRbXjEHc/QCYf5hfEkb1qtwNCK4W/xc5 1uQMV9lq+KzwcYRmYOIeFHTfd8pnnr7b6WGPyKsfXRKfQL82Fa5Dhj/O2cFFujrUOOsy zQuvSNOJN/3IBUWY6wjvXv1QnFKkHV+tlHkIBOnrfjKGn/NZFogPpUUi3ND5B1L1Xj27 wtfIuqpIvyQQ7qR0u6G7i3FZEbrmepskAjVqEZEqT/bOtOe+lNL3PB7KuzQQaTPO50DR M9DQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=hLh7oeBPXMBahHa31QKnj7InN9iDhqXxSfq4HTD6EgM=; b=iAFhYzxqz8kfG9YFLEvpmp8TDBDHuLx6Cq+b894rm0Ed1WofxsarW9T9sg1bWh6mQY LfgzxiXMfSZeQd4BeD4QVDDDtsGNYyuuEofkAezBtCnqU55eS4NttjAvwfITOYZwb2fr qswanbANwriFtZj8a8ffRIPm/SFOhxvQzv9gFP4eZekMilaK3MP+4N0JziwQBvJi3vBk 7B6nxp8WtBIgeRayf1gJie7kRJzak2/oF6KCJenZfkUCxFiY7ORWSyn2AsSdZwwBXOoG lK6uo76hliy0iKk6suFc1fbbAWYbGSEGBLgsPuuai1OwjRMMC0Gn1RXCd5zfxisCWLaE ZfyQ== 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 p11si4542442ejx.107.2019.10.29.12.26.41; Tue, 29 Oct 2019 12:27:05 -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 S2387871AbfJ2Mqf (ORCPT + 99 others); Tue, 29 Oct 2019 08:46:35 -0400 Received: from foss.arm.com ([217.140.110.172]:51684 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726048AbfJ2Mqe (ORCPT ); Tue, 29 Oct 2019 08:46:34 -0400 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 D05221FB; Tue, 29 Oct 2019 05:46:33 -0700 (PDT) Received: from e107158-lin.cambridge.arm.com (e107158-lin.cambridge.arm.com [10.1.195.37]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 940C43F6C4; Tue, 29 Oct 2019 05:46:32 -0700 (PDT) Date: Tue, 29 Oct 2019 12:46:30 +0000 From: Qais Yousef To: Vincent Guittot Cc: Ingo Molnar , Peter Zijlstra , Steven Rostedt , Juri Lelli , Dietmar Eggemann , Ben Segall , Mel Gorman , linux-kernel Subject: Re: [PATCH v2] sched: rt: Make RT capacity aware Message-ID: <20191029124630.ivfbpenue3fw33qt@e107158-lin.cambridge.arm.com> References: <20191009104611.15363-1-qais.yousef@arm.com> <20191029110224.awoi37pdquachqtd@e107158-lin.cambridge.arm.com> <20191029114824.2kb4fygxxx72r3in@e107158-lin.cambridge.arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20171215 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/29/19 13:20, Vincent Guittot wrote: > > > Making big cores the default CPUs for all RT tasks is not a minor > > > change and IMO locality should stay the default behavior when there is > > > no uclamp constraint > > > > How this is affecting locality? The task will always go to the big core, so it > > should be local. > > local with the waker > You will force rt task to run on big cluster although waker, data and > interrupts can be on little one. > So making big core as default is far from always being the best choice This is loaded with assumptions IMO. AFAICT we don't know what's the best choice. First, the value of uclamp.min is outside of the scope of this patch. Unless what you're saying is that when uclamp.min is 1024 then we should NOT choose a big cpu then there's no disagreement about what this patch do. If that's what you're objecting to please be more specific about how do you see this working instead. If your objection is purely based on the choice of uclamp.min then while I agree that on modern systems the little cores are good enough for the majority of RT tasks in average Android systems. But I don't feel confident to reach this conclusion on low end systems where the little core doesn't have enough grunt in many cases. So I see the current default is adequate and the responsibility of further tweaking lies within the hands of the system admin. -- Qais Yousef