Received: by 10.213.65.68 with SMTP id h4csp518399imn; Wed, 4 Apr 2018 02:32:14 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+i92bxkDCnLo5hiy7cBgOKvD3FUuv1Wb8pyGjBDMYTwnYEh97f5hvY8PcjaxiLj6GuLWXa X-Received: by 2002:a17:902:96a:: with SMTP id 97-v6mr8708800plm.266.1522834334910; Wed, 04 Apr 2018 02:32:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522834334; cv=none; d=google.com; s=arc-20160816; b=B+yBpoz86naJYOKJApAfiwXI4jbR1qbKTm50PvR4JPOImX3D9VjWSkpM5TqSRKObIP lncmxYZmOJ/6f0UXw+JsOh4Q6MsVztYvaAtZ8hdhlnioeKnCRAlsU1zL84nxb6BepS8g 7daF5devuThRhiUzmFvxzWv/PtSTOOJdbmRBmCytceq15aM1XDpZG5KdkmPSr+2E3oF7 Gg1QY8jxy4rvFwTjnaPgW8/fMTy4Lb4dmv9tUSdHZbgErCcCl5+aq26MCPUfYSV1iK/c 7leh64LCD+FRMnuuj4ewFXd6GGfczRGptO+5VwrT6J7vJWoKs99jE5L2G5w5Ebh2tEF0 bhIA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date :arc-authentication-results; bh=Bm+/eCA/gV9iEdb2Wu56ErKIUc9vGahG9mFLmxz5zU8=; b=IOLF+k69gTi+S+W/AtsQWjrifoquLRb4fzxsWySDts5yEB2NVRemewjRq2TneaSgNl 5eJHBUdbRQVWZtF9SWlXk5QZ84rn3bjPVHiuZKSPjzJPi97jaTE3JqtnddHIOrp6mojl 4LiXBtuDo9FrsLobDnwjJBYn1YXidlw/R5BI5yqcikv28IVRzadOclj2GJywHyrea51d o/aB9A/GzWZyUZwk/VQ9Ls+6Lvc+S/kkQgc/CnYf6pE/SdtDtJF5IxOx9e1QGp3IQzIt MXT07rIWRmi9V4WtMLCX1Ier7wK0zmiZf7DbJa837FpYwFc/E221jtekhRi9JeOndJ21 PPfQ== 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 d4-v6si2825921pln.721.2018.04.04.02.32.00; Wed, 04 Apr 2018 02:32:14 -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 S1751283AbeDDJas (ORCPT + 99 others); Wed, 4 Apr 2018 05:30:48 -0400 Received: from Galois.linutronix.de ([146.0.238.70]:32907 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750929AbeDDJar (ORCPT ); Wed, 4 Apr 2018 05:30:47 -0400 Received: from hsi-kbw-5-158-153-52.hsi19.kabel-badenwuerttemberg.de ([5.158.153.52] helo=nanos.tec.linutronix.de) by Galois.linutronix.de with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1f3ekb-0002TH-N9; Wed, 04 Apr 2018 11:30:41 +0200 Date: Wed, 4 Apr 2018 11:30:41 +0200 (CEST) From: Thomas Gleixner To: Shivappa Vikas cc: Vikas Shivappa , tony.luck@intel.com, ravi.v.shankar@intel.com, fenghua.yu@intel.com, sai.praneeth.prakhya@intel.com, x86@kernel.org, hpa@zytor.com, linux-kernel@vger.kernel.org, ak@linux.intel.com Subject: Re: [PATCH 1/6] x86/intel_rdt/mba_sc: Add documentation for MBA software controller In-Reply-To: Message-ID: References: <1522362376-3505-1-git-send-email-vikas.shivappa@linux.intel.com> <1522362376-3505-2-git-send-email-vikas.shivappa@linux.intel.com> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 3 Apr 2018, Shivappa Vikas wrote: > On Tue, 3 Apr 2018, Thomas Gleixner wrote: > > The proposed new interface has no upper limit. The existing percentage > > based implementation has at least some notion of limit and scale; not > > really helpful either because of the hardware implementation. but I > > > > How is the poor admin supposed to configure that new thing without > > knowing what the actual hardware limits are in the first place? > > That is true. The default values only put it to a very high bandwidth which > means user gets to use everything. There seems no other way other than > caliberating to know the actual max bandwidth in bytes. That could be a better > value to have as default so admin knows the limit. I will explore if there is > a way to calculate the same without caliberating. Right, ideally we get that information from the hardware. Thanks, tglx