Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp387633ybl; Tue, 7 Jan 2020 07:51:16 -0800 (PST) X-Google-Smtp-Source: APXvYqzrjTikllH9BkUdv+Bo5+YqtGMQanhWLyFv/uF+P88tNTWpu7pQf27sAanZ7nIbyjCWJJh7 X-Received: by 2002:a9d:6d8f:: with SMTP id x15mr408989otp.322.1578412275780; Tue, 07 Jan 2020 07:51:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578412275; cv=none; d=google.com; s=arc-20160816; b=G1V0zLqsgyNXFVcebbmdMotwmrUW46J86KDvPSqdN5HxytgkgwFioZxy/ZShVi+xet UxmpLrMEhBB0Kb51FAVz4EQCrmFBhr0BUnGpsgbVkWnNcgXcHYRCF4BUGt4cP8Wlly+u tSEZOJ7nNBw7jOueta1JQmRwkoDq4outH4t3xKWIWWZIhXl270aFTcsdp2WaTuy2Afhl 8lXRwRhwXIhOW8f3y5Fai9kWDYuh3kVuGReN4ov1PW/vCqC/CVb3FSMSWqeAej43ZLII YK+bVGQegXC+fqLs9BRnW1/tmqieoaLNc+Gc/+5+wy5okmHlsQzJEy2f1bR+gDIRt25u EG3w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=dM+tQu6OkciIx8Fh2z8Ykuqej0TW6fLMjStC1bJEE7I=; b=0Lle5miETCix5ybat6BU4C469wiiKe5eEUk6lO0rq/ulrKW9/wDvobZt+rtoauR6or MG87bzSE4POpKw9lB7tI1oovWuZISjp+MjMw6F2diPwpbS9TJ0lqcLApr+KhIxtoN7Ad kcBww3pKiYOeTkNwd+X8wWK1jTe+lMToCUjoENZi3zrgG6jDsoviFY3fa7wKQ6wSjjyY Jyhi6fz6UrYDWbheDxv1+mv1QiFWj7PLd33Rm9Ek8xLnpb1NKgrKQVAGmASnMX2sQ2Fa xcBcC2G+q67iWcSywTvE76+sa75WQm/vvy89lPGvnsW9tM4tGRiB4/LT2m2elF+4FoF0 Dfzw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cloud.ionos.com header.s=google header.b=gbdz0rmo; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k9si129129oih.157.2020.01.07.07.51.02; Tue, 07 Jan 2020 07:51:15 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@cloud.ionos.com header.s=google header.b=gbdz0rmo; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728052AbgAGPuF (ORCPT + 99 others); Tue, 7 Jan 2020 10:50:05 -0500 Received: from mail-il1-f193.google.com ([209.85.166.193]:38566 "EHLO mail-il1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727559AbgAGPuF (ORCPT ); Tue, 7 Jan 2020 10:50:05 -0500 Received: by mail-il1-f193.google.com with SMTP id f5so46081719ilq.5 for ; Tue, 07 Jan 2020 07:50:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cloud.ionos.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=dM+tQu6OkciIx8Fh2z8Ykuqej0TW6fLMjStC1bJEE7I=; b=gbdz0rmofSp363r0EzVMTy17sWDBslvGlYGctVZO81OyGq0IouxgVn5Lxh2+ABsLEa oMNNo9vvXeQQzj2xGg+AYuafuEFMsYmgC0VVs2vsNwV0cz1ufdlfWe+GWfH84y041Dye E+3sZLggrsV5Yw8+ORjIr0f1e9pZAlrbbNcmdRo/BsDUR+mYCBxcyzcgbtQGuJ5moBi5 4SfxzVUvkftqvavqluEo9nRnNNV+19rqxUHZDi9/1Xc2nweL+7H1UKoMhiA/ribVYlwj 7K+zgyxbPeWczDKOixusCrBfBB2N+g9rtSjakbAxi9CL1U40tj5L3azFw1XnyocmtKNq 7gpg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=dM+tQu6OkciIx8Fh2z8Ykuqej0TW6fLMjStC1bJEE7I=; b=hL4BMqz1whh3TK/aITcN515phXCwU5ixsg9imKZP0//dqIdRasm/h+INC5tUNRCoLJ 6Zx+ZKFGanmN5FbStUKKj7tfU2px7Ne9+BIz2C8Pq1fYsj1s8zQULK/IiaTGq1Ql4EbD xD1YMmiGpmV8YYUdwuykK7HLSaqOdxQ6YKWLmsboeiktkVx0bRWnLjiI4DkihGd4K6Ni HdflQtI35CLZh/oxm/FTzrIOI3tWwK/R6txG1qDAEc/DNrVcEn7Yu1q1XWvN7+bUwVYo 1CYw2KtUx/1DI7SlCo7RhPh/w0unpLplBCEHP6xUy0KnlEE02pR4ozg249Rx3CIBb3wV MDVg== X-Gm-Message-State: APjAAAU/ToPNkLgtcJh+6pQ74PFBN9ZnDVcsCbr/DJy5n2SFKImLNikF ILREaEqXN2+mlCCRrbNc/rKWrZOGgQsVAzcACVKOfw== X-Received: by 2002:a92:8d88:: with SMTP id w8mr93382387ill.71.1578412203147; Tue, 07 Jan 2020 07:50:03 -0800 (PST) MIME-Version: 1.0 References: <20191230102942.18395-1-jinpuwang@gmail.com> <20191230102942.18395-15-jinpuwang@gmail.com> In-Reply-To: From: Jinpu Wang Date: Tue, 7 Jan 2020 16:49:52 +0100 Message-ID: Subject: Re: [PATCH v6 14/25] rtrs: a bit of documentation To: Bart Van Assche Cc: Jack Wang , linux-block@vger.kernel.org, linux-rdma@vger.kernel.org, Jens Axboe , Christoph Hellwig , Sagi Grimberg , Leon Romanovsky , Doug Ledford , Danil Kipnis , rpenyaev@suse.de, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jan 2, 2020 at 11:21 PM Bart Van Assche wrote: > > On 12/30/19 2:29 AM, Jack Wang wrote: > > diff --git a/Documentation/ABI/testing/sysfs-class-rtrs-client b/Documentation/ABI/testing/sysfs-class-rtrs-client > > new file mode 100644 > > index 000000000000..8b219cf6c5c4 > > --- /dev/null > > +++ b/Documentation/ABI/testing/sysfs-class-rtrs-client > > @@ -0,0 +1,190 @@ > > +What: /sys/class/rtrs-client > > +Date: Jan 2020 > > +KernelVersion: 5.6 > > +Contact: Jack Wang Danil Kipnis > > +Description: > > +When a user of RTRS API creates a new session, a directory entry with > > +the name of that session is created under /sys/class/rtrs-client// > > Thank you for having included this ABI description. This is very > helpful. Please follow the format documented in Documentation/ABI/README > and make sure that all text, including the description, start in column > 17 and please use tabs for indentation. will fix. > > > diff --git a/drivers/infiniband/ulp/rtrs/README b/drivers/infiniband/ulp/rtrs/README > > new file mode 100644 > > index 000000000000..59ad60318a18 > > --- /dev/null > > +++ b/drivers/infiniband/ulp/rtrs/README > > @@ -0,0 +1,149 @@ > > +**************************** > > +InfiniBand Transport (RTRS) > > +**************************** > > + > > +RTRS (InfiniBand Transport) is a reliable high speed transport library > > +which provides support to establish optimal number of connections > > +between client and server machines using RDMA (InfiniBand, RoCE, iWarp) > > +transport. It is optimized to transfer (read/write) IO blocks. > > Is it explained somewhere how the optimal number of connections is > determined and also according to which metric the number of connections > is optimized? Is the number of connections chosen to minimize latency, > maximize IOPS or perhaps to optimize yet another metric? RTRS creates one connection per CPU, optimize for minimizing latency and maximizing IOPS, I would say. > > Thanks, > > Bart. Thanks Bart.