Re: how to increase through put of LAN to 1GB
2012/6/22 Muhammad Yousuf Khan <sirtcp@gmail.com>:
>> Try using -u or f.i. -w 2M with TCP.
>> But your results are quite good already.
>
> UDP only
>
> root@nasbox:/# iperf -c 10.X.X.7 -u -r
> ------------------------------------------------------------
> Server listening on UDP port 5001
> Receiving 1470 byte datagrams
> UDP buffer size: 110 KByte (default)
> ------------------------------------------------------------
> ------------------------------------------------------------
> Client connecting to 10.X.X.7, UDP port 5001
> Sending 1470 byte datagrams
> UDP buffer size: 110 KByte (default)
> ------------------------------------------------------------
> [ 4] local 10.X.X.15 port 34677 connected with 10.X.X.7 port 5001
> [ ID] Interval Transfer Bandwidth
> [ 4] 0.0-10.0 sec 1.25 MBytes 1.05 Mbits/sec
> [ 4] Sent 893 datagrams
> [ 4] Server Report:
> [ 4] 0.0-10.0 sec 1.25 MBytes 1.05 Mbits/sec 0.028 ms 0/ 893 (0%)
> [ 3] local 10.X.X.15 port 5001 connected with 10.X.X.7 port 44331
> [ 3] 0.0-10.0 sec 1.25 MBytes 1.05 Mbits/sec 0.002 ms 0/ 893 (0%)
>
>
>
> lion:/mnt/vmbk# iperf -s -u
> ------------------------------------------------------------
> Server listening on UDP port 5001
> Receiving 1470 byte datagrams
> UDP buffer size: 130 KByte (default)
> ------------------------------------------------------------
> [ 3] local 10.X.X.7 port 5001 connected with 10.X.X.15 port 34677
> [ ID] Interval Transfer Bandwidth Jitter Lost/Total Datagrams
> [ 3] 0.0-10.0 sec 1.25 MBytes 1.05 Mbits/sec 0.028 ms 0/ 893 (0%)
> ------------------------------------------------------------
> Client connecting to 10.X.X.15, UDP port 5001
> Sending 1470 byte datagrams
> UDP buffer size: 130 KByte (default)
> ------------------------------------------------------------
> [ 3] local 10.X.X.7 port 44331 connected with 10.X.X.15 port 5001
> [ 3] 0.0-10.0 sec 1.25 MBytes 1.05 Mbits/sec
> [ 3] Sent 893 datagrams
> [ 3] Server Report:
> [ 3] 0.0-10.0 sec 1.25 MBytes 1.05 Mbits/sec 0.001 ms 0/ 893 (0%)
>
Use -b 1024M with -u. Forgot about that.
--
Bartek Krawczyk
Reply to: