Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp11143781rwd; Thu, 22 Jun 2023 09:13:57 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5fVcaSk3MPpvDhh4Ew6K2J7R0tdRUZkadWWadhJ13x/CLPX1BX+Y+wjVVWjHVSD6qL0flx X-Received: by 2002:a17:902:c404:b0:1b2:2c0c:d400 with SMTP id k4-20020a170902c40400b001b22c0cd400mr14767632plk.52.1687450436324; Thu, 22 Jun 2023 09:13:56 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1687450436; cv=pass; d=google.com; s=arc-20160816; b=kcVMSNCD8RqrQsTkVYOodJWnf2bix3VRKktXqIepdTQmxZ21bzBotL+yZd2NEAcsvI v37htcga1e04XEB4vEkkJVe9TZyasR5cbSqGjWh6vW9TubAaQb3D/QT7lVEaUlHmcHma QTyMpR0xuYGJwr9zjFiz/Z2SA6nZIIAsPb+bYylE32514lW70RmQmAZj4xsxXiWBhAnE 9vxTQyRveU/oA4MXxklHjehFxTNAeJFddEA10i2GfsjSImscZXX7/Vq3C9Ss6v236lyf m02lRgkZS8h8Dat6v/+UCjky0+1rdYgt2aF8rsUvTWEBxYDp54VAYw48d0ZKhj3IRhjD ITxw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :in-reply-to:from:content-language:references:cc:to:subject :user-agent:date:message-id:dkim-signature; bh=tD9iET0Qu2QcxB6x5gqYURv38Db1hG92TXwJNLKh/es=; b=YTKOA1j9SSS0XUWigomStJ6GG57XPxdSP55yLETkAILsrVBRgJ/kF0zhHzBTDXurZj FJBcZX5bzpH0aQNU5eFTKFhE9i3oIlByEObd8SQDkTqjguPn4is8lXXUKy1ZCkQBRiUT lhVhOE+5NnWaFClCB9882lQUn1d4JtcDz/Vl4CM/wDzC5p1WDgJbg2BZF0F/VLOZypTs AA0Gt9NGXb1REn0+EaYDiqt+TTxIQwZqw9MuVHBq94PQFFujPwxuuNa9Ny49YHpEdQp1 s1YX1DM8zc74/V99xcohHdX7SpzjjqISLxIb6gMv7pde+n8k34f0xiVxCWesRsYbufr+ /bBA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@meta.com header.s=s2048-2021-q4 header.b="ieT/qy0+"; arc=pass (i=1 spf=pass spfdomain=meta.com dkim=pass dkdomain=meta.com dmarc=pass fromdomain=meta.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=pass (p=REJECT sp=REJECT dis=NONE) header.from=meta.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n2-20020a170902d2c200b001b3a21fbb59si6111308plc.635.2023.06.22.09.13.42; Thu, 22 Jun 2023 09:13:56 -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; dkim=pass header.i=@meta.com header.s=s2048-2021-q4 header.b="ieT/qy0+"; arc=pass (i=1 spf=pass spfdomain=meta.com dkim=pass dkdomain=meta.com dmarc=pass fromdomain=meta.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=pass (p=REJECT sp=REJECT dis=NONE) header.from=meta.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231140AbjFVP67 (ORCPT + 99 others); Thu, 22 Jun 2023 11:58:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44986 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230072AbjFVP64 (ORCPT ); Thu, 22 Jun 2023 11:58:56 -0400 Received: from mx0a-00082601.pphosted.com (mx0b-00082601.pphosted.com [67.231.153.30]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3F22891 for ; Thu, 22 Jun 2023 08:58:55 -0700 (PDT) Received: from pps.filterd (m0089730.ppops.net [127.0.0.1]) by m0089730.ppops.net (8.17.1.19/8.17.1.19) with ESMTP id 35MBprAZ027958; Thu, 22 Jun 2023 08:58:05 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=meta.com; h=message-id : date : subject : to : cc : references : from : in-reply-to : content-type : content-transfer-encoding : mime-version; s=s2048-2021-q4; bh=tD9iET0Qu2QcxB6x5gqYURv38Db1hG92TXwJNLKh/es=; b=ieT/qy0+uN/V1tzVuCWZhlHzZFgtN/FYj4wk1bdn/SRN2Bwj2VWDkIjkTvk8AMU1n94Y +W0MTWu5+QM+DII8LDkzuh2ozixegqzegbvNfRHl/7i+0tgC02bn2X2Hytfy4TnfZxvv cTQePZNJubKACdhDk8AG3SQyMpi2bSPVmc1Odas6foGbYO4C15ni2tB0VomHRE7l2Lb7 c2PDtr1sI9HPP2szt6pTbG5/sZ9BT3BNUUNv7s4UW2zdXmwcGUu3YGuTqa2zWy7EKFWH n7ZljiFDxAaShAdAH/XEhXMroyH6PURChypHZ6zoD1VMLCaQR5SAt32q9mcNxBuElf8e /w== Received: from nam12-mw2-obe.outbound.protection.outlook.com (mail-mw2nam12lp2043.outbound.protection.outlook.com [104.47.66.43]) by m0089730.ppops.net (PPS) with ESMTPS id 3rbnmp7ydj-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 22 Jun 2023 08:58:05 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=OGhl23X6tEj0sJgE4XPBDi2OikZKivQxD726BjDVDbEpX4U6vW2ksch1zDQn6Bn6dYPZKfSBIsj1+NXBRJ4kGtiSvi9AeWWqBsjRKRQ1iLNpdWInh78N0WcLMtE+f/tHEGltMCktiM1fg0oyCIAFnkxIknLCOp8MAUk9MiCrYlri0KuUKWLEjKaLiM0MrsK8ojZIHUYNBWiajz63upwp0rrmkNF/IocXNXAEsJKqf1LxwdDJ/Om9FP47R0yE3hlXVj0b8IJ8BKpH3Ncj5ElNNurS3p7HDOpcdpQbKKmpSVex5Wa5TUJicq0a8ejjNUVelFgllynjcT7t3mX0Qnf+GQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=tD9iET0Qu2QcxB6x5gqYURv38Db1hG92TXwJNLKh/es=; b=ATkZ6apy40raxr3BzJNwdgwZmGry7pXnUy2IxIckbGXMPMuj1UGw3iebUYkvIgSxKKFQEDo0J7Dof2Ixjt5NQjOPpAtjjHCECaiJ8EDy6bY0n1ze921CB7jxkwEDlO4fgZaHIOcKXx32das6YIP2UfVZxuBzHUZq3gAOcaw1hNK3GiaveSaELX1XHBbZaZXTdT7SuZe2DncJHqr+g6JhNKAQENQ1jKsxY5YS/QAcr/cS9NIZN+9Igo1Zq9bSn+3/VN7TQo7h+WRGQ1eJPolL8zfdxUvWuYtZpLgl6Aa6ZLKzbvT2BqkcHOUlG+mJu0iOlOyERZwNMygLz0DxzMj30g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=meta.com; dmarc=pass action=none header.from=meta.com; dkim=pass header.d=meta.com; arc=none Received: from MN2PR15MB4287.namprd15.prod.outlook.com (2603:10b6:208:1b6::13) by SA0PR15MB3759.namprd15.prod.outlook.com (2603:10b6:806:83::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6521.23; Thu, 22 Jun 2023 15:57:52 +0000 Received: from MN2PR15MB4287.namprd15.prod.outlook.com ([fe80::1f5:8d6b:3b9a:77ee]) by MN2PR15MB4287.namprd15.prod.outlook.com ([fe80::1f5:8d6b:3b9a:77ee%3]) with mapi id 15.20.6521.023; Thu, 22 Jun 2023 15:57:52 +0000 Message-ID: Date: Thu, 22 Jun 2023 11:57:48 -0400 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 Subject: Re: [RFC PATCH 3/3] sched: Implement shared wakequeue in CFS To: Aaron Lu , David Vernet Cc: Peter Zijlstra , linux-kernel@vger.kernel.org, mingo@redhat.com, juri.lelli@redhat.com, vincent.guittot@linaro.org, rostedt@goodmis.org, dietmar.eggemann@arm.com, bsegall@google.com, mgorman@suse.de, bristot@redhat.com, vschneid@redhat.com, joshdon@google.com, roman.gushchin@linux.dev, tj@kernel.org, kernel-team@meta.com References: <20230615000103.GC2883716@maniforge> <20230615044917.GA109334@ziqianlu-dell> <20230615073153.GA110814@ziqianlu-dell> <20230615232605.GB2915572@maniforge> <20230616005338.GA115001@ziqianlu-dell> <20230620173626.GA3027191@maniforge> <20230621023534.GA236337@ziqianlu-dell> <20230621024300.GA15990@maniforge> <20230621045416.GA237582@ziqianlu-dell> <20230621054352.GB15990@maniforge> Content-Language: en-US From: Chris Mason In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: BL0PR0102CA0047.prod.exchangelabs.com (2603:10b6:208:25::24) To MN2PR15MB4287.namprd15.prod.outlook.com (2603:10b6:208:1b6::13) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: MN2PR15MB4287:EE_|SA0PR15MB3759:EE_ X-MS-Office365-Filtering-Correlation-Id: e8f51b48-885b-46cc-f7a2-08db73396f26 X-FB-Source: Internal X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: qS2juoIMJY3DUmjBGRGeHoTbMWGjRoKSrpvfRjObT6CD0beNG27FKNSc7E51gXtQseZ3AnXmFQMn/JSLWB2ses+s1ZwgCq/uosNkP6+WQ951Bs5Loo4lEq7Kn37Boupj/nQUpH+LzDgSYUizonJ8hSPhBSoAWBKgInGX6AlL+dOiMRy3MD4Zawlx0lHmvNjKMounpB66AHmCdnnXyR3V0rMirmtprlg3D4AjWyM13W/mEtoc0GflWkoBXM8Hl7+kCQ+AoCYhC4JL9wp1v+7/FMCjaqHyX9VdszQV42oqGnxKFNQY/6J/NT45vAp5Nh/c4Wxk8t3dkbvBn/Hng9aq6KljyrSybZk2LTnxccbRcyLx3I6tlVzSeiN57Bl7E/XMb1g2Dn7l8OG0pJd4Jlol/bfgN2q0TXT+744b/wHzZ/BO045dpW1Di4PHKXQYI0qgJ5FrTGQ/+xPoE0t+j8QImdi9ksi5V5FdqnN4GdaM8mny6StQguwiUHZseebFfyhtwX9G8jNvYXX86CX+bEmsEDdt/EIq8a83V0RmgA9lcpxQbhk0YdLd5dIRbKoyVlBmlmUNnhrNGezlyqxCXdCAwypLT/hY21DA/caSV3Sd49xqsmGaf6huM2BbBMcELLnU6fm2pMoq/mKMMrMbJgXtCg== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:MN2PR15MB4287.namprd15.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230028)(4636009)(396003)(136003)(39860400002)(346002)(376002)(366004)(451199021)(31686004)(38100700002)(6666004)(478600001)(4326008)(110136005)(2616005)(83380400001)(31696002)(86362001)(36756003)(53546011)(66946007)(107886003)(6512007)(186003)(2906002)(6486002)(6506007)(7416002)(8676002)(8936002)(66476007)(41300700001)(316002)(66556008)(5660300002)(45980500001)(43740500002);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?Ym8wc0xOc2lJc1Zxa1ZKNURvLzg3SVhiS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?B?WG8rbGlJaVBobUJPY0UyQ1pRalA4aVFjbTlwUWpWaEtsYWpCWndjUFI2WFNZ?= =?utf-8?B?VFZuWVJmazhqa1QvWEFyc1g5azFaTnYwT2haL3htRkdYc0I2MXdaSmFUZVgy?= =?utf-8?B?TkY1dmVGcldUVzNQWmwvVUFnQy8rSzhrbk1GVXlYeUpxMEJIOXVkRlZ6YWo1?= =?utf-8?B?cXRnUGhINlA3TTQ4eUt2Y2hON2daOW5rOFgreG9tMjJhdmJpWm01K1Fvb3gy?= =?utf-8?B?RytybzZBOFk4MS9TNnlzTVo5N1BRbzJxa1drNTFTcWlDZEdsa3p3cEJuVGRz?= =?utf-8?B?WlcxT215eklWSjZ0K09Ib21BNzB5WHk5MUd4ZDkzeDdkVkMzc01pU1JyTlZQ?= =?utf-8?B?d3c9PQ==?= X-OriginatorOrg: meta.com X-MS-Exchange-CrossTenant-Network-Message-Id: e8f51b48-885b-46cc-f7a2-08db73396f26 X-MS-Exchange-CrossTenant-AuthSource: MN2PR15MB4287.namprd15.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Jun 2023 15:57:52.1164 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 8ae927fe-1255-47a7-a2af-5f3a069daaa2 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: E4aVV7663SLyQQabfLjVOZJ0oVbG1VA+1q1wNezNgALjGYrMRIh4KRQWHTqJI70/ X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA0PR15MB3759 X-Proofpoint-GUID: b-8ViZmmnNWkkh5gKvTk6HQrtyOXC6ut X-Proofpoint-ORIG-GUID: b-8ViZmmnNWkkh5gKvTk6HQrtyOXC6ut X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.591,FMLib:17.11.176.26 definitions=2023-06-22_10,2023-06-22_02,2023-05-22_02 X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,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 On 6/21/23 2:03 AM, Aaron Lu wrote: > On Wed, Jun 21, 2023 at 12:43:52AM -0500, David Vernet wrote: >> On Wed, Jun 21, 2023 at 12:54:16PM +0800, Aaron Lu wrote: >>> On Tue, Jun 20, 2023 at 09:43:00PM -0500, David Vernet wrote: >>>> On Wed, Jun 21, 2023 at 10:35:34AM +0800, Aaron Lu wrote: >>>>> On Tue, Jun 20, 2023 at 12:36:26PM -0500, David Vernet wrote: [ ... ] >>>> I'm not sure what we're hoping to gain by continuing to run various >>>> netperf workloads with your specific parameters? >>> >>> I don't quite follow you. >>> >>> I thought we were in the process of figuring out why for the same >>> workload(netperf/default_mode/nr_client=nr_cpu) on two similar >>> machines(both are Skylake) you saw no contention while I saw some so I >>> tried to be exact on how I run the workload. >> >> I just reran the workload on a 26 core / 52 thread Cooper Lake using >> your exact command below and still don't observe any contention >> whatsoever on the swqueue lock: > > Well, it's a puzzle to me. > > But as you said below, I guess I'll just move on. Thanks for bringing this up Aaron. The discussion moved on to different ways to fix the netperf triggered contention, but I wanted to toss this out as an easy way to see the same problem: # swqueue disabled: # ./schbench -L -m 52 -p 512 -r 10 -t 1 Wakeup Latencies percentiles (usec) runtime 10 (s) (14674354 total samples) 20.0th: 8 (4508866 samples) 50.0th: 11 (2879648 samples) 90.0th: 35 (5865268 samples) * 99.0th: 70 (1282166 samples) 99.9th: 110 (124040 samples) min=1, max=9312 avg worker transfer: 28211.91 ops/sec 13.78MB/s During the swqueue=0 run, the system was ~30% idle # swqueue enabled: # ./schbench -L -m 52 -p 512 -r 10 -t 1 Wakeup Latencies percentiles (usec) runtime 10 (s) (6448414 total samples) 20.0th: 30 (1383423 samples) 50.0th: 39 (1986827 samples) 90.0th: 63 (2446965 samples) * 99.0th: 108 (567275 samples) 99.9th: 158 (57487 samples) min=1, max=15018 avg worker transfer: 12395.27 ops/sec 6.05MB/s During the swqueue=1 run, the CPU was at was 97% system time, all stuck on spinlock contention in the scheduler. This is a single socket cooperlake with 26 cores/52 threads. The work is similar to perf pipe test, 52 messenger threads each bouncing a message back and forth with their own private worker for a 10 second run. Adding more messenger threads (-m 128) increases the swqueue=0 ops/sec to about 19MB/s and drags down the swqueue=1 ops/sec to 2MB/s. -chris