Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp1126118ybh; Tue, 10 Mar 2020 15:20:00 -0700 (PDT) X-Google-Smtp-Source: ADFU+vs1cRGsqgyPfs6qfZnaalAtcMWoYy3giCoxIomIxo3+9Z4DeZ5l4XykXxeas0M7zFDQ2B9w X-Received: by 2002:a05:6830:11d9:: with SMTP id v25mr1195345otq.362.1583878800324; Tue, 10 Mar 2020 15:20:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1583878800; cv=none; d=google.com; s=arc-20160816; b=1Ggu9WtWGC59RDBaxTySkGvLfFLw8FwIViGS8zuE7kEnaTOIf9SfvX/uR/CdUPSRgQ vu/IBvbqZDHGUZ4HUVVURBESWta2alw7lVQsTR90NS9o8KYlxMjmJiV+/4NfGPfiSoNS kT3j0JV4335dPAmVQmwpWCbPSmubQ38+MSwA0Iz0n6393xDdm7qhFICpNF6HiMvosxXF kGIfzMVp3MX/VWyNjbcIdKmPe9+iSSKwtVaCp+TWoCxi7SBYFJbtX7VTahBWzy8hkmQx 6qXAKlzejy5vcKCdjhhkSaAKQkWRGERICYfWz2hHeu19JvbrMGdUnnxPUwoxSrLJGk88 h7Dw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=g6Jqj9MFIVzud7eBeKe2XsWkbzjXrZBbx210ccGLYjY=; b=yw31qGWEZ+29MdlqkSxBiTyadV5naOqdw19tOGf3U4ZURpG3SRX55QQA1fKxwvT1VX 2atcYgnWqvSqSvX5ZV4P4uaMQFoVaa1bWxSA8bVzdLWlTh8i56qr6aTAmwZfYe+qBXo2 cnceSSlDVRdLszw/L6BZX9fbrfUl2eYwYe4OXpb/oChWZq9yJazRqdOyNnP8o6UUerl9 lzvzhhQ2qBdnEvp7ExzR5vd96jahYO+3mJGD/g+4JQmtEZGdzMbA3UAS6cPLBE3toX0Q 8FuSub5MS9mfGfv2iwedPwDTDZUcfBROXBV7J4xogbMKjNIRFGqyy7rjdVFKBDXBxNhv cJBg== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g206si114372oib.17.2020.03.10.15.19.47; Tue, 10 Mar 2020 15:20:00 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727793AbgCJWTC (ORCPT + 99 others); Tue, 10 Mar 2020 18:19:02 -0400 Received: from mga03.intel.com ([134.134.136.65]:3387 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726283AbgCJWTC (ORCPT ); Tue, 10 Mar 2020 18:19:02 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 10 Mar 2020 15:19:01 -0700 X-IronPort-AV: E=Sophos;i="5.70,538,1574150400"; d="scan'208";a="242472808" Received: from rchatre-mobl.amr.corp.intel.com (HELO [10.251.10.135]) ([10.251.10.135]) by orsmga003-auth.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 10 Mar 2020 15:19:01 -0700 Subject: Re: [PATCH V1 12/13] selftests/resctrl: Dynamically select buffer size for CAT test To: Sai Praneeth Prakhya , shuah@kernel.org, linux-kselftest@vger.kernel.org Cc: tglx@linutronix.de, mingo@redhat.com, bp@alien8.de, tony.luck@intel.com, babu.moger@amd.com, james.morse@arm.com, ravi.v.shankar@intel.com, fenghua.yu@intel.com, x86@kernel.org, linux-kernel@vger.kernel.org References: <18ab8b47d1d2b6373d7899bdf8df19fa94afcfaa.1583657204.git.sai.praneeth.prakhya@intel.com> From: Reinette Chatre Message-ID: <50e8e1a1-f7ef-2ea8-178e-49adf3373e23@intel.com> Date: Tue, 10 Mar 2020 15:19:00 -0700 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 MIME-Version: 1.0 In-Reply-To: <18ab8b47d1d2b6373d7899bdf8df19fa94afcfaa.1583657204.git.sai.praneeth.prakhya@intel.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Sai, On 3/6/2020 7:40 PM, Sai Praneeth Prakhya wrote: > Presently, while running CAT test case, if user hasn't given any input for > '-n' option, the test defaults to 5 bits to determine the buffer size that > is used during test. Instead of statically running always with 5 bits, > change it such that the buffer size is always half of the cache size. This seems more appropriate as a preparation patch to not have to make so many changes on top of the earlier patches included in this series. Reinette