This post supplies references to Windows SMB performance testing and tuning.
This post meant for IT managers who wish to test SMB over RoCE/RDMA.
- HowTo Configure RoCE in Windows Environment (Global Pause)
- HowTo Configure SMB Direct (RoCE) over PFC on Windows 2012 Server
- HowTo Configure SMB Direct over IP networks (RoCEv2) on Windows 2012 Server
- Achieving 1.1M IOPs over SMB Direct
- Performance Tuning Guide for Windows Server 2012R2
- Windows Server 2012 R2 Storage: Step-by-step with Storage Spaces, SMB Scale-Out and Shared VHDX (Virtual)
- DiskSpd, PowerShell and storage performance: measuring IOPs, throughput and latency for both local disks and SMB file shares
- Testing Windows Server and the Scale-Out File Server – What should your lab look like?
Basic Performance Procedure
Using DiskSpd performance tool (refer to DiskSpd, PowerShell and storage performance: measuring IOPs, throughput and latency for both local disks and SMB file shares) :
Note: Run this procedure after setting up Network connectivity between two Windows 2012 Servers (ping should run from Mellanox adapters ports).
1. Download DiskSpd on the Windows Client https://gallery.technet.microsoft.com/DiskSpd-a-robust-storage-6cd2f223
2. Share disk C: (or any other folder) on the server:
Right click on disk C: -> Share With -> Advance sharing.
Click on share this folder. Click on Permissions and adjust the Permissions for Everyone:
3. Create a big file (e.g. c:\Server1\1.txt) on one server (e.g. 10GB)
# fsutil file createnew 1.txt 10000000000
4. Mount the Disk C on the server to the client host.
5. Run the command on the client (from the folder diskspd.exe is located)
#.\diskspd -d15 -F1 -w0 -r -b4k -o10 \\192.168.1.2\C\Server1\1.txt