Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp3824250pxf; Tue, 6 Apr 2021 00:48:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzfdDH4APucXaXPDRu6bmHbEE8MkG2BDTdRLKOTnlhOhHOZQqXchHMVyqQKYscFXLiAemPq X-Received: by 2002:a5e:dd0c:: with SMTP id t12mr22169152iop.50.1617695288568; Tue, 06 Apr 2021 00:48:08 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1617695288; cv=pass; d=google.com; s=arc-20160816; b=V30QctKt9btG96ruyh7hm+QMUH5ePXRlZd5nCNblXe3f7RPG5k9OQAkW4YRI5zbp0D xsOhMaUybOXSnWFsz7ie+hIvmzGbPs4fseFxXDK/nxJPfaJQi1d/TyzByj9JxDr6gH4x P98Sh8j93FTC3JZdigdkLHdkFjX0O+YldEs3yjSp2MwV8vN/0jwOef7hLB6rK3fIgfDG 71lH22NyXYicS48FglPCKy5LPLJqb54s8FUEA43uKny2koBdH1ba7Ufjb584eNFtc7tE oQB8bYvInya896p4zegUeXUby8gPEZuRPNdOYG+zrTONiSXSCMB3KLjvItcGpg29DgXg klsA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:in-reply-to:content-disposition :references:message-id:subject:cc:to:from:date:dkim-signature; bh=j/nNy5d3ferFJ12C5JxIISPWWcb5xgmyHOvBmXJMgHY=; b=F1dzYuLNKqsyTwInT9SZEljDtqIRVnhD6hRgvZqwKw+Kesajg537YAtjIgkYJd5Rzs bIza3J/Dr8RfE6uxvkBTQORqUGXNPWeDuU/F1LBkNFuFGouESAMnhOf52jM4WEcwpHo9 rOrqyxD62XMFyTbATt7pBlIw7xy1MsCv/9KOHzuTkgHmpNZt9UXdI6z/X2riT7pCbIax +nA0hypL3meKSKNe8Qdz59DT8v0tnyF2l/JmdfQg38ekMo0FdlEXKOB7Bfe84+QHQsAx dt36i8uxK1Mc+wjdFOecLgKWM4CJiciVl8lC4w06TUJ9K5OsM19aZhOM2g2wfxqpUITC zqrg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@Nvidia.com header.s=selector2 header.b=YaCwjAAH; arc=pass (i=1 spf=pass spfdomain=nvidia.com dkim=pass dkdomain=nvidia.com dmarc=pass fromdomain=nvidia.com); spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nvidia.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j3si15815631jam.97.2021.04.06.00.47.47; Tue, 06 Apr 2021 00:48:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@Nvidia.com header.s=selector2 header.b=YaCwjAAH; arc=pass (i=1 spf=pass spfdomain=nvidia.com dkim=pass dkdomain=nvidia.com dmarc=pass fromdomain=nvidia.com); spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nvidia.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240462AbhDEUHu (ORCPT + 99 others); Mon, 5 Apr 2021 16:07:50 -0400 Received: from mail-co1nam11on2052.outbound.protection.outlook.com ([40.107.220.52]:53152 "EHLO NAM11-CO1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S232752AbhDEUHt (ORCPT ); Mon, 5 Apr 2021 16:07:49 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=oP4v8xgXJh7wX0WF6KfcYt1BZKAqVCD3ecsTyA8r77UtpKlig/ZA7LpXrbQ2k3he50tFYkmVK2Z8ECLAZ6IKJAvrPAe2PW72v3BvJVz6Es9mPxKNwq85SCEpi/NrtxPJHQRUqmm4qx1uotaxsXPYRtB0eFhmCAdMBUisZRDbDLdqqsbfNnnizJUNkI9j41wgZlTFIZ9vp7wILzhYnk/nb31RKNRYvDH7vpffMoD/tL7YdoDGcMMbtkVmNSyBItfc7Ewmu7oeBfA+Ja61IfkWKWclpGm6/mupTud8Ff0/WhOSbtFAZj0ulFBwjknadkdCnZjcyyudfAWfaY/aI+eeLA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=j/nNy5d3ferFJ12C5JxIISPWWcb5xgmyHOvBmXJMgHY=; b=ej4VDWwwaj8D40cs+H9I6hbshDm3OgFZXqYmnwlJgk+v3NL6uLxN/p1sVocbOrtr8DyiHCecfa5A1ZR65STjwBrGLru4Yw2gkXgCbEkwKwet+EACz4BxayPgch6tZ2dcObMufUBBFvevp39EZSJ/46z+Wq22VZymu+iK7bS5mqJ/uVk5AxNs5hyyqjYTOwV7sqPYpz6FforWVQbA4NNWF1hv0BduZNP/2X8sVr+JvXJlpp9I5rSnq/JajFqTCu7TDQjvpDuvlANI9ZeC6JwGqv+EcMDKIyiFYAan/ZkKzjKNRVFSDCLF2PQbNfFYiZXZt4Q5lllVeMZ9drM6Pl5Bgg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nvidia.com; dmarc=pass action=none header.from=nvidia.com; dkim=pass header.d=nvidia.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=j/nNy5d3ferFJ12C5JxIISPWWcb5xgmyHOvBmXJMgHY=; b=YaCwjAAHJnqy1nuGttymzQLkRI4mnXYiHOzsKwMB7s1c1T+ITLe0PzbzO/lkRBgCRp/4rzrasWAwnio3yXE+CUdGs5qDLkB/V28k/7Z9UteLS594nlfZfU559afqNcstha6wj+tXxNkMCfzemDmQqS5HLCOHAXdE+YZQF6HotykZ7vLBd3uhOvSA63UIaACCLoifVfKGk0G61xJBWwdOtvk9W9w/s5KomJtj03q/BIJY/jKcMSc9DHfLDKpLAFVIYFDPw1eEiIQAADALpHtZw3YLEVMuHlpP3UMil8mhq4NH68ub2O0ILCUSstCorPAf4wVfOPmW9cd9iorRSLhYeQ== Authentication-Results: lst.de; dkim=none (message not signed) header.d=none;lst.de; dmarc=none action=none header.from=nvidia.com; Received: from DM6PR12MB3834.namprd12.prod.outlook.com (2603:10b6:5:14a::12) by DM6PR12MB2601.namprd12.prod.outlook.com (2603:10b6:5:45::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3999.32; Mon, 5 Apr 2021 20:07:41 +0000 Received: from DM6PR12MB3834.namprd12.prod.outlook.com ([fe80::1c62:7fa3:617b:ab87]) by DM6PR12MB3834.namprd12.prod.outlook.com ([fe80::1c62:7fa3:617b:ab87%6]) with mapi id 15.20.3999.032; Mon, 5 Apr 2021 20:07:41 +0000 Date: Mon, 5 Apr 2021 17:07:39 -0300 From: Jason Gunthorpe To: Christoph Hellwig Cc: Leon Romanovsky , Doug Ledford , Leon Romanovsky , Adit Ranadive , Anna Schumaker , Ariel Elior , Avihai Horon , Bart Van Assche , Bernard Metzler , Chuck Lever , "David S. Miller" , Dennis Dalessandro , Devesh Sharma , Faisal Latif , Jack Wang , Jakub Kicinski , "J. Bruce Fields" , Jens Axboe , Karsten Graul , Keith Busch , Lijun Ou , linux-cifs@vger.kernel.org, linux-kernel@vger.kernel.org, linux-nfs@vger.kernel.org, linux-nvme@lists.infradead.org, linux-rdma@vger.kernel.org, linux-s390@vger.kernel.org, Max Gurtovoy , Max Gurtovoy , "Md. Haris Iqbal" , Michael Guralnik , Michal Kalderon , Mike Marciniszyn , Naresh Kumar PBS , netdev@vger.kernel.org, Potnuri Bharat Teja , rds-devel@oss.oracle.com, Sagi Grimberg , samba-technical@lists.samba.org, Santosh Shilimkar , Selvin Xavier , Shiraz Saleem , Somnath Kotur , Sriharsha Basavapatna , Steve French , Trond Myklebust , VMware PV-Drivers , Weihang Li , Yishai Hadas , Zhu Yanjun Subject: Re: [PATCH rdma-next 00/10] Enable relaxed ordering for ULPs Message-ID: <20210405200739.GB7405@nvidia.com> References: <20210405052404.213889-1-leon@kernel.org> <20210405134115.GA22346@lst.de> Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210405134115.GA22346@lst.de> X-Originating-IP: [142.162.115.133] X-ClientProxiedBy: MN2PR06CA0027.namprd06.prod.outlook.com (2603:10b6:208:23d::32) To DM6PR12MB3834.namprd12.prod.outlook.com (2603:10b6:5:14a::12) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from mlx.ziepe.ca (142.162.115.133) by MN2PR06CA0027.namprd06.prod.outlook.com (2603:10b6:208:23d::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3999.28 via Frontend Transport; Mon, 5 Apr 2021 20:07:40 +0000 Received: from jgg by mlx with local (Exim 4.94) (envelope-from ) id 1lTVVb-000tsE-LU; Mon, 05 Apr 2021 17:07:39 -0300 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 84471cb5-c7be-4f0b-30c2-08d8f86e7775 X-MS-TrafficTypeDiagnostic: DM6PR12MB2601: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:8882; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: NHNTkdOlA/aWZMLR91pcCzLgboahKPGPdx3XMscdxQijU3GVRO9QMGkq0P2RcaxWLRDiIMpFKQvkP0OuGkPn+ucOWa+QpijJNe1G9cD7futxjPQAlgC3S8SujpjP5TaNobfIp25T4dXR+vl9WymYWJ7d97hjhoMRWkzzSawtb8DL2YZOgvuivF0PQmYqVcjmBNRFwhLXITdIDzwa2uEOhHRASVirtBedul5Y5/A9YBWQKw1YI69mRAJqtl6Pivt6+SKy+9dZ/HJVLGfSFMJJVarFh9D+UVz5OaqyD18l8TlDseSIOqiDqKb3WCOgAmwNuBImz1eXOhzqzn+OzH1VqkTf0JpTgSpGgjSTLD5K83GXJ096BbFuKqDBB9Mpe+2uHgQaoHZX+Hebf0ipGtT72NJqH1hEUqZmAH1KW8jv+ud2EC6WAXDVZZ2iZL6e4MA018+OPO18uoZh7h/IdRSp01zrzpFbxUZSSZvPY2KLiQrWEOdgJMfoXMHWGSm5oZdh/CROKu7kP1pj22DIrZgjTnBfYSbGgkCPTXrIJwDU6156ShNRZqjg6lIwNLaqYDJfeqQH3BtXemcEmL0hqnYsZ+o1p65+w2p7UoKnLdqQMt866TCbBpFOmnWWvBGfW8eNagtBlFIiaLLjE8/xz2WjS/S2X4OlAwKde1AXM5uPfkg= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DM6PR12MB3834.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(366004)(136003)(396003)(39860400002)(346002)(376002)(478600001)(1076003)(33656002)(26005)(6916009)(186003)(2906002)(54906003)(66476007)(8936002)(7416002)(4326008)(8676002)(7406005)(2616005)(38100700001)(5660300002)(426003)(66946007)(9746002)(9786002)(316002)(83380400001)(36756003)(66556008)(86362001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData: =?us-ascii?Q?dqguTN/Lil2raHacxDUb1fBWY5uYIBxJq0o5eoU8qvfW/+b+SWmzTaN+X7zH?= =?us-ascii?Q?VuUo5o9IkAEBAz6i3ydb9EgU0PLpwj926RYwVrALCo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K3550CdCpX2ckvvOdzMzW0dhyW2O2eBUacH?= =?us-ascii?Q?Prq6IYS3npduBM1hIJxdENAd2g3XZQRdsbjgonT35iYRf/dYhmZP6D6hmNdt?= =?us-ascii?Q?vHf/o9kszJbIYhP5aA9XSqFBvhXYq2XYTuSL/QvSoskTitydxqraP7+X/lvz?= =?us-ascii?Q?zvy7HUKfYIhwKFM8/zJiCruYnBuqnoxWtrc/AvMX+JhEnGaG/ZlLOu0WHe2I?= =?us-ascii?Q?ZpQZCx39algQNxVAwJU5p6CGOhtVbf9S3ePbIDH4Z+morN+K+Q/LbIFJrBoh?= =?us-ascii?Q?PCnpnckQT+Bhj7vUqR5rceDRaGWC1q+Kxeo/pDs593zhpkNhgFVoBw/H0t6W?= =?us-ascii?Q?9cWjzeOtfZhCJrjOvsEWlfmT?= X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-Network-Message-Id: 84471cb5-c7be-4f0b-30c2-08d8f86e7775 X-MS-Exchange-CrossTenant-AuthSource: DM6PR12MB3834.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Apr 2021 20:07:41.0693 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 9KEx5Ujcc1t1goDc3HXmjwHd1eaMclkbpip1jnZjj+VLeDPeZaFMR0wTZ2OdJn8N X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR12MB2601 Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org On Mon, Apr 05, 2021 at 03:41:15PM +0200, Christoph Hellwig wrote: > On Mon, Apr 05, 2021 at 08:23:54AM +0300, Leon Romanovsky wrote: > > From: Leon Romanovsky > > > > >From Avihai, > > > > Relaxed Ordering is a PCIe mechanism that relaxes the strict ordering > > imposed on PCI transactions, and thus, can improve performance. > > > > Until now, relaxed ordering could be set only by user space applications > > for user MRs. The following patch series enables relaxed ordering for the > > kernel ULPs as well. Relaxed ordering is an optional capability, and as > > such, it is ignored by vendors that don't support it. > > > > The following test results show the performance improvement achieved > > with relaxed ordering. The test was performed on a NVIDIA A100 in order > > to check performance of storage infrastructure over xprtrdma: > > Isn't the Nvidia A100 a GPU not actually supported by Linux at all? > What does that have to do with storage protocols? I think it is a typo (or at least mit makes no sense to be talking about NFS with a GPU chip) Probably it should be a DGX A100 which is a dual socket AMD server with alot of PCIe, and xptrtrdma is a NFS-RDMA workload. AMD dual socket systems are well known to benefit from relaxed ordering, people have been doing this in userspace for a while now with the opt in. What surprises me is the performance difference, I hadn't heard it is 4x! Jason