Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp9933364rwd; Wed, 21 Jun 2023 13:57:19 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ50S9RDu3xBKoWMqvG/7dWUD+p0IhO6DdANm14NSEn2tlZXR7ABJ/ZBeromXXFdqaFWITfN X-Received: by 2002:a05:6a00:3a24:b0:668:98a1:5e9d with SMTP id fj36-20020a056a003a2400b0066898a15e9dmr8518366pfb.6.1687381039025; Wed, 21 Jun 2023 13:57:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687381039; cv=none; d=google.com; s=arc-20160816; b=FJVPg5ZIPB/bXgH4XruojjrKSFibANkY+2UQPLyvOigBpDLCEjZEUR3C++Yz1PjVmK A+aw+6oIQQijM1/avamexKtKrULRgt5WeIWzDbYgp+Vjk8sWqKmJCykktW/yHy5OBIcI ScP7yXNiZxj84/jZQRoiyXJX36ntad1Wnulu9HedalbmuOFe7E6RR3xMTikIm6+f8xpg bZ2hrUGZrf2eXQQLJa/C7BaX3g0KYtyn0gja2jSTuTAVzjxXLlL6PDE6OA28SYtAFuom sdlilj4FrX3NaOlVfqNawbbuqmGMmtYiUhXMDWzqQHbuRrK9lNTWtOYfecK9ES/qehaK THQQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:sender:dkim-signature; bh=0IVDT+pHiNYnFSITOZZiipEu5nJYuLpHmhrSiK63MvU=; b=kpk+COxVxhoN9bqxRRrGKVnzAP9lqbe2Z4AyDl1l7v3yf144Nv9fJ7Qtx0j//LEekt g5iTKo2Pwq3m2TyowpF/QkNHskgBnQZOzK84c1k5ASCiQU1uZwIgK7mJRRn53T6KWnDm AAzbyKSAZn9/UaYmgYJlVOSIaxyJWxXzoblEndTOeowYLswkKK0gDs1jP2Y4rE2qKTjf lSNSqtjtc2CiLlQhUoupyqysWpef9j4+/GAq1vA+ctaJWCMHjUDKeMg33PW1cuGbmR1f 4SToMoAMBzL3G2NAinmMBHi1yypZv0xNP3M3KmHKVy+Z9qcVQ0XcfFqYSYmDNFI/nnSE zZqw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=q9QaF7gp; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m192-20020a633fc9000000b00528d0d8b7bbsi4651786pga.595.2023.06.21.13.57.06; Wed, 21 Jun 2023 13:57:18 -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=@gmail.com header.s=20221208 header.b=q9QaF7gp; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229729AbjFUUiT (ORCPT + 99 others); Wed, 21 Jun 2023 16:38:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56066 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229595AbjFUUiS (ORCPT ); Wed, 21 Jun 2023 16:38:18 -0400 Received: from mail-io1-xd2a.google.com (mail-io1-xd2a.google.com [IPv6:2607:f8b0:4864:20::d2a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2E2E6EC for ; Wed, 21 Jun 2023 13:38:17 -0700 (PDT) Received: by mail-io1-xd2a.google.com with SMTP id ca18e2360f4ac-77e3f25446bso106324639f.1 for ; Wed, 21 Jun 2023 13:38:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1687379896; x=1689971896; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:sender:from:to:cc:subject:date:message-id :reply-to; bh=0IVDT+pHiNYnFSITOZZiipEu5nJYuLpHmhrSiK63MvU=; b=q9QaF7gpeCfzxdbtkgaNBWMp+z+n5J21Q95XVt1T79jLqR9ZnQdNa8YbtRG9jN1y2M ajit1EAmXJOB5ia//hxw3LVBUkFIy035lIYKH2QHR31AuTuPaZhPytxTW27y4lXwXuJA hNJAaM7OesGjT4Nubiv69k0TvokQG35CEZ3E1iAR+KuscDsa/B4CFZW9rgIsyQwzUlIz IiLDF3OW9kIvehJau9NN5p4dV+1Q1s4G5yXJUWXxqCLlU0lebxyltSKtjfB+S8AFn66t OcYUt7FDnoRQDlvGEafNNN+LyB/9NBgF1n9RHouhxX6phgOfGIQtL4wX2693hMDZvty/ Iy5Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687379896; x=1689971896; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:sender:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=0IVDT+pHiNYnFSITOZZiipEu5nJYuLpHmhrSiK63MvU=; b=GvdIn9fI1YCcaW6yanno+MCoDKHvAuQ24AmiK1kB3sJH14x3Yg1B6MY5RkfZUlcsXe CH6mxBtUlW9xcpgEgtTfmoOMp8mfkQdsBVRrU81zCCCcEm4OpqqvYxbzLm8LluqDoyOc csiBNNQtBAMXbkb27pQvAj8HHSeibxgr4P1AjZgpSVvP5zAYqYRzFuD1q0H/B0CFt6q6 YtuzsfW38Rwt4s4a59MSmSidntDEehd1FGV3tI5Kwkiqive2kh4fKk0SHe5xgNmzCq5u cqH8Z5bCHjbiXpgDbrN06ZEOeo/NHiCqpYRAflINoRvg2ySmKIiQkzZekN0cfm3JFvQV okBg== X-Gm-Message-State: AC+VfDzaTzwzF7C4ERogy4/63NyT9v0bFRv0wyBDsZZgJdHozfvti+4B xi0O34vkUgWY1xftUKPcasc= X-Received: by 2002:a6b:c9cf:0:b0:780:c92c:38ed with SMTP id z198-20020a6bc9cf000000b00780c92c38edmr409190iof.0.1687379896206; Wed, 21 Jun 2023 13:38:16 -0700 (PDT) Received: from localhost (dhcp-72-235-13-41.hawaiiantel.net. [72.235.13.41]) by smtp.gmail.com with ESMTPSA id q1-20020a0566380ec100b004188a9370d7sm1562609jas.98.2023.06.21.13.38.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Jun 2023 13:38:15 -0700 (PDT) Sender: Tejun Heo Date: Wed, 21 Jun 2023 10:38:14 -1000 From: Tejun Heo To: Swapnil Sapkal Cc: K Prateek Nayak , Sandeep Dhavale , jiangshanlai@gmail.com, torvalds@linux-foundation.org, peterz@infradead.org, linux-kernel@vger.kernel.org, kernel-team@meta.com, joshdon@google.com, brho@google.com, briannorris@chromium.org, nhuck@google.com, agk@redhat.com, snitzer@kernel.org, void@manifault.com, kernel-team@android.com Subject: Re: [PATCH 14/24] workqueue: Generalize unbound CPU pods Message-ID: References: <20230519001709.2563-1-tj@kernel.org> <20230519001709.2563-15-tj@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no 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 Hello, Swapnil. On Mon, Jun 19, 2023 at 10:00:33AM +0530, Swapnil Sapkal wrote: ... > Thanks for the patchset. I tested the patchset with fiotests. > Tests were run on a dual socket 3rd Generation EPYC server(2 x64C/128T) > with NPS1, NPS2 and NPS4 modes. Can you elaborate or point me to a doc explaining the differences between NPS1, 2 and 4? My feeble attempt at googling didn't lead to anything useful. What's the test doing and how long are they running? > With affinity-scopes-v2, below are the observations: > BW, LAT AVG and CLAT AVG shows improvement with some combinations > of the params in NPS1 and NPS2 while all other combinations of params > show no loss or gain in the performance. Those combinations showing > improvement are marked with ### and those showing drop in performance > are marked with ***. CLAT 99 shows mixed results in all the NPS modes. > SLAT 99 is suffering tremendously in all NPS mode. Lower thread count tests showing larger variance is consistent with my experience. Sometimes the scheduling and its interaction with workload seems to exhibit bi(or higher degree)-modal behaviors and the swings get a lot more severe when clock boosting is involved. Outside of that tho, I'm having a difficult time interpreting the results. It's definitely possible that I made some mistakes but in theory NUMA should behave about the same as before the patchset, which seem sto hold for most of the results but there are some striking outliers. So, here's a suggestion. How about we pick two scenarios, one where CACHE is doing better and one worse, and then run those two specific scenarios multiple times and see how consistent the results are? Thanks. -- tejun