Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp681555rdg; Thu, 12 Oct 2023 19:03:18 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGfmpMNvdKk+ATDJRwWsjkxEoXpHCCpArtMNWD4DsKPlAEX2TXB7zuFuJQOVmFD7ipus8M4 X-Received: by 2002:a05:6808:210b:b0:3a7:2456:6af6 with SMTP id r11-20020a056808210b00b003a724566af6mr31854071oiw.31.1697162597951; Thu, 12 Oct 2023 19:03:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697162597; cv=none; d=google.com; s=arc-20160816; b=ZiEESKBQzpxRgZNJ6ulae0bCUP8+WaQtmQIcq86nYkzuDc7iZZjQqSko/l1vbTNkqI UbssQ92mJP/sslZDKR0Wkys0eD5swz1B4PrxrNCh8ZXMZPS++g1rCcZoRYSMa2/qdX3u 9B6Zgo94lAdseeJT//XDwySYfyB6CMZeI8GDUKTZLCQstMmKnVDHIDwqJYVO7RaN5oAP BrIvnq9O4yE0gHUHCUnLNndGnYipVnFyxIFCE6T6Yeszfi73ITD9JMsbWS4/9lUgpwcs AO/Su5kPyD7onN8iHmyCdPAfWUnuLMCb9ztX1Blx73SkF7Tqi9/Gf/9ZhxmM1wvivoW1 WCDA== 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:dkim-signature; bh=1BZTAWCLnjPY0yXHnQbDlEMs44wsXzwC+R4ev+Nup1M=; fh=RifAAKazSPnk0ustUSg33NWDgptH0LJwZ3+KPrLl7ac=; b=Xii3NV9Bm1VFV16uL4n4sNjggBZbrDd61jMq1HBvhgi4mCL36t/pT6jlQcUkNRQKsi KnicYG+X/9fIozxbM6Ua4hrrKQlERcW/1cth7yNXRMiKmykUh0WUTEZhQB+f78lUMH79 Dn8KLbHHKJX+Bb5Iu6KCAP2FtxYDUU501MaDm8XS7LM/HVHPZwEZTAv17UVg8xfK0eRG gUud12IJgXqHOoT6z5ir6aqcUFXCehgh9QnJXpG73YoEba0+zlqIvHvGHOiKNPYcV4f4 s5e/5h9olApOqfggnrVhbIHmS63VJescCAu0pzJnSnRdiMDlLv9hSdrRmgp0h/4Sle4a 9KqA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=BBL6OZuA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id v11-20020a655c4b000000b0058986c3dc2fsi3284057pgr.117.2023.10.12.19.03.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Oct 2023 19:03:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=BBL6OZuA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 945F380BA649; Thu, 12 Oct 2023 19:03:15 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229469AbjJMCDI (ORCPT + 99 others); Thu, 12 Oct 2023 22:03:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53118 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229445AbjJMCDH (ORCPT ); Thu, 12 Oct 2023 22:03:07 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C2C46C0 for ; Thu, 12 Oct 2023 19:02:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1697162538; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=1BZTAWCLnjPY0yXHnQbDlEMs44wsXzwC+R4ev+Nup1M=; b=BBL6OZuA2DGG6E/qST9GDILN+vWaGWU0qUUQnQGb+B/hKC5GORAqVABo/s1qPbJUQWdoJ4 yzvPgJmbRglhuoA3rjmb7o0sqGN7FmfEnF1viYJv7E0IMmPDcyaHrw5cZDRvHRV0MQNmtR KCLwsg9A+xotUj9EfNKqYcuKpRMcqIg= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-385-4u3xc-cXMd-J70mk6Nx6XQ-1; Thu, 12 Oct 2023 22:01:59 -0400 X-MC-Unique: 4u3xc-cXMd-J70mk6Nx6XQ-1 Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 0E9D988B7A6; Fri, 13 Oct 2023 02:01:59 +0000 (UTC) Received: from fedora (unknown [10.72.120.2]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 8E997486F32; Fri, 13 Oct 2023 02:01:53 +0000 (UTC) Date: Fri, 13 Oct 2023 10:01:48 +0800 From: Ming Lei To: Tejun Heo Cc: Jens Axboe , linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, Juri Lelli , Andrew Theurer , Joe Mario , Sebastian Jug , Frederic Weisbecker , ming.lei@redhat.com Subject: Re: [PATCH] blk-mq: add module parameter to not run block kworker on isolated CPUs Message-ID: References: <20231010142216.1114752-1-ming.lei@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Scanned-By: MIMEDefang 3.1 on 10.11.54.10 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Thu, 12 Oct 2023 19:03:15 -0700 (PDT) Hi Tejun, On Thu, Oct 12, 2023 at 09:55:55AM -1000, Tejun Heo wrote: > Hello, > > On Wed, Oct 11, 2023 at 08:39:05AM +0800, Ming Lei wrote: > > I appreciate that any specific suggestions about dealing with isolated CPUs > > generically for bound WQ can be shared. > > Oh, all I meant was whether we can at least collect this into or at least > adjacent to the existing housekeeping / isolcpu parameters. Let's say > there's someone who really wants to isolated some CPUs, how would they find > out the different parameters if they're scattered across different > subsystems? AFAIK, the issue is reported on RH Openshift environment and it is real use case, some of CPUs are isolated for some dedicated tasks(such as network polling, ...) by passing "isolcpus=managed_irq nohz_full". But blk-mq still queue kworker on these isolated CPUs, and cause very long latency in nvme IO workloads. Joe should know the story much more then me. Thanks, Ming