2023年1月9日 星期一

Using iperf3 to test uload and download

Server side
iperf3 -s

Client side
iperf3 -c server_host -b 10M -t 60 -P 5 # Test upload
iperf3 -c server_host -b 10M -t 60 -P 5 -R # Test download
頻寬 10M,測試時間 60 秒,使用 5 個平行連線
iperf3 只能一個 Client 對一個 Server
若要多個 Client 對同一台 Server,Server 端需執行多個 iperf3 用不同的 Port 切開

沒有留言:

Download test of any file size

1GB 以內任意大小測試檔案下載服務 1MB ~ 1024MB (1GB) 檔案內容是隨機產生的,某些測試情境可能會有用處 https://pank.org/testfile/1mb.bin 檔名可以是 1mb.bin 到 1024mb.bin,後面的 mb.bin 是固定的