Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp3941131pxf; Tue, 6 Apr 2021 04:20:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyP6/pDY6chGbKqcZXL+EADM92vGH9tROew1iC3p72EZ8JbSvsf05wt/kWsU6ZClZdcnGw/ X-Received: by 2002:a17:906:1e8e:: with SMTP id e14mr19250453ejj.399.1617708054700; Tue, 06 Apr 2021 04:20:54 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1617708054; cv=pass; d=google.com; s=arc-20160816; b=kRNJmDnSA0EGcyKAb/hAPZVajvCqBvx/jdtewn+LzO6tdMpHsiIaUFolDcv5nk1goZ I6ZeE2JCH3KiHkXRwfX13c4R2eyaDlotxTaVS8tOzY9bw95vUUBmBkzypT5fh5rekINf JkvkxIhEHo6DbFlwmrK4HLVXHIEqK5VCyC5tIfQNmMBs2dnvpVi+CLREHQn4eD/fO0m7 RZ6VLTpHi0NDLajatJ659HOJ3hzFJgFwdgBY4Pw/GdaNrWCm/8o8HVmPCLByrBut2Z4r Kwar3G5f+K7Y7pk0d1819nrLC/1nDno+Db2phlP5jThJE63wZ6ydL7/dabqaXifuQzeG iE/w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-id:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:cc:to:from :dkim-signature:dkim-signature; bh=zKtM2+uDe32oGasrBZxOOoKchrt9wI6AkiWSVfkigHY=; b=JTwBC3j7DR4CjCkvtykJS1YbN0n89Q6YvAAL8/iqZdS0Y300/vzlVRY41eO1dt3V2q rDnmSNi8iziUtYF3xjtsNHDe5npDVfVTShudnBRy47iUkJ4Z3Rr+kFKg1yTNafN+U1HF eMoo/Fy8wyf8LLnNKB2cQ+CaxrnLw1grPRtEgykRFAljBX2U6tVrNzGobFvQFIGqS2pO 8IsFvEGWx2ZWiQISXtRHW6uD2/AEiiuEDSPJZBNh9zQ4zFEg/v6mEGQZvq5dztHhZRl1 1tG+abfnj4OquO21OqbVAVIUwitSxQRt50yfO/jZNDIV8jjL3oPZzur4PGtwqZiGMTqc daWA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2020-01-29 header.b=qqqXBvbz; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=TmHd73cZ; arc=pass (i=1 spf=pass spfdomain=oracle.com dkim=pass dkdomain=oracle.com dmarc=pass fromdomain=oracle.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=oracle.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w7si7590815eja.166.2021.04.06.04.20.19; Tue, 06 Apr 2021 04:20:54 -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=@oracle.com header.s=corp-2020-01-29 header.b=qqqXBvbz; dkim=pass header.i=@oracle.onmicrosoft.com header.s=selector2-oracle-onmicrosoft-com header.b=TmHd73cZ; arc=pass (i=1 spf=pass spfdomain=oracle.com dkim=pass dkdomain=oracle.com dmarc=pass fromdomain=oracle.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=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238169AbhDEXoN (ORCPT + 99 others); Mon, 5 Apr 2021 19:44:13 -0400 Received: from aserp2130.oracle.com ([141.146.126.79]:52178 "EHLO aserp2130.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242083AbhDEXoM (ORCPT ); Mon, 5 Apr 2021 19:44:12 -0400 Received: from pps.filterd (aserp2130.oracle.com [127.0.0.1]) by aserp2130.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 135Ncvl7057499; Mon, 5 Apr 2021 23:42:42 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-id : content-transfer-encoding : mime-version; s=corp-2020-01-29; bh=zKtM2+uDe32oGasrBZxOOoKchrt9wI6AkiWSVfkigHY=; b=qqqXBvbzbX9/DZYmSyaQSUi+Y7owIdydoXu0vIzBVLGOP48aPBNswS6RC8n4A19OAj2Z dqRgS8VMNVIfj6ijH3Cug0raew97YssgNu9zednVOT3gU7wi4iOcwocqmM4bV+IbQoJ9 mg9WKaMLox49dpXEq3yZVp/XJkuSFKdgIWOGmDhD8J1ldfwosI20ZnS37TCmJ7EOyipH ed698g1i8qu5h768owxsdE/+Qdpgo0sMEUYOdwGyiidPtFj3vkjFBMTe6S5kvadvsU9+ mQs6UkZve05T4nPxZiVh0g8YuZdwJeG5UQFx2ua11MOFA9mjvY7r8FnpDtHsbFM7FQJw hw== Received: from userp3020.oracle.com (userp3020.oracle.com [156.151.31.79]) by aserp2130.oracle.com with ESMTP id 37q38mkmvf-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 05 Apr 2021 23:42:42 +0000 Received: from pps.filterd (userp3020.oracle.com [127.0.0.1]) by userp3020.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 135NewkK163998; Mon, 5 Apr 2021 23:42:41 GMT Received: from nam11-dm6-obe.outbound.protection.outlook.com (mail-dm6nam11lp2177.outbound.protection.outlook.com [104.47.57.177]) by userp3020.oracle.com with ESMTP id 37q2pthgqv-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 05 Apr 2021 23:42:41 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Oza/qf6ORAI3lgiuCa7uYUiyFrHkOFcLU3aQ6nOpKU6cs04HaBqd/QFsLmX2KKfuuGRZERHfquGdfgFwo2xaZO4Rl/nbN6et5ZfBE+7fQTLFAVTeBxDGDcsvfefpeExBW5euWbm82uKj6VIjR7sslrtgtdOT6jEWFEIGnvUMXeZhJzVGSKFjaNgKp0VyWROofSvql8xS8Gjyn452L/qlLY9Sdbf+wtQsrO4ZWdBYg7RCBPAtetKNPJHfqfGhB964es/+nenrdAQwB3+FJeKtigEgeNAE8HJO1F0+bBg3vPLNTidbsIBoBHB3yTIIrPNLPUOkYliTQcFGh0jM00V0jA== 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=zKtM2+uDe32oGasrBZxOOoKchrt9wI6AkiWSVfkigHY=; b=B2yBIEvAzUULh72HKJZQbSFPqwZvECw+lLioPuhPIrnrftO5aFOWqqF1DSDzIvSVTsElhIRur0x5cHDpdEcLzu3VB9//2XSqmwJf/TqXa7VDUdoJuaDLzT9Z9x7qordNg1Ln0S59KRfykCXu5V/4WoNcuU5BdEKjKAGlOSGBF8CRSXA5AJZt+I7AQT5LLCKdIslM2ZbzJirqqe26OW0lAfNKICzd48mqNkwGAskDKLNryrW3bVAnwBrvpizASTpdlw7J7xwpUHk9aGvWUYjNiXI8i9VEmDPS5aQmSNu4UXjqjxvCyDNzFSAHBSuERaMjJIESSAe9YdT6n8urSke6SQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=zKtM2+uDe32oGasrBZxOOoKchrt9wI6AkiWSVfkigHY=; b=TmHd73cZ4o/N1BNae19uz9JV6tn9dyBW6jXvm8HWf3f4CaaTQD5cOZDuKmpOxikY7zSP4PXR8GEM3OErKFwha8/de0KM3ceiSGigMWiJOXdIcCwAvCMkShjBn1D5aGDaitFnzt5wIgtVvyn00QosDGCb4OsT1RoUpfI1n2or3so= Received: from SJ0PR10MB4688.namprd10.prod.outlook.com (2603:10b6:a03:2db::24) by BYAPR10MB3669.namprd10.prod.outlook.com (2603:10b6:a03:119::31) 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 23:42:31 +0000 Received: from SJ0PR10MB4688.namprd10.prod.outlook.com ([fe80::50bf:7319:321c:96c9]) by SJ0PR10MB4688.namprd10.prod.outlook.com ([fe80::50bf:7319:321c:96c9%4]) with mapi id 15.20.3999.032; Mon, 5 Apr 2021 23:42:31 +0000 From: Chuck Lever III To: Jason Gunthorpe CC: Christoph Hellwig , Leon Romanovsky , Doug Ledford , Leon Romanovsky , Adit Ranadive , Anna Schumaker , Ariel Elior , Avihai Horon , Bart Van Assche , Bernard Metzler , "David S. Miller" , Dennis Dalessandro , Devesh Sharma , Faisal Latif , Jack Wang , Jakub Kicinski , Bruce Fields , Jens Axboe , Karsten Graul , Keith Busch , Lijun Ou , CIFS , LKML , Linux NFS Mailing List , "linux-nvme@lists.infradead.org" , linux-rdma , "linux-s390@vger.kernel.org" , Max Gurtovoy , Max Gurtovoy , "Md. Haris Iqbal" , Michael Guralnik , Michal Kalderon , Mike Marciniszyn , Naresh Kumar PBS , Linux-Net , 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 Thread-Topic: [PATCH rdma-next 00/10] Enable relaxed ordering for ULPs Thread-Index: AQHXKdvtaH6rA5oohECEHiKcvcnWG6ql7vqAgABr9oCAADwHAA== Date: Mon, 5 Apr 2021 23:42:31 +0000 Message-ID: References: <20210405052404.213889-1-leon@kernel.org> <20210405134115.GA22346@lst.de> <20210405200739.GB7405@nvidia.com> In-Reply-To: <20210405200739.GB7405@nvidia.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: nvidia.com; dkim=none (message not signed) header.d=none;nvidia.com; dmarc=none action=none header.from=oracle.com; x-originating-ip: [68.61.232.219] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: f0c56502-f0b5-4421-9459-08d8f88c7ac9 x-ms-traffictypediagnostic: BYAPR10MB3669: 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: 1P4/L1/ZJNVYsq3zoAQHsRP9UvupmZIfHQY+XnQnH5lv82rLLrpSzQeYH/12YKh6Ea1h23o0jB54TUuJW6z0y12ZyqjP9IwsB0hPS1pg9jHhRz31BDNAhm5wbXnizfOsFPmmd6QkjBYak5tKAOEU2OkVOGu71kVM9zMGUnX1zfVuRipXVO3jWjZUS8y9o1wgULZbv+ziayhlEjYV4FI5Q0//tYXalrI1JjwCZtaeqFiUj4vEdqK4FgldCtXopVZqrewNvQGeoUZUvAhffBucqw3C7w9nBKt4F3PvUQjqnIYw57NFPh0tRZxnPFeu7a1Icusb434uEzIMGEpHnb4gX+JIiT3xKX5nQHtu9GWMFY4jA1bNMH2QnAgqGdxCfl+2FvOdvN/gROdSRpV1BCxyPUQDNa4IJ/45i8TClvjnRTCdKWq2ScYhOW0V4i4WNtea6cu7lDpFJXME6HnDf9nz113NaHjJYGX/c+vhtwMVfzwu7MrhpjQydY6ggpzPtJbS/3Ho6ZI4ckkOONRsfwLXCa+11s7DUuKlsM+rwOAWLreYXBfuO2Fr6UulB7CKdsV30ohAa2Rst0rJ7W6/VZxGAHkyOeihc6LppT+19IHNaCxiEP3sKX4fHO4/PVuzpKa5yxG8Ro49YCqPgzduel5QHETYWnlu2x+Wv9sdEKWplGnqLRH0tsp82vQRKotgl9O2 x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SJ0PR10MB4688.namprd10.prod.outlook.com;PTR:;CAT:NONE;SFS:(376002)(396003)(136003)(346002)(366004)(39860400002)(64756008)(66446008)(4326008)(6486002)(66476007)(38100700001)(8676002)(2906002)(66946007)(2616005)(66556008)(26005)(6916009)(33656002)(91956017)(8936002)(53546011)(6506007)(83380400001)(7416002)(7406005)(6512007)(478600001)(36756003)(186003)(54906003)(86362001)(76116006)(71200400001)(5660300002)(316002)(45980500001);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?fU1731iuF5s3ZfAXU2eFrlz5VWawkbELDW24dAvCcoetlZ//NsdiLAW6Y1Gf?= =?us-ascii?Q?jwHFlUZir0fVOfxeASJmoRWbdkrqA2l5fGDOKJYx3nIop6jZOjgxUdCwQoAk?= =?us-ascii?Q?VGhDK2Bdtn36a/uO2szgA48BPHez7fhfFI6Gh7T45eo75uMd6Y6kLGRx8636?= =?us-ascii?Q?OVbmE/U/H6bJiDtS5wTiALUS7ZmiEQ2A84XnhbCFb8PvYsVU13X+7+rSJ+Px?= =?us-ascii?Q?Ysf/6T4jLe63J35INSfGTrr5eQAhprYEFBnjMzcOELD7J4OUPHb7yaPLdJLu?= =?us-ascii?Q?pPnjH9HqsX+b+2RQSQ/FFUJHDxeFikinzf3PUSDInYvJB+A6Trd5K3eAeoH/?= =?us-ascii?Q?CtNR7hRuUkaiV8MOhoKp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ascii?Q?LxY+TVOKF07nJxA5DDhBLpP8mqx3Krcz644M+z47TV9DI1EYqbXgBolZq4YW?= =?us-ascii?Q?bJdvBDKv1dUkInkFAa2OQXL6?= Content-Type: text/plain; charset="us-ascii" Content-ID: <69878C021114F24EA5FA2F46F9DA0365@namprd10.prod.outlook.com> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SJ0PR10MB4688.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: f0c56502-f0b5-4421-9459-08d8f88c7ac9 X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Apr 2021 23:42:31.0921 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 25Gc+/aJACeCR+j9+mbqW0oTfQ1ncSEcbZ51VcLeEjMTOLkowk6VKD2PH0Q2km4W7lXFaZQGezA3lquPEFkUrA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR10MB3669 X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=9945 signatures=668683 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 adultscore=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 mlxscore=0 spamscore=0 mlxlogscore=999 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2104030000 definitions=main-2104050158 X-Proofpoint-GUID: sIuYRWDDGEAZZQlar9MnLoK_g2T-7nP9 X-Proofpoint-ORIG-GUID: sIuYRWDDGEAZZQlar9MnLoK_g2T-7nP9 X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=9945 signatures=668683 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 clxscore=1011 suspectscore=0 impostorscore=0 malwarescore=0 priorityscore=1501 spamscore=0 mlxscore=0 bulkscore=0 lowpriorityscore=0 adultscore=0 phishscore=0 mlxlogscore=999 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2104030000 definitions=main-2104050158 Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org > On Apr 5, 2021, at 4:07 PM, Jason Gunthorpe wrote: >=20 > 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 >>>=20 >>>> From Avihai, >>>=20 >>> Relaxed Ordering is a PCIe mechanism that relaxes the strict ordering >>> imposed on PCI transactions, and thus, can improve performance. >>>=20 >>> Until now, relaxed ordering could be set only by user space application= s >>> for user MRs. The following patch series enables relaxed ordering for t= he >>> kernel ULPs as well. Relaxed ordering is an optional capability, and as >>> such, it is ignored by vendors that don't support it. >>>=20 >>> 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: >>=20 >> Isn't the Nvidia A100 a GPU not actually supported by Linux at all? >> What does that have to do with storage protocols? >=20 > 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. We need to get a better idea what correctness testing has been done, and whether positive correctness testing results can be replicated on a variety of platforms. I have an old Haswell dual-socket system in my lab, but otherwise I'm not sure I have a platform that would be interesting for such a test. > 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. -- Chuck Lever