[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: how to increase through put of LAN to 1GB



On Fri, Jun 22, 2012 at 5:32 PM, Bartek Krawczyk
<bbartlomiej.mail@gmail.com> wrote:
> 2012/6/22 Muhammad Yousuf Khan <sirtcp@gmail.com>:
>>>[  3]  0.0-10.0 sec  1.11 GBytes    953 Mbits/sec
>>>[  3]  0.0-10.0 sec    585 MBytes    490 Mbits/sec  0.053 ms 393567/810629
>>
>> can you please explain what these two lines mean in the output.
>> i can understand the values but i can not understand it like what is
>> 1.11GBytes and what is 953 and etc.
>
> Those lines mean that your transfer wasn't stable (due to networking
> or your hardware). In the first lune you see that the test took 10s
> (0.0-10.0 sec) and iptraf transfered 1.11GBytes so it's 963Mbit/s. The
> second line is the same test but in the other way (due to "-r" option
> in iptraf). It can tell you that either one PC is sending the data way
> slower or the other is receiving it slower than the other one or maybe
> that just your network isn't just that stable to sustain 1gbps
> throughput for a longer time.
>
> To get more reliable results use -t 60 to test for 60 seconds and with
> -i you can change the reports interval i.e. to "1".
>

>net.core.rmem_max = 16777216
>net.core.wmem_max = 16777216
>net.ipv4.tcp_rmem = 4096 87380 16777216
>net.ipv4.tcp_wmem = 4096 65536 16777216
>net.ipv4.tcp_window_scaling = 1
>net.ipv4.tcp_timestamps = 1
>net.ipv4.tcp_sack = 1
>net.ipv4.tcp_rfc1337 = 1

ok i am pasting above lines in /etc/sysctl.conf  with out reading much
since i am testing, i'll read the details later. ill update you the
results shortly.

Thanks,

> --
> Bartek Krawczyk


Reply to: