Re: [PATCH v2 0/6] Reduce SMBDirect RDMA SGE counts and sizes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 9/24/2022 11:45 PM, Namjae Jeon wrote:
2022-09-24 6:53 GMT+09:00, Tom Talpey <tom@xxxxxxxxxx>:
Allocate fewer SGEs and standard packet sizes in both kernel SMBDirect
implementations.

The current maximum values (16 SGEs and 8192 bytes) cause failures on the
SoftiWARP provider, and are suboptimal on others. Reduce these to 6 and
1364. Additionally, recode smbd_send() to work with as few as 2 SGEs,
and for debug sanity, reformat client-side logging to more clearly show
addresses, lengths and flags in the appropriate base.

Tested over SoftiWARP and SoftRoCE with shell, Connectathon basic and
general.

v2: correct an uninitialized value issue found by Coverity

Tom Talpey (6):
   Decrease the number of SMB3 smbdirect client SGEs
   Decrease the number of SMB3 smbdirect server SGEs
   Reduce client smbdirect max receive segment size
   Reduce server smbdirect max send/receive segment sizes
   Handle variable number of SGEs in client smbdirect send.
   Fix formatting of client smbdirect RDMA logging
You are missing adding prefix(cifs or ksmbd:) to each patch.

Ok, sure I'll add those.

Tom.



  fs/cifs/smbdirect.c       | 227 ++++++++++++++++----------------------
  fs/cifs/smbdirect.h       |  14 ++-
  fs/ksmbd/transport_rdma.c |   6 +-
  3 files changed, 109 insertions(+), 138 deletions(-)

--
2.34.1






[Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux