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 0A35EC00140 for ; Fri, 5 Aug 2022 17:23:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241106AbiHERXB (ORCPT ); Fri, 5 Aug 2022 13:23:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40278 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238385AbiHERXA (ORCPT ); Fri, 5 Aug 2022 13:23:00 -0400 Received: from mailout3.samsung.com (mailout3.samsung.com [203.254.224.33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 03C40765E for ; Fri, 5 Aug 2022 10:22:58 -0700 (PDT) Received: from epcas5p4.samsung.com (unknown [182.195.41.42]) by mailout3.samsung.com (KnoxPortal) with ESMTP id 20220805172257epoutp03d210b71a2a9a3b57a600081f72a2753b~IgrUi_v2g2481424814epoutp03e for ; Fri, 5 Aug 2022 17:22:57 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout3.samsung.com 20220805172257epoutp03d210b71a2a9a3b57a600081f72a2753b~IgrUi_v2g2481424814epoutp03e DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1659720177; bh=//afs5k/C3CJvPW7j8UN/5+wS7sDb4fQ5ckHEP9nxrs=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=DldysqgOrNhSc5oNOwFfsw6pvhCZ90bzUbkkNF+cab15GF6xtAZx/ztLN/y3oXGtE lzU+wMDZ4hQmRuGcpWWDUINDU82uwfHuyZDIVaXnrxnSpa2SnTAE4HnJNpM5wYM1f5 q/siGz6D0UUHWuNZqob32L/8ANNiWw+pOCVfTiBY= Received: from epsnrtp4.localdomain (unknown [182.195.42.165]) by epcas5p3.samsung.com (KnoxPortal) with ESMTP id 20220805172256epcas5p30273d36728b04727d046345aedcc5500~IgrTeALOl3156531565epcas5p3_; Fri, 5 Aug 2022 17:22:56 +0000 (GMT) Received: from epsmges5p3new.samsung.com (unknown [182.195.38.177]) by epsnrtp4.localdomain (Postfix) with ESMTP id 4Lzsqf1Rb0z4x9Pq; Fri, 5 Aug 2022 17:22:54 +0000 (GMT) Received: from epcas5p2.samsung.com ( [182.195.41.40]) by epsmges5p3new.samsung.com (Symantec Messaging Gateway) with SMTP id 67.0B.09639.EE15DE26; Sat, 6 Aug 2022 02:22:54 +0900 (KST) Received: from epsmtrp1.samsung.com (unknown [182.195.40.13]) by epcas5p3.samsung.com (KnoxPortal) with ESMTPA id 20220805172253epcas5p36832520a5fbdbb87a1a2441cca840c3e~IgrRgP9Pd3175631756epcas5p3A; Fri, 5 Aug 2022 17:22:53 +0000 (GMT) Received: from epsmgms1p1new.samsung.com (unknown [182.195.42.41]) by epsmtrp1.samsung.com (KnoxPortal) with ESMTP id 20220805172253epsmtrp14b12a25cd24dd473399e1f6ea3ec4108~IgrRfX5Nc3083130831epsmtrp1Y; Fri, 5 Aug 2022 17:22:53 +0000 (GMT) X-AuditID: b6c32a4b-e6dff700000025a7-7d-62ed51ee2735 Received: from epsmtip2.samsung.com ( [182.195.34.31]) by epsmgms1p1new.samsung.com (Symantec Messaging Gateway) with SMTP id 89.4B.08905.DE15DE26; Sat, 6 Aug 2022 02:22:53 +0900 (KST) Received: from test-zns (unknown [107.110.206.5]) by epsmtip2.samsung.com (KnoxPortal) with ESMTPA id 20220805172252epsmtip24fe1671fe120fabf53c39f8642c49253~IgrQTmKlQ0484204842epsmtip2Q; Fri, 5 Aug 2022 17:22:52 +0000 (GMT) Date: Fri, 5 Aug 2022 22:43:31 +0530 From: Kanchan Joshi To: Jens Axboe 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 Subject: Re: [PATCH 0/4] iopoll support for io_uring/nvme passthrough Message-ID: <20220805171331.GD17011@test-zns> MIME-Version: 1.0 In-Reply-To: <78f0ac8e-cd45-d71d-4e10-e6d2f910ae45@kernel.dk> User-Agent: Mutt/1.9.4 (2018-02-28) X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprGJsWRmVeSWpSXmKPExsWy7bCmhu67wLdJBjPmsFusvtvPZnHzwE4m i5WrjzJZvGs9x2Jx/u1hJou9t7Qt5i97ym5xaHIzkwOHx85Zd9k9Lp8t9di8pN5j980GNo/3 +66yefRtWcXo8XmTXAB7VLZNRmpiSmqRQmpecn5KZl66rZJ3cLxzvKmZgaGuoaWFuZJCXmJu qq2Si0+ArltmDtBJSgpliTmlQKGAxOJiJX07m6L80pJUhYz84hJbpdSClJwCkwK94sTc4tK8 dL281BIrQwMDI1OgwoTsjOfT2pgLjnJWHDx5gq2BsYu9i5GTQ0LARGL9lM/MXYxcHEICuxkl tm58wwySEBL4xCixfDoPROIbo8TZrxAJkI7FTw4zQiT2MkrMWXyMCcJ5xigx8/B+IIeDg0VA ReLH9QIQk01AU+LC5FKQXhEBBYme3yvZQMqZBVYySvzZ2cECkhAWcJWYcGkRI4jNK6ArseHG OWYIW1Di5MwnYDWcArYSTVf6mEBsUQFliQPbjoPtlRCYyiHx5fl3RpBlEgIuEqc+FkEcKizx 6vgWqDelJF72t0HZyRKXZp5jgrBLJB7vOQhl20u0nupnBhnDLJAhceo/H0iYWYBPovf3EyaI 6bwSHW1CENWKEvcmPWWFsMUlHs5YAmV7SNxb28QOCcMDjBK3jwVMYJSbheSZWQgLZoEtsJLo /NDEChGWllj+jwPC1JRYv0t/ASPrKkbJ1ILi3PTUYtMC47zUcnj8JufnbmIEJ1At7x2Mjx58 0DvEyMTBeIhRgoNZSYT3547XSUK8KYmVValF+fFFpTmpxYcYTYFRM5FZSjQ5H5jC80riD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heRIhIzJk6p9yyhjGl9sx9 gZbDup9NHuUwaZ0M5mlNZZ74MDHy1OcVvVPnHmacNfWYxCvmwq8uS4796YoTPPd/0+5OHZf5 70xeScr/5rn2qdH8z6X45R7Gfey3U2Ptu05c2m+V9WhdVvvJf2+rJ+50tV0cvu7extNJv6+p yd5cbxA01fLhE32XaxO+FvT5rDkxL7m9h0WaLeG5XxKnbNSCK80hx/vufV/1QuDVJuW9Shrs N9776MziijJeVRKycWWfz8f4VO7jqT3fo1808iSy7G3Ii9qtmqPbFr3rrt+N2ELGW6YCDuvi eaOfml7itlkprZpREqXEUpyRaKjFXFScCAB6iB7k+wIAAA== X-CMS-MailID: 20220805172253epcas5p36832520a5fbdbb87a1a2441cca840c3e X-Msg-Generator: CA Content-Type: multipart/mixed; boundary="----_GKj2UxOoZMooFpgW.UaNJF5RnPKrhbpXXK.PgNceyCDa.V5=_4fc22_" CMS-TYPE: 105P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20220805155300epcas5p1b98722e20990d0095238964e2be9db34 References: <20220805154226.155008-1-joshi.k@samsung.com> <78f0ac8e-cd45-d71d-4e10-e6d2f910ae45@kernel.dk> Precedence: bulk List-ID: X-Mailing-List: io-uring@vger.kernel.org ------_GKj2UxOoZMooFpgW.UaNJF5RnPKrhbpXXK.PgNceyCDa.V5=_4fc22_ Content-Type: text/plain; charset="utf-8"; format="flowed" Content-Disposition: inline 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. ------_GKj2UxOoZMooFpgW.UaNJF5RnPKrhbpXXK.PgNceyCDa.V5=_4fc22_ Content-Type: text/plain; charset="utf-8" ------_GKj2UxOoZMooFpgW.UaNJF5RnPKrhbpXXK.PgNceyCDa.V5=_4fc22_--