Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp534582rwi; Thu, 20 Oct 2022 01:52:46 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5lEc3Gz7WzBI/LWTHDKsRm8bLjpV/Q4WcndwudKbDT9dnCpfraziIej4708JpxWffl81zl X-Received: by 2002:a05:6402:2146:b0:458:15d7:b99a with SMTP id bq6-20020a056402214600b0045815d7b99amr11312405edb.24.1666255965682; Thu, 20 Oct 2022 01:52:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666255965; cv=none; d=google.com; s=arc-20160816; b=zBShdoIUi6JGOJP/4WUMYQMNd0jqOIvpeWtEKjMJJIMB7bQ8XBLPZut8s8RBRmOh98 IBUsIAwl+hS6URYHC1aBrnvTTdmtxjg2vgTT1Gx1JgQhLqs6Ay4Ab8WROC497zDT/2NK Mrd4BDteuprn0MxUVvr7CSYui/nxXnFebtbx0hkmuGZWw8e9N4NRAvKkWlPkmQMuVVjS 9dP1Ac1MDgH5uVO6bT/WM0lntiWhr0ck5a4+U1f4DMPKyOzxqxNywItHwvswmm6qWJyD O0WvZkdBRP7ak5HX5XdVRVqihtZSo2zQoeddvBGm125qLoJPy/XdV0z6UTFyuLFKYEpZ E8oQ== 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=lZniaKMxG9ACzQr0eHnJ4s9IgEGgM6CKvE9MDqlY+MM=; b=CMfX9tnEm9wz9uKUYvQ/1aNqYG5jifZC7z3nytG/Y/2M9sr37yu2xQYwOPC7Vl7nxS lC7EV4mQ18t1xPyniaH6Hv7eHqnKugTuQVnaQkM+cjdHGDvy8raRKHFhmxOn+VTR2fMk RW1TzYCjiFYR/uAHcXbTTxD3Eix2CfV9I4WIxkZ+TSIhHJoyrShXeyxKSXTtg0K6Gi9E LVpkIcjkP4k1y/o7iZyF3md4e99UecNyh6rBREXqRzg3+cPQ749bdBP+f5lS+CH9RCYW ZM1weVHOr+sXcSWWpwwHRH3avsVacmvNYWlpl2E8Mzcenyyu0m5Jpn07LvPkm6Nltmum iiiw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=2tntOe3T; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id jg30-20020a170907971e00b0078da5f6ed9esi18007950ejc.779.2022.10.20.01.52.20; Thu, 20 Oct 2022 01:52:45 -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=@infradead.org header.s=bombadil.20210309 header.b=2tntOe3T; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229944AbiJTIcV (ORCPT + 99 others); Thu, 20 Oct 2022 04:32:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34752 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230082AbiJTIcP (ORCPT ); Thu, 20 Oct 2022 04:32:15 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BA6B2165C93; Thu, 20 Oct 2022 01:32:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=lZniaKMxG9ACzQr0eHnJ4s9IgEGgM6CKvE9MDqlY+MM=; b=2tntOe3TKz5J0uTSsNutdZFKhD ArLoALj6dqXLhxcMeb9GMj4ZpgZA/p1aiNuUulq2TGzhfjnHQOfPr0NCdQIB6nS7czTLC/KNAQH/N T1uoStohp0dc4+P6GuOxkDR1TK2RhAFArfwJ5t0oYgomVslHAa8PFzf+6DYsxJmnuK1DQ4UhuOUhi zCajeqVL4g7dgSTR/2qiZYbAKVxCaloYpTH/gwGJ+WSQTS6GWPPSvmhfjjiA1LDErPSjec9YzMxpt /H0JOkwpxoYORgMt3LYWoV+AFmH4OCaO+lpbkWaehQEGHn/DqZmT64Pt12ZR3piXJkQSKSybT+No6 k3Du7Sng==; Received: from hch by bombadil.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1olQyL-00CEuc-N0; Thu, 20 Oct 2022 08:32:13 +0000 Date: Thu, 20 Oct 2022 01:32:13 -0700 From: Christoph Hellwig To: Pavel Begunkov Cc: Jens Axboe , linux-block@vger.kernel.org, io-uring@vger.kernel.org, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org Subject: Re: [RFC for-next v2 0/4] enable pcpu bio caching for IRQ I/O Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE,URIBL_BLOCKED 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 Tue, Oct 18, 2022 at 08:50:54PM +0100, Pavel Begunkov wrote: > This series implements bio pcpu caching for normal / IRQ-driven I/O > extending REQ_ALLOC_CACHE currently limited to iopoll. The allocation side > still only works from non-irq context, which is the reason it's not enabled > by default, but turning it on for other users (e.g. filesystems) is > as a matter of passing a flag. > > t/io_uring with an Optane SSD setup showed +7% for batches of 32 requests > and +4.3% for batches of 8. This looks much nicer to me than the previous attempt exposing the bio internals to io_uring, thanks.