Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp4081195pxa; Sun, 9 Aug 2020 23:23:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwbij9BqVedZhD3/wx3r4eNSZgPGN20gEZMjrPKLibkqCvbkx91iN2nDV9/Uyj801PKV/9X X-Received: by 2002:a17:906:7155:: with SMTP id z21mr21549979ejj.282.1597040589281; Sun, 09 Aug 2020 23:23:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597040589; cv=none; d=google.com; s=arc-20160816; b=SAbC1koOLNpaVHHkjXWi7gRAZ+uWesvq2GqBCWRUtma5Zrm85PpmCiM1xZ4Zm6fj2f YW+OJV0n9+8YkLG0SvnEDhD/dQjvtK26qKHM0End7layVFulf6UtxqSC257hILYcQSBp WOqLw1rR23jnpEHumhDNz1VbJeZfOT3dXsp2vAf+NygnW4sgAsZdM6obBw4yrAQfvGjo dOJFRmU/Avk/PtBOpUX+wL+/nU0Er7zgE8nHImXx8btfpRCVOt9HCqgVo3k4LbLpxunm qx6hQQBR7k6LgyGouOCgAIy/WBtFvwAfVAqvh+ql6UY6GJWFDKE5JNbWhzmfQD3nirgN 3KuA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=b9VbgDDwg04P4LM9TbzxjDEQCpAYj4rBSMEjUaYpGyo=; b=dE8bsN2sdsQ9jq9/+gtk90JpcipnZ1tydfa9gbVvJX5ydJPE3qmipRNS/Athytnocw Ym1jo9yhfSrHbiyVvbkVU81g5soXzK8SQZNm6YwztXnAVPrXEmNvnP3/iHUPgUvdBgDz Bd9id+jiGuIXdVv2dumOYEcVTNgFeHBkAsr0MWFMT6+98bzxRK60JjURVQgrBnEUaEic 57D+xHHRienh9cO9LSL1m4WSbTLqK4Zvkk0w/5duaPBLye4SputjyKPpUazmIUvkIXvi /lv/Wcs2IRsaIWRSZXAJsdbolokgZC2KUOcwkvFIQhvDXA3cFix5oIVBpcxRysP4aIrA tRbQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=Wquauptq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id qw15si10076643ejb.481.2020.08.09.23.22.46; Sun, 09 Aug 2020 23:23:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=Wquauptq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726350AbgHJGWU (ORCPT + 99 others); Mon, 10 Aug 2020 02:22:20 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:58632 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725763AbgHJGWT (ORCPT ); Mon, 10 Aug 2020 02:22:19 -0400 Received: from pps.filterd (m0098396.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 07A63NOU087404; Mon, 10 Aug 2020 02:22:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=from : to : cc : subject : date : message-id; s=pp1; bh=b9VbgDDwg04P4LM9TbzxjDEQCpAYj4rBSMEjUaYpGyo=; b=WquauptqZeQihjeOqcUs9efaR9H6jTN8gXcUpsvbx5g20rWGQ5oDWm4s/NQZ5Bs5bOh4 fyK/SqYp3JUV8lg5+1qJNncDQcDi9Xiemepcm5oR/HFSUQkgFF6tKnKa35eeO747nNvb xsN+deSmNGKM3nKsZi5nardCbGw76uKabp6+G+mz8HjArIUWnt/2CZI0eCMDox0eagnr Y7VkqgoOl91goa14+OWO63LqppNu06cIPhqGmahV82Jc+gJUt3o6r8jSiqlcTWFHDQAf n/S8LPyUqb4dgwO75gk//QxNErwxCidnXCCudOXm54fChpHjZ34ikj0mrwGO0EyvN14E Xw== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com with ESMTP id 32sr9hj6b5-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 10 Aug 2020 02:22:08 -0400 Received: from m0098396.ppops.net (m0098396.ppops.net [127.0.0.1]) by pps.reinject (8.16.0.36/8.16.0.36) with SMTP id 07A63TmX087983; Mon, 10 Aug 2020 02:22:07 -0400 Received: from ppma06fra.de.ibm.com (48.49.7a9f.ip4.static.sl-reverse.com [159.122.73.72]) by mx0a-001b2d01.pphosted.com with ESMTP id 32sr9hj6aj-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 10 Aug 2020 02:22:07 -0400 Received: from pps.filterd (ppma06fra.de.ibm.com [127.0.0.1]) by ppma06fra.de.ibm.com (8.16.0.42/8.16.0.42) with SMTP id 07A6Gheo001797; Mon, 10 Aug 2020 06:22:05 GMT Received: from b06cxnps4076.portsmouth.uk.ibm.com (d06relay13.portsmouth.uk.ibm.com [9.149.109.198]) by ppma06fra.de.ibm.com with ESMTP id 32skah16xf-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 10 Aug 2020 06:22:05 +0000 Received: from d06av23.portsmouth.uk.ibm.com (d06av23.portsmouth.uk.ibm.com [9.149.105.59]) by b06cxnps4076.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 07A6M3nE26476928 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 10 Aug 2020 06:22:03 GMT Received: from d06av23.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 0A755A405B; Mon, 10 Aug 2020 06:22:03 +0000 (GMT) Received: from d06av23.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 8876DA4055; Mon, 10 Aug 2020 06:22:02 +0000 (GMT) Received: from oc3871087118.ibm.com (unknown [9.145.20.209]) by d06av23.portsmouth.uk.ibm.com (Postfix) with ESMTP; Mon, 10 Aug 2020 06:22:02 +0000 (GMT) From: Alexander Gordeev To: linux-kernel@vger.kernel.org Cc: Alexander Gordeev , Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim Subject: [PATCH v2 0/3] perf bench numa: make possible testing on uneven and/or overlapping CPU ranges Date: Mon, 10 Aug 2020 08:21:57 +0200 Message-Id: X-Mailer: git-send-email 1.8.3.1 X-TM-AS-GCONF: 00 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.235,18.0.687 definitions=2020-08-10_02:2020-08-06,2020-08-10 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 adultscore=0 bulkscore=0 clxscore=1011 impostorscore=0 phishscore=0 malwarescore=0 lowpriorityscore=0 spamscore=0 suspectscore=1 mlxscore=0 mlxlogscore=999 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2006250000 definitions=main-2008100043 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This series allows running the tool on some configurations that do not conform to an assumption each node contains nr_cpus/nr_nodes CPUs at most. Instead, the actual node-to- CPU mapping is acquired dynamically. patch 1 fixes the described issue patches 2,3 are follow-up fixes Changes since v1: - numa01* and numa02* test names left intact; - "2x3-convergence" fix moved out to separate patch Cc: Peter Zijlstra Cc: Ingo Molnar Cc: Arnaldo Carvalho de Melo Cc: Mark Rutland Cc: Alexander Shishkin Cc: Jiri Olsa Cc: Namhyung Kim Alexander Gordeev (3): perf bench numa: use numa_node_to_cpus() to bind tasks to nodes perf bench numa: fix number of processes in "2x3-convergence" test perf bench numa: fix benchmark names tools/perf/bench/numa.c | 64 ++++++++++++++++++++++++------------------------- 1 file changed, 31 insertions(+), 33 deletions(-) -- 1.8.3.1