Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp603612imm; Wed, 29 Aug 2018 07:43:35 -0700 (PDT) X-Google-Smtp-Source: ANB0VdaioWYK3CuacNUpn1qELsOxtiBMxy8qyU7UyY4W6xHSGnuV+DAvnYPragA1y4rwhUKq25Te X-Received: by 2002:a63:6106:: with SMTP id v6-v6mr6157869pgb.100.1535553815563; Wed, 29 Aug 2018 07:43:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535553815; cv=none; d=google.com; s=arc-20160816; b=iC5t44qKW4Sk04tpTXf01L67Lv+qk7FNdWY3dBaXqb84abwtFc37xXsfsiaUPa3VWd DfoeEh1bdiOs98PiaQEGGYo2NavM4FDVdrUxFE7/0IIxRqUCRJkAqlGpN1ztAj+i5W/k SG/Bo1xgtEN/fKYzscBbrFBc4+sNAJiwETLKH/rRTnfkoBTobG0ING/0dQdFYHdZHyOw 0mEJO9MJvYCgDLwxzW7+CuBv5qD+BDlGcJEnW5g695SIoFhECkBCqtG0TUSLGu95qtKi Q4RKKJAqm87ZZcf6D3WkAYb2wrImPeAKQSDHp0mQzc1axuQzzCZOY9rb6BjvEWdvLjNX AsUA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature :arc-authentication-results; bh=akPorWtgAk7KiP48hFlq+Y7ZzndwDCZr+yoE9IqcaZk=; b=TsscB0B68kDDjVsSDgUUJSjkrdE9g2deR+QA0NSgmDHCJWziDCmgPEn6eu5ypS3aep 6qODx3B22Ms7i1t6rYTPJke2N5w2bPwM8z8fsWwmqg11c8KzYhI7GIM7CNhClCPgG7q2 CzMzU8RVdKDfzczQxb3pU0POfaMBbg+YMDCaWzV8/1kounBkW5O5HNe0J6/3wTGwoGtA O3xBKA2vZynMALeMVUHqPw0ck89EbZXCDd5X9I0UTKu9wl68pYI5/ivq2nJ7kxJhq1Oe KfhMRswrrmRADXAgnU94iILhwXxgw4g2zdLLVC45WUj+5fUR8QtjQOSC9NzVWe0X59Ye uUlQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=OHlrzmhI; 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=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x22-v6si3654162pfh.84.2018.08.29.07.43.20; Wed, 29 Aug 2018 07:43:35 -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=@linaro.org header.s=google header.b=OHlrzmhI; 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=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728815AbeH2Sj3 (ORCPT + 99 others); Wed, 29 Aug 2018 14:39:29 -0400 Received: from mail-it0-f66.google.com ([209.85.214.66]:54474 "EHLO mail-it0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727827AbeH2Sj3 (ORCPT ); Wed, 29 Aug 2018 14:39:29 -0400 Received: by mail-it0-f66.google.com with SMTP id f14-v6so7994676ita.4 for ; Wed, 29 Aug 2018 07:42:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=akPorWtgAk7KiP48hFlq+Y7ZzndwDCZr+yoE9IqcaZk=; b=OHlrzmhIOUV62XOlHqlOw8nNsqCoyKQR+fZ7JapWOg1a6e/OsOO8soyUmxV3PeMo0U nXCBa6AwUwEYhf9Yn3teMnjhl4z5JVJq4btfCc9aMc0leBHCcLJhZYLdA/IK5F9q8L81 N7xIuNWR89GXdwJ/qtp3s3vF9DEd5oamxfzbE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=akPorWtgAk7KiP48hFlq+Y7ZzndwDCZr+yoE9IqcaZk=; b=Lkm1bdNvKuJ4d/IAGRzdFfBxbG2xysLfWQnhik9lOI11gtzKdnBwsw3kwwO8A2xVxD fI+9/sV9DslnpZAfQ5zc+cxv2KJHMdKeU2brF4J5AD/ISq18xTL8YiKAn28/jSebsA7m xiWKrjGaGMazjyNOYJiZ/tOGtaQ6vR7ZGiLgS2JtwysLHc5vo4zgji9yFtmeGBOfXQwi Da41xju7yBsZTN56mORIIYYg4MCHs3Q09WsPsJrRbBrD7l+DXfTK939rlhheIsH7o58Q i7N2lntyjKqHyWZSo+viq7dCvKMmrMPyM90eMtUXg0N8O97RGPF8cW+dwqJPYMisnmSp ELGQ== X-Gm-Message-State: APzg51CBcfcNpyt6zy5K+8GqR8AUQVqIXa/f3AGzneJFOwhSEPHn8J4z n9GI7H3uUSgp9XZnenYty9eQBhkmcEnqIQ16160Vtbm7jUo= X-Received: by 2002:a24:3a88:: with SMTP id m130-v6mr5252003itm.151.1535553732795; Wed, 29 Aug 2018 07:42:12 -0700 (PDT) MIME-Version: 1.0 References: <1535548752-4434-1-git-send-email-vincent.guittot@linaro.org> <1535548752-4434-4-git-send-email-vincent.guittot@linaro.org> In-Reply-To: From: Vincent Guittot Date: Wed, 29 Aug 2018 16:42:01 +0200 Message-ID: Subject: Re: [RFC PATCH 3/4] sched/topology: remove smt_gain To: qais.yousef@arm.com Cc: Peter Zijlstra , Ingo Molnar , linux-kernel Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 29 Aug 2018 at 16:08, Qais Yousef wrote: > > You beat me to it, I got confused by smt_gain recently when I stumbled > on it as I found out on ARM it's not used and had to spend sometime to > convince myself it's not really necessary to use it. > > It was hard to track the history of this and *why* it's needed. > > The only 'theoretical' case I found smt_gain can be useful is when you > have asymmetric system, for example: > > Node_A: 1 Core 2 Threads > Node_B: 1 Core 4 Threads > > Then with smt_gain the group_capacity at the core level will be limited > to smt_gain. But without smt_gain Node_B will look twice as powerful as > Node_A - which will affect balancing AFAICT causing Node_B's single core > to be oversubscribed as the 4 threads will still have to share the same > underlying hardware resources. I don't think in practice such systems > exists, or even make sense, though. Yes I came to the same conclusion > > So +1 from my side for the removal. Thanks > > > -- > Qais Yousef >