PowerScale:搭配 OneFS 使用 iperf3

Summary: 使用 iperf 測試從用戶端到 OneFS 叢集的頻寬。

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Instructions

這個 iperf3 程式會在不使用通訊協定層的情況下,測試從用戶端到伺服器的原始網路輸送量。這可讓您建立粗略的基準,瞭解網路上原始流量的樣貌。

注意:iperf3 會向您顯示可用的頻寬。如果有其他流量正在執行,則不會考慮此其他流量。

在 40G 或 100G 測試主機上達到線性速率通常需要平行串流。但是,使用 iperf3 並不像新增 -P 旗標簡單,因為每個 iperf3 程序都是單一執行緒,包括該 iperf 程序用於平行測試的所有串流。這表示一個測試的所有平行串流都使用相同的 CPU 核心。如果您受到核心限制 (40G 主機通常如此,100G 主機通常也是這種情況),新增平行串流將沒有幫助,除非您透過新增額外的 iperf3 程序來執行此操作,因為這些程序會使用額外的核心。

若要執行多個 iperf3 程序,並使用額外的 CPU 核心來測試高速主機,請執行下列步驟:

執行以下命令以啟動多個伺服器: 
iperf3 -s -p 5101 &; iperf3 -s -p 5102 &; iperf3 -s -p 5103 &
使用 -T 旗標來標示輸出,然後執行多個用戶端:
iperf3 -c hostname -T s1 -p 5101 &;  
iperf3 -c hostname -T s2 -p 5102 &; 
iperf3 -c hostname -T s3 -p 5103 &
有對用戶端 NIC 參數小幅調整的 Windows 用戶端 OneFS,可預期從用戶端到叢集獲得的結果維持一致在約 38Gbe/s 左右,有 8 個平行串流。這是執行有 8 個執行緒的 iperf3 的範例,這是您想要用於 40G 網路測試的功能。

如果您想要在用戶端輸出中取得伺服器結果,請使用 --get-server-output 選項,如下所示:
$ iperf3 -c 192.168.188.11 -P 8 -t 600 --get-server-output
此範例會連線至主機 192.168.188.11、連接埠 5201、8 個串流,並執行 5 分鐘。
PS C:\tmp> iperf3 -c 192.168.188.11 -P 8 -t 600

[  4] local 192.168.188.57 port 60221 connected to 192.168.188.11 port 5201
[  6] local 192.168.188.57 port 60227 connected to 192.168.188.11 port 5201
[  8] local 192.168.188.57 port 60228 connected to 192.168.188.11 port 5201
[ 10] local 192.168.188.57 port 60229 connected to 192.168.188.11 port 5201
[ 12] local 192.168.188.57 port 60230 connected to 192.168.188.11 port 5201
[ 14] local 192.168.188.57 port 60231 connected to 192.168.188.11 port 5201
[ 16] local 192.168.188.57 port 60232 connected to 192.168.188.11 port 5201
[ 18] local 192.168.188.57 port 60233 connected to 192.168.188.11 port 5201
[ ID] Interval           Transfer     Bandwidth
[  4]   0.00-1.00   sec   444 MBytes  3.73 Gbits/sec
[  6]   0.00-1.00   sec   896 MBytes  7.51 Gbits/sec
[  8]   0.00-1.00   sec   440 MBytes  3.69 Gbits/sec
[ 10]   0.00-1.00   sec   572 MBytes  4.79 Gbits/sec
[ 12]   0.00-1.00   sec   432 MBytes  3.62 Gbits/sec
[ 14]   0.00-1.00   sec   559 MBytes  4.69 Gbits/sec
[ 16]   0.00-1.00   sec   543 MBytes  4.55 Gbits/sec
[ 18]   0.00-1.00   sec   422 MBytes  3.54 Gbits/sec
[SUM]   0.00-1.00   sec  4.21 GBytes  36.1 Gbits/sec
比較 iperf3 測試的值平均值與下方「平均介面值」表格中的值。此表顯示您可以預期從各種介面類型取得的平均輸送量。
注意:這些值並非絕對值;其應作為指南使用。
  • 如果您的輸送量結果遠比表格中所列的輸送量慢,問題可能與您的實體網路有關。
  • 如果您的輸送量結果與表格中所列的輸送量大致相同,則問題可能與您的實體網路無關。
平均介面值
網路介面類型 平均輸送量
1 GbE 800 Mb/秒
10 GbE 3 Gb/秒 (MTU 1500
) 6 GB/秒 (MTU 9000)
1 GbE 匯總 (0.95 Gb/秒) x (介面數量)
10 GbE 匯總 6 Gb/秒

Affected Products

PowerScale OneFS
Article Properties
Article Number: 000188735
Article Type: How To
Last Modified: 23 Oct 2025
Version:  8
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.