From ccf295971638fb4f81c7f71aaca5731139a4b7ca Mon Sep 17 00:00:00 2001 From: Brian Buchanan Date: Wed, 3 Feb 2021 10:04:12 -0500 Subject: [PATCH] Test-RDMA update parameters to diskspd Updated parameters to invocation of diskspd to more thoroughly test RDMA network performance. New parameters -b1M -c2M -d30 -ft -L -o32 -r -Sr -t8 -w0 -b1M Block size in MiB -c2M File size in MiB -d30 Duration in seconds, not including cool-down or warm-up time -ft Open file with FILE_ATTRIBUTE_TEMPORARY access hints -L Measure latency statistics -o32 Number of outstanding I/O requests per-target per-thread -r Random I/O -Sr Disable local caching for remote file systems. This leaves the remote system's cache enabled. -t8 Number of threads per target -w0 Percentage of write requests to issue References: https://unhandled.wordpress.com/2016/07/20/madness-testing-smb-direct-network-throughput-with-diskspd/ --- Diagnostics/Test-Rdma.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Diagnostics/Test-Rdma.ps1 b/Diagnostics/Test-Rdma.ps1 index b8a3fead..fc3d7fe5 100644 --- a/Diagnostics/Test-Rdma.ps1 +++ b/Diagnostics/Test-Rdma.ps1 @@ -280,7 +280,7 @@ if ($OutputLevel -eq 2) $ScriptBlock = { param($RemoteIpAddress, $PathToDiskspd, $TargetFileName) cd $PathToDiskspd - .\diskspd.exe -b4K -c10G -t4 -o16 -d100000 -L -Sr -d30 $TargetFileName + .\diskspd.exe -b1M -c2M -d30 -ft -L -o32 -r -Sr -t8 -w0 $TargetFileName } $thisJob = Start-Job $ScriptBlock -ArgumentList $RemoteIpAddress,$PathToDiskspd,$TargetFileName @@ -341,4 +341,4 @@ else Write-Host "ERROR: RDMA traffic test FAILED: Please check " -ForegroundColor Yellow Write-Host "ERROR: a) physical switch port configuration for Priorty Flow Control." -ForegroundColor Yellow Write-Host "ERROR: b) job owner has write permission at " $RemoteIpAddress "\C$" -ForegroundColor Yellow -} \ No newline at end of file +}