From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A527CC3F6B0 for ; Fri, 5 Aug 2022 17:27:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230223AbiHER1b (ORCPT ); Fri, 5 Aug 2022 13:27:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43132 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238247AbiHER13 (ORCPT ); Fri, 5 Aug 2022 13:27:29 -0400 Received: from mail-il1-x136.google.com (mail-il1-x136.google.com [IPv6:2607:f8b0:4864:20::136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7D2E718387 for ; Fri, 5 Aug 2022 10:27:26 -0700 (PDT) Received: by mail-il1-x136.google.com with SMTP id j20so1671001ila.6 for ; Fri, 05 Aug 2022 10:27:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-dk.20210112.gappssmtp.com; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc; bh=VqPDDSBpBwddRfow0SAFRaLdgUCxAuI8BMm1SRvWNRk=; b=TZQQewvoRD5hBKdOFT3s+LdXE6ljyWX+TGuw1pck94i1Yg9d8sLvu5ohMTLAkfgkSK DdYTPuhfzrG0orVYarV9B1J9erWTFt1M/slHB2OceJH2plf06thpVIgretSBwOeoVcyr 69FDQOkWTaZHm+DYtAMNzy4tE/2DoIW6ki/di1A9Su1VgrwacDKtigkXsuvm+S4JR3DH YnIj0ldXTO598cfAy7hNTZdKcLLA0xnWEBmfiLI+eKlFugpMcC+Wsq8jjGHRn/e6s6iX bxqNntiegM7fp2rkC8q/SPnBIx0ypTH5xiVikBAooejU/Do9CG8Fzge5VEPQRzfvRUWk RLaw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc; bh=VqPDDSBpBwddRfow0SAFRaLdgUCxAuI8BMm1SRvWNRk=; b=DGt2WNH5hDA/ZlAm712QrfC+cMGOowScA8Rr+0FvtC60s//PSlbh1BXp3qCVA2o0AG QoA/uFvnWv43MavWjYxAmYwOWX6bHEPyzJIWCpVAbRYvnKVNTbiRxQv5hyz8JvbPb3GU +X14EtnF1jnxVvHg7pv0QzWyAD+y9d/2Msn9Eq5woBywB1/D11al+KigaePe2ZQ9fA2L zlDtgaWVbBqMmD2LpygK0MWnW8pRloLFb+qnTVlQxgOVFDsW1xiM/96fz/KNASdehuSk 0rWTFNRxZjC0kiW5xj9ZNYLq3TH7V7wHsTEIWIFTM4zFe4yspBvW4yF8A/oowsYRLv2m sr8Q== X-Gm-Message-State: ACgBeo1pNP2hICCAk5ANTieO0OlsgbtmvJ84UM5/w7ZtRFyjAmckBo/m OqHnAGIcPayw9VIoFR7jdHOAAtFRcEHrFA== X-Google-Smtp-Source: AA6agR7cmuoL/H2+7nHy2Mtu5czVX+KNmjmi5wl0z5jXuF13b3SZ+G0WaxTwgDUKt1vsaEHi65C1jA== X-Received: by 2002:a92:cda9:0:b0:2df:a725:6491 with SMTP id g9-20020a92cda9000000b002dfa7256491mr789331ild.12.1659720445894; Fri, 05 Aug 2022 10:27:25 -0700 (PDT) Received: from [192.168.1.172] ([207.135.234.126]) by smtp.gmail.com with ESMTPSA id j9-20020a02cb09000000b0033f1953b15esm1865177jap.60.2022.08.05.10.27.23 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 05 Aug 2022 10:27:24 -0700 (PDT) Message-ID: Date: Fri, 5 Aug 2022 11:27:22 -0600 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux aarch64; rv:91.0) Gecko/20100101 Thunderbird/91.10.0 Subject: Re: [PATCH 0/4] iopoll support for io_uring/nvme passthrough Content-Language: en-US To: Kanchan Joshi Cc: hch@lst.de, io-uring@vger.kernel.org, linux-nvme@lists.infradead.org, linux-block@vger.kernel.org, ming.lei@redhat.com, joshiiitr@gmail.com, gost.dev@samsung.com References: <20220805154226.155008-1-joshi.k@samsung.com> <78f0ac8e-cd45-d71d-4e10-e6d2f910ae45@kernel.dk> <20220805171331.GD17011@test-zns> From: Jens Axboe In-Reply-To: <20220805171331.GD17011@test-zns> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-block@vger.kernel.org On 8/5/22 11:13 AM, Kanchan Joshi wrote: > On Fri, Aug 05, 2022 at 11:04:22AM -0600, Jens Axboe wrote: >> On 8/5/22 9:42 AM, Kanchan Joshi wrote: >>> Hi, >>> >>> Series enables async polling on io_uring command, and nvme passthrough >>> (for io-commands) is wired up to leverage that. >>> >>> 512b randread performance (KIOP) below: >>> >>> QD_batch block passthru passthru-poll block-poll >>> 1_1 80 81 158 157 >>> 8_2 406 470 680 700 >>> 16_4 620 656 931 920 >>> 128_32 879 1056 1120 1132 >> >> Curious on why passthru is slower than block-poll? Are we missing >> something here? > passthru-poll vs block-poll you mean? > passthru does not have bio-cache, while block path is running with that. > Maybe completion-batching is also playing some role, not too sure about that > at the moment. Yeah, see other email on a quick rundown. We should make bio_map_user_iov() use the bio caching, that'd make a big difference. Won't fully close the gap, but will be close if we exclude the lack of fixedbufs. -- Jens Axboe