-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Does ksmbd
's SMB Direct compatiable with Windows Server's SMB-Direct?
#466
Comments
ksmbd supports smb-direct. Did you find any problems after running it? |
If I may: I also am trying to get smb-direct working between a linux server and windows 11 Pro for Workstation client. So far, not sucessfully. Tried first with Proxmox 8.2.2, then with Debian 12.7 and currently with Ubuntu 24.10 on the "server-side". More details of current linux install: Windows box: What else? My ksmbd.conf (quick & dirty share with guest write access): ; see ksmbd.conf(5) for details [global]
[example] root@ubuntu:/# grep RDMA /boot/config-6.11.0-9-generic root@ubuntu:/# ibv_devices root@ubuntu:/# ibv_devinfo hca_id: rocep33s0f1 root@ubuntu:/# How did I check whether RDMA works: when it's working properly between Windows Client and Windows Server, the taskmanager on the client (and the server) does not show any utilisation of the relevant ethernet device. I achieved that so hardware works. rping on linux against nd_rping on windows works in both directions: dmesg-logging: With previous installs (debian / proxmox) I also tinkered around with Mellanox drivers, ib_send_bw (does work both on linux and windows machine - when one acts both as client and server, but not BETWEEN windows and linux). I am not an linux expert but happy to follow instructions for further testing, outputs etc. (not really familiar with debugging, logging etc.). Whatever you need. |
@besterino I don't have your setup and same HW. If you could provide me the same setup and HW, I could fix the problem more faster, but not everyone does that. I have checked smb-direct of ksmbd with ConnectX-3 NIC. |
This is interesting. We have a user stating that RDMA connectivity from Windows -> Linux isn't working. Let me be up front and say I have this working. In fact, today I was updating a kernel and realized I had lost my RDMA support. I just got it back, so I believe I can help @besterino with this issue. Let me describe my setup: Linux Virtual Machine
Windows desktop
Here is what you need to get a Windows host speaking RDMA to a Linux server:
Building into kernel won't work for some reason. It has the be the module. This is what caused my loss of functionality.
Check your Linux server @besterino . I see you were using proxmox, but ksmbd can operate on TCP/IP stack and not use RDMA. In fact, this is how I have my current share setup when I need to access my share from the Mac side. First confirm kernel support and then report back. You may need a rebuild. You can use the following Windows command to ensure you are connected via SMB Direct:
|
Windows 10 Pro Workstation and Windows Server 2022 provide a feature named SMB Direct which can leverage RDMA technology to speed up network file I/O.
ksbmd
has implemented SMB-Direct. I wonder to know its compatibility with Windows client.The text was updated successfully, but these errors were encountered: