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 kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 34333D3C559 for ; Fri, 18 Oct 2024 07:27:00 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 9E81E6B0085; Fri, 18 Oct 2024 03:26:59 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 995C56B0089; Fri, 18 Oct 2024 03:26:59 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 838606B00A7; Fri, 18 Oct 2024 03:26:59 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0016.hostedemail.com [216.40.44.16]) by kanga.kvack.org (Postfix) with ESMTP id 64F2A6B0085 for ; Fri, 18 Oct 2024 03:26:59 -0400 (EDT) Received: from smtpin10.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay06.hostedemail.com (Postfix) with ESMTP id 79743AC333 for ; Fri, 18 Oct 2024 07:26:35 +0000 (UTC) X-FDA: 82685891022.10.366E078 Received: from out-179.mta0.migadu.com (out-179.mta0.migadu.com [91.218.175.179]) by imf20.hostedemail.com (Postfix) with ESMTP id DEC421C0008 for ; Fri, 18 Oct 2024 07:26:43 +0000 (UTC) Authentication-Results: imf20.hostedemail.com; dkim=pass header.d=linux.dev header.s=key1 header.b=fQLOosMG; dmarc=pass (policy=none) header.from=linux.dev; spf=pass (imf20.hostedemail.com: domain of yanjun.zhu@linux.dev designates 91.218.175.179 as permitted sender) smtp.mailfrom=yanjun.zhu@linux.dev ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1729236298; a=rsa-sha256; cv=none; b=pTqj4sRgn1GKo+0HG0lXTigyZAqREUf5/889VvLFo8zdlDxp+SoZy+UPBDON7hOJwrvnsM UZj1qeXdvcT1i6uHO58xBAkXsTYcVppIyPY1q3YxmfySFIGr9vpGOJcq5c7kUyif8VuJ9Y x661Q7Z2e0p6dxwh1K14dQ+XIS5404g= ARC-Authentication-Results: i=1; imf20.hostedemail.com; dkim=pass header.d=linux.dev header.s=key1 header.b=fQLOosMG; dmarc=pass (policy=none) header.from=linux.dev; spf=pass (imf20.hostedemail.com: domain of yanjun.zhu@linux.dev designates 91.218.175.179 as permitted sender) smtp.mailfrom=yanjun.zhu@linux.dev ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1729236298; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=/KFpx6VixP9yy4xxFaQWd//8YairifxkNNvdJP3idU4=; b=txE4VvmsuAOGkemkv2Co/go0RmcidhdhPg9DXneyq5caMpNboTVfC5G+j8SyBWgaNmGUjX wqWBOQP8tJHxMerqA+LWWuUkr0R1KRC32OZQvCqUJj5awVagyIP9QeK3uC2bV7okLlREvv R6qzT8mcovkgQeGYy2Xz+C6iB8cp6cQ= Message-ID: <5472cead-7965-47f5-9ee1-77d40062b897@linux.dev> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1729236414; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=/KFpx6VixP9yy4xxFaQWd//8YairifxkNNvdJP3idU4=; b=fQLOosMGk8sWYTwotPFATSnDYfULW8a0uCJnY30ZtcfNdCsMB5EATE3nlPA0a+C8iJY8es W/e5tK6eElVFajiqDZZAKZ4FmXKYVDdsRrCdUW8hdsfSZ3vuZ+Jo7n72a9QjCXEidgvLyI 3o9J+t3+AmK2JRJXLr9N8F6P5mgjlRw= Date: Fri, 18 Oct 2024 09:26:50 +0200 MIME-Version: 1.0 Subject: Re: [PATCH v1 0/4] GPU Direct RDMA (P2P DMA) for Device Private Pages To: Yonatan Maman , Christoph Hellwig Cc: nouveau@lists.freedesktop.org, linux-kernel@vger.kernel.org, linux-rdma@vger.kernel.org, linux-mm@kvack.org, herbst@redhat.com, lyude@redhat.com, dakr@redhat.com, airlied@gmail.com, simona@ffwll.ch, jgg@ziepe.ca, leon@kernel.org, jglisse@redhat.com, akpm@linux-foundation.org, dri-devel@lists.freedesktop.org, apopple@nvidia.com, bskeggs@nvidia.com References: <20241015152348.3055360-1-ymaman@nvidia.com> <1a667504-72bd-445b-8bf8-a6604b7beb2b@nvidia.com> X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Zhu Yanjun In-Reply-To: <1a667504-72bd-445b-8bf8-a6604b7beb2b@nvidia.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT X-Rspamd-Server: rspam12 X-Rspamd-Queue-Id: DEC421C0008 X-Stat-Signature: 85jonymx19j5f386tihegamb8m3nknsg X-Rspam-User: X-HE-Tag: 1729236403-645051 X-HE-Meta: U2FsdGVkX19SIUfIEIpTtvVDwaYimv9XAM0XqHWshgS1dyolAgN7v1+MOyz5lhiSz0OIOi0+Tu90ZfVTf6y5JTNSmzlEXsQeIvVDJ+1fKjEqwIVisqaVq3BPTOSBKq8XZ2Zeyip+9ft6xw1qHQW5vRNNneLPzO3b5TXpAY5wLw+RSJt37U7uEHwrqtUA2UmNoqJu5OIaRTOrCnLPHK6dYqXmJ5/BHkr4t+tMbgb4AtFP280mQigmu4RG8DG7T7jcVpI0Ob2viXbIIHdO3mbsXh9+N9SIxZCM19kSUyqHtaguU3iLvHz+WTQIoSJ2kQZRyjUqAWIfXNdblw5gfp2VoDYXkV/B53zCP8EZOYtBiw2N/9IZdkkgteJyUL5q5vEzzrizxtSQhOZ8LxrujUyfv2swWt7H0i9zLUrAxVMs5OMNIh1usHeXZ8lwGND/sDxi+ahnXXFvRHKp4hSS9XmnQh4yCffBbC1NTXCLa5m3ypcwfecXuqcVKS6SScyvESWQZaUUrgTJVhoEReJbVcxfeMAfq9itJf0Q7CJesPLLSfFm9R5a+IT3vmUe3lQc6uRlVgPTzEznTWepzOa/2zXdyhSvDkKbOxyuN8zPb7cG4ZGrZE9RTyj7651TtWT7eCSfLcrfMZDsvP/404nlxspMQrw0KHLJ3sfRPxOySbd5J6lf8qmojb8etCRuYsXhgvgJjcOxt6vpOHP6gNDmmuQc0R75G3PUP0P78GrhhAsIhdhDo/evyhVlDqHTcn8psqSohtOVky8fnkR0rUsHP4PY5/hXZ29/9J8DHhzJtD+i1+q8UpwRx+9ZB27PYOvSnFl+7vGRPRvgnQ3+3Wg+GDjxM8s0JVVIAvAIKVRXfIgW5nkXR92tw636Ch0+bXfEwUHb5Q9ldzQlUK7yLA8md+x7ypWc05IH7t4t3kzxHxxYcn9dfDMNaN3PI6oiX5Rz2DuSV2M7JcAo4Y673eGhDmO V7yc8fmG YKiEYx2NOaBoQjejAc/tlxVhqNeEYhSddoeLOKySFmikE4RsuZEx1smoRK8q/VfQmEQIM61r5ByeJ61RIVHEonMcWW0jgTAYFAdlFrE4QkLGHFFDRdJ+zTj8aZIqOtUNALw+UYTmJoD9euGBKargE720SlgoZrUF2GU56ZN0oR45lYSwM7Kt/okW30lsqxLxQPcBlhD93x4LoEUIFxd3d1QNWBP2hQXF/VixhJWEp0OfK94P6wK/xO9QOSygyDqa4GMSyCO4jDlWzCeFm8bX2x7l/K2tjGCmuSIF35lf79f83XMdJtmFlV6h04A== X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: List-Subscribe: List-Unsubscribe: 在 2024/10/16 17:16, Yonatan Maman 写道: > > > On 16/10/2024 7:23, Christoph Hellwig wrote: >> On Tue, Oct 15, 2024 at 06:23:44PM +0300, Yonatan Maman wrote: >>> From: Yonatan Maman >>> >>> This patch series aims to enable Peer-to-Peer (P2P) DMA access in >>> GPU-centric applications that utilize RDMA and private device pages. >>> This >>> enhancement is crucial for minimizing data transfer overhead by allowing >>> the GPU to directly expose device private page data to devices such as >>> NICs, eliminating the need to traverse system RAM, which is the native >>> method for exposing device private page data. >> >> Please tone down your marketing language and explain your factual >> changes.  If you make performance claims back them by numbers. >> > > Got it, thanks! I'll fix that. Regarding performance, we’re achieving > over 10x higher bandwidth and 10x lower latency using perftest-rdma, > especially (with a high rate of GPU memory access). If I got this patch series correctly, this is based on ODP (On Demand Paging). And a way also exists which is based on non-ODP. From the following links, this way is implemented on efa, irdma and mlx5. 1. iRDMA https://lore.kernel.org/all/20230217011425.498847-1-yanjun.zhu@intel.com/ 2. efa https://lore.kernel.org/lkml/20211007114018.GD2688930@ziepe.ca/t/ 3. mlx5 https://lore.kernel.org/all/1608067636-98073-5-git-send-email-jianxin.xiong@intel.com/ Because these 2 methods are both implemented on mlx5, have you compared the test results with the 2 methods on mlx5? The most important results should be latency and bandwidth. Please let us know the test results. Thanks a lot. Zhu Yanjun