Received: by 2002:a05:6a10:144:0:0:0:0 with SMTP id 4csp1470105pxw; Sun, 10 Apr 2022 03:28:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxvyElXueKVNYkg0H/MZs1elp8pYG96vpJ51ke8Rl0qffBEE0/aJ9A3iwknndgWpVzQIkHe X-Received: by 2002:a05:6402:2706:b0:41d:29d9:ab63 with SMTP id y6-20020a056402270600b0041d29d9ab63mr11754970edd.280.1649586524436; Sun, 10 Apr 2022 03:28:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649586524; cv=none; d=google.com; s=arc-20160816; b=zF1i6rqzxG8ZgezNDnEHh2qaMLGD9Cl6WPk4GGc0UPnSNWbSCKj6Jyi4DD3ycOuF8J /mK1jx8IPP93r+S+ICnrDpjrG470V4G/JKTcAkyNHVcsMw7Hm1GpZ06f4fPYRc5eGg2v /E0UW7Wx2kV0rZKY/aj5frqxgMNi5wFG6RKvkvMw6p9Ycr824HQWfvKKXpRKBQpJ19Cc V9W/g82fVXf77pugoDp9WdcFdi6HEedR5u8TzOr1zexB1Yaw64MpP4NLs6MV001OLmVi aI+4izXpHk0k0+rcOD4E9vNNyM9cQ8SJu7cPisPwGqy9N9pwPGg/FbI2kPKTC6TmdnJC BISQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=CHa+Ap2OopfygwbeMbnoRVw8Pl3TzF8qPa7lzGdNIWo=; b=ePfX3lhX7awjGPJn/Tgt4k+hA5eowkLZz55ArRcWBfg2id3bBa9NpqdMwXcOLc6A4v PEhJhg/O9w2Ghh1E7PIh2LmUK34gSQB2c9jRF/H8X4l/a0tS80p0P930q0AOULk6nuJb iT+VIl9ICoH77QzlIj8X3RRzHdhfamN7On9C4EgyCP/sW6WIgDsqgp95OO6eXe38+0HO swVKKB+Prp40t+lCrMScQ+kfZYmDcnutrjrg64jGOGjQJ1iZFusASAMLMlTv1JMJdoIp UBpiePKoEbNQc5ExB0LZV1W8ZQMU05vKUMkagmnivzFDgbcuqyw9awdd2E8k0iNjPwNk D4mQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f25-20020a17090631d900b006e02924244dsi4829110ejf.52.2022.04.10.03.28.19; Sun, 10 Apr 2022 03:28:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233111AbiDHRcw (ORCPT + 99 others); Fri, 8 Apr 2022 13:32:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42698 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238227AbiDHRcr (ORCPT ); Fri, 8 Apr 2022 13:32:47 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id EFF599F3B3 for ; Fri, 8 Apr 2022 10:30:43 -0700 (PDT) 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 B36BC1042; Fri, 8 Apr 2022 10:30:43 -0700 (PDT) Received: from [10.1.196.218] (eglon.cambridge.arm.com [10.1.196.218]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id CC78C3F5A1; Fri, 8 Apr 2022 10:30:41 -0700 (PDT) Subject: Re: [PATCH v3 00/21] x86/resctrl: Make resctrl_arch_rmid_read() return values in bytes To: 20220217182110.7176-1-james.morse@arm.com, x86@kernel.org, linux-kernel@vger.kernel.org Cc: Fenghua Yu , Reinette Chatre , Thomas Gleixner , Ingo Molnar , Borislav Petkov , H Peter Anvin , Babu Moger , shameerali.kolothum.thodi@huawei.com, Jamie Iles , D Scott Phillips OS , lcherian@marvell.com, bobo.shaobowang@huawei.com, cristian.marussi@arm.com References: From: James Morse Message-ID: Date: Fri, 8 Apr 2022 18:30:40 +0100 User-Agent: Mozilla/5.0 (X11; Linux aarch64; rv:78.0) Gecko/20100101 Thunderbird/78.12.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Language: en-GB Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-9.7 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_HI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Cristian, On 15/03/2022 12:10, Cristian Marussi wrote: > I tested this on an Intel(R) Xeon(R) Gold 5120T trying to compare gathered > resctrl monitor data with and without your series and see if results > were consistent. > > I started from this paper [0] from Intel itself for my basic setup with > some minor variations: [..] > While doing that I collect in background (and out of node1 processors) all > the mon_data from the lc_cos group every 100ms and dump those in a file one > for each cache allocation mask. (mondata_LC_7f0_00f.txt etc) > > I tested first against a v5.17-rc1 mainline without your series (named as > 5.17.0-rc1-mainline in the results) and then again with your series on top > (named as 5.17.0-rc1-00021-g21c69a5706a5). Got your series from [1]. > > Then I used gnuplot to see what was the 'profile' of this data with and > without your series by plotting the LC process llc_occupancy data against > time for each one of the runs with the differerent cache allocated. > (each colored graphs represent a different run with a different > cache allocation as reported) > Hope this helps... This is great, thanks! Can I take this as a Tested-by? Thanks, James