Menu

UDT slower than TCP @ upload to AWS

wqyuwss
2016-06-09
2020-09-30
  • wqyuwss

    wqyuwss - 2016-06-09

    Dear all,

    I'm comparing file uploading perfomrance btw TCP and UDT. Here is bandwidth result using iperf3. It is strange that seems like raw UDP bandwidth is smaller than TCP.

    Then I use nginx + webdav to upload one 40MB file from my laptop, and repeated 5 times. The result is: 64.065 sec, 58.149 sec, 62.136 sec, 56.295 sec, 58.653 sec. But UDT result is: 81.439 sec, 80.147 sec, 88.868 sec, 96.652 sec, 78.403 sec. I remember one post said window size need to be changed to get better performance. Can anyone tell me where I should change to which value?


    Server listening on 5201

    Accepted connection from 76.21.121.83, port 47531 ---> TCP connection
    [ 5] local 172.31.38.78 port 5201 connected to 76.21.121.83 port 35480
    [ ID] Interval Transfer Bandwidth
    [ 5] 0.00-1.00 sec 665 KBytes 5.44 Mbits/sec
    [ 5] 1.00-2.00 sec 728 KBytes 5.97 Mbits/sec
    [ 5] 2.00-3.00 sec 724 KBytes 5.93 Mbits/sec
    [ 5] 3.00-4.00 sec 728 KBytes 5.97 Mbits/sec
    [ 5] 4.00-5.00 sec 727 KBytes 5.95 Mbits/sec
    [ 5] 5.00-6.00 sec 725 KBytes 5.94 Mbits/sec
    [ 5] 6.00-7.00 sec 728 KBytes 5.97 Mbits/sec
    [ 5] 7.00-8.00 sec 730 KBytes 5.98 Mbits/sec
    [ 5] 8.00-9.00 sec 725 KBytes 5.94 Mbits/sec
    [ 5] 9.00-10.00 sec 730 KBytes 5.98 Mbits/sec
    [ 5] 10.00-10.04 sec 25.5 KBytes 5.39 Mbits/sec


    [ ID] Interval Transfer Bandwidth Retr
    [ 5] 0.00-10.04 sec 7.54 MBytes 6.30 Mbits/sec 0 sender
    [ 5] 0.00-10.04 sec 7.07 MBytes 5.90 Mbits/sec receiver


    Server listening on 5201

    Accepted connection from 76.21.121.83, port 42344 --> UDP connection
    [ 5] local 172.31.38.78 port 5201 connected to 76.21.121.83 port 40338
    [ ID] Interval Transfer Bandwidth Jitter Lost/Total Datagrams
    [ 5] 0.00-1.00 sec 120 KBytes 983 Kbits/sec 18.244 ms 0/15 (0%)
    [ 5] 1.00-2.00 sec 128 KBytes 1.05 Mbits/sec 7.101 ms 0/16 (0%)
    [ 5] 2.00-3.00 sec 128 KBytes 1.05 Mbits/sec 3.949 ms 0/16 (0%)
    [ 5] 3.00-4.00 sec 128 KBytes 1.05 Mbits/sec 2.192 ms 0/16 (0%)
    [ 5] 4.00-5.00 sec 128 KBytes 1.05 Mbits/sec 1.819 ms 0/16 (0%)
    [ 5] 5.00-6.00 sec 128 KBytes 1.05 Mbits/sec 1.575 ms 0/16 (0%)
    [ 5] 6.00-7.00 sec 128 KBytes 1.05 Mbits/sec 1.142 ms 0/16 (0%)
    [ 5] 7.00-8.00 sec 128 KBytes 1.05 Mbits/sec 1.261 ms 0/16 (0%)
    [ 5] 8.00-9.00 sec 120 KBytes 983 Kbits/sec 1.989 ms 1/16 (6.2%)
    [ 5] 9.00-10.00 sec 128 KBytes 1.05 Mbits/sec 1.486 ms 0/16 (0%)
    [ 5] 10.00-10.04 sec 0.00 Bytes 0.00 bits/sec 1.486 ms 0/0 (-nan%)


    [ ID] Interval Transfer Bandwidth Jitter Lost/Total Datagrams
    [ 5] 0.00-10.04 sec 1.24 MBytes 1.04 Mbits/sec 1.486 ms 1/159 (0.63%)

     
  • Medusa

    Medusa - 2020-09-30

    were you able to fix the slow speed issue?

     

Log in to post a comment.