Re: how to increase through put of LAN to 1GB
2012/6/22 Muhammad Yousuf Khan <sirtcp@gmail.com>:
> root@nasbox:/# iperf -c 10.X.X.7 -r -u -b 1024M
> ------------------------------------------------------------
> 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 59300 connected with 10.X.X.7 port 5001
> [ ID] Interval Transfer Bandwidth
> [ 4] 0.0-10.0 sec 777 MBytes 652 Mbits/sec
> [ 4] Sent 554058 datagrams
> [ 4] Server Report:
> [ 4] 0.0-10.0 sec 773 MBytes 648 Mbits/sec 0.057 ms 2895/554057 (0.52%)
> [ 4] 0.0-10.0 sec 1 datagrams received out-of-order
> [ 3] local 10.X.X.15 port 5001 connected with 10.X.X.7 port 40630
> [ 3] 0.0-10.0 sec 585 MBytes 490 Mbits/sec 0.053 ms 393567/810629 (49%)
> [ 3] 0.0-10.0 sec 1 datagrams received out-of-order
>
>
> 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 59300
> [ ID] Interval Transfer Bandwidth Jitter Lost/Total Datagrams
> [ 3] 0.0-10.0 sec 773 MBytes 648 Mbits/sec 0.058 ms 2895/554057 (0.52%)
> [ 3] 0.0-10.0 sec 1 datagrams received out-of-order
> ------------------------------------------------------------
> 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 40630 connected with 10.X.X.15 port 5001
> [ 3] 0.0-10.0 sec 1.11 GBytes 953 Mbits/sec
> [ 3] Sent 810631 datagrams
> [ 3] Server Report:
> [ 3] 0.0-10.0 sec 585 MBytes 490 Mbits/sec 0.053 ms 393567/810629 (49%)
> [ 3] 0.0-10.0 sec 1 datagrams received out-of-order
So you can get about 700Mbps of TCP traffic and ideally 953Mbit of UDP
traffic. Try tuning your server-client applications and those sysctl
parameters which I posted you in my first reply.
Regards,
--
Bartek Krawczyk
Reply to: