Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp791802ybx; Wed, 30 Oct 2019 05:12:36 -0700 (PDT) X-Google-Smtp-Source: APXvYqwKnRLvXU5aBqG09F+i92tbl3g+CtPjFhoPVUvB91s1ucjUA7WExBhjT0W9Q/5BAjAMF5g7 X-Received: by 2002:aa7:de03:: with SMTP id h3mr872744edv.275.1572437556671; Wed, 30 Oct 2019 05:12:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572437556; cv=none; d=google.com; s=arc-20160816; b=a+HiIy2bGgmNJR80wwiWGi/shKFqbiCuNIeEopgndThliRfczcQS9YR5xlb5q6ooGM 0XSC4wboUQ8oZBN6oyY3frkZURANFN4fYdm1dZa1EUmeoSU+3YECE3imj0kFE/55tuiZ Un35qLEXeVkK86qdRl5Y17IqjWp8a2EjsqPKmFCEu1dQQL4V8KvyM+cvMTfvsOOP5GSv 9kiKuZu+GbkEz0hmTccn8o4RRG3kQFIDH85JHs4KGaGlFRufayuBD3ecIhgXRHUtvHbA a5EpTgn9DTrXfuohQRl/wUrOOmR+RsMAD5fa8y8n0qzs/Ojp8OVgIt2SeJsQjJd54Apy bZxg== 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:dkim-signature; bh=KF3Q6Ry2pi672mCIagGYcp8Er7u0fxPBRpObcoZz1LM=; b=b23P8km+Q7Tw4QWVsrsiR1kKEAWaJiRovDfyohli0wgC0FIeZ8oHm+RMzp1L0cO5f5 CmxRyHqxIXUE7edBXpp67cr3C259VizPSsq9xuQBCeFP3O5ONfY4SqSPnp4Fnj80nUL/ zEicqFASxkwzc05PiQf0ZpQvqX+YCG8iJlNEPIWE9YU2WcTgLFVbzkJBvYpdgn+6Gkm5 fl/BUDmI64HJB6dhpvb6mZc+ISktD2gj4WOfh0vSDPRSutZtnXvsiIYrzXlwugLNVvvD 8sogzqtAZY1jKtHwq8MB2KpiFimMcj0Ea7qrp6RzWrAosYveQOGaggUUrQFCmA/5uu4R JRIA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=IptQ09tm; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k23si1040111ejr.298.2019.10.30.05.12.13; Wed, 30 Oct 2019 05:12:36 -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; dkim=pass header.i=@google.com header.s=20161025 header.b=IptQ09tm; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726638AbfJ3MLI (ORCPT + 99 others); Wed, 30 Oct 2019 08:11:08 -0400 Received: from mail-wr1-f66.google.com ([209.85.221.66]:38561 "EHLO mail-wr1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726102AbfJ3MLI (ORCPT ); Wed, 30 Oct 2019 08:11:08 -0400 Received: by mail-wr1-f66.google.com with SMTP id v9so2025871wrq.5 for ; Wed, 30 Oct 2019 05:11:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=KF3Q6Ry2pi672mCIagGYcp8Er7u0fxPBRpObcoZz1LM=; b=IptQ09tmf85OfJtqqkyGxI//XFf5UywQJx/T9BtlcbWabBceeV067dCwbpx7ZxBvJs 95c8WU8TghnMJeBj0M6npluutlGv4i38qXknB/XjmP7qY6IbGvnj2zGk+amM046uWpor HHD8JABvkxX4U6MN2FS4MeoJllXXBcSPwu8tKFaAN0cE35Sj66yAqVvTQuwheE+PCCoU vVonaEa0w5ux6E5mcFPGSrT4GXA9LyMgUc6J4EqW2zcbJXfSTZXTP9aPhVdu7WSHPC+J 67/hRxKrLPYTDVpH7hPQGxLwBRI275J9i4yUuwu+IfbCVogW/FZIHJoAyBhYF8RZp4Fr ZQlg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=KF3Q6Ry2pi672mCIagGYcp8Er7u0fxPBRpObcoZz1LM=; b=icXDjjSVio87bVBX4U0K9ltGdMsfidG04qSLWkExwScLdcG9i70nxftvbSUCZMHcMw IsWGfeRVRflphprUJr9kH93am/zB+aQ1zDBa/NVzvojQIeSl54+oDu/rXV+7DKdHC7h4 Q14Orw2AlICnnzY/HZLSknCgq3qzW3vqJ29WfjLYEFZbgQG2zmRMHjj0jZjqmUdGj07G yhNoCacXQ6+bUBRnhO7tamW2Ax5pO0i99Y1DdMy/jfXMArMc17IWagZ3U2aiPwWUTDrv ZEWgaQKz7THoVOzWWeXP9i1o83WrlENMtUcGaYRZnuX/GXoqxc+EAS5H4zt9UgORm3X4 HFAg== X-Gm-Message-State: APjAAAUwikv1ZqKrR6ib4CIpQIVrPDOeITpVrqLuuT7OgAMduWrGysL8 jQz+Jj/C2uAQtMPNtNGVLyolyw== X-Received: by 2002:adf:ed84:: with SMTP id c4mr23592181wro.333.1572437465898; Wed, 30 Oct 2019 05:11:05 -0700 (PDT) Received: from google.com ([2a00:79e0:d:110:d6cc:2030:37c1:9964]) by smtp.gmail.com with ESMTPSA id a7sm354wrr.89.2019.10.30.05.11.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 30 Oct 2019 05:11:05 -0700 (PDT) Date: Wed, 30 Oct 2019 12:11:01 +0000 From: Quentin Perret To: Vincent Guittot Cc: Patrick Bellasi , Qais Yousef , 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: <20191030121101.GA172224@google.com> References: <20191009104611.15363-1-qais.yousef@arm.com> <20191029110224.awoi37pdquachqtd@e107158-lin.cambridge.arm.com> <20191029114824.2kb4fygxxx72r3in@e107158-lin.cambridge.arm.com> <20191029124630.ivfbpenue3fw33qt@e107158-lin.cambridge.arm.com> <20191029203619.GA7607@darkstar> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wednesday 30 Oct 2019 at 09:04:44 (+0100), Vincent Guittot wrote: > That's the point of my comment, choosing big cores as default and > always best choice is far from being obvious. > And this patch changes the default behavior without study of the > impact apart from stating that this should be ok The current behaviour is totally bogus on big.LITTLE TBH, and nobody uses it as-is. Vendors hack RT a lot for that exact reason. Right now a RT task gets a random CPU, which on big.LITTLE is effectively equivalent to selecting a random OPP on SMP. And since RT is all about predicatbility, I'd argue sticking to the big CPUs for consistency with the frequency selection policy is the only sensible default. So +1 from me for Qais' patch :) Thanks, Quentin