[GTER] TCP e UDP

Aurelio aurerilo at yahoo.com.br
Thu Mar 9 16:55:23 -03 2006


Olá Fábio,
  existe. Normalmente as transferencias utilizando UDP tendem a ser mais rápidas ja que o protocolo não solicita confirmaćão de recebimento de pacotes.
 Se lembra do "three way handshake" para estabelecimento de conexoes TCP ? Pois é, nem disso o UDP precisa.

Fabio Fonseca <fonseca at brasilsite.com.br> escreveu: Boa tarde,
 
 
Estou testando minha rede ate a saída internet através de um software iperf
e o estranho q existe uma diferença grandiosa entre a transferência através
do TCP e UDP, meu link a internet é de 3 MB/s via radio.
Pergunto:
 
Existe diferença na transferência de pacotes entre TCP e UDP ?
 
 
 
 
 
C:\Documents and Settings\Elfo\Desktop\iperf-1.7.0-win32>iperf.exe -w 2048
-c XXX.XXX.XXX.XXX -t 10 -i 1
------------------------------------------------------------
Client connecting to XXX.XXX.XXX.XXX, TCP port 5001
TCP window size: 2.00 KByte
------------------------------------------------------------
[1912] local 192.168.0.144 port 2281 connected with XXX.XXX.XXX.XXX port
5001
[ ID] Interval       Transfer     Bandwidth
[1912]  0.0- 1.0 sec   424 KBytes  3.47 Mbits/sec
[1912]  1.0- 2.0 sec   392 KBytes  3.21 Mbits/sec
[1912]  2.0- 3.0 sec   416 KBytes  3.41 Mbits/sec
[1912]  3.0- 4.0 sec   416 KBytes  3.41 Mbits/sec
[1912]  4.0- 5.0 sec   320 KBytes  2.62 Mbits/sec
[1912]  5.0- 6.0 sec   272 KBytes  2.23 Mbits/sec
[1912]  6.0- 7.0 sec   376 KBytes  3.08 Mbits/sec
[1912]  7.0- 8.0 sec   416 KBytes  3.41 Mbits/sec
[1912]  8.0- 9.0 sec   392 KBytes  3.21 Mbits/sec
[1912]  9.0-10.0 sec   432 KBytes  3.54 Mbits/sec
[1912]  0.0-10.0 sec  3.77 MBytes  3.16 Mbits/sec
 
C:\Documents and Settings\Elfo\Desktop\iperf-1.7.0-win32>iperf.exe -w 2048
-c XXX.XXX.XXX.XXX -t 10 -i 1 -u
------------------------------------------------------------
Client connecting to XXX.XXX.XXX.XXX, UDP port 5001
Sending 1470 byte datagrams
UDP buffer size: 2.00 KByte
------------------------------------------------------------
[1912] local 192.168.0.144 port 2282 connected with XXX.XXX.XXX.XXX port
5001
[ ID] Interval       Transfer     Bandwidth
[1912]  0.0- 1.0 sec   129 KBytes  1.06 Mbits/sec
[1912]  1.0- 2.0 sec   128 KBytes  1.05 Mbits/sec
[1912]  2.0- 3.0 sec   128 KBytes  1.05 Mbits/sec
[1912]  3.0- 4.0 sec   128 KBytes  1.05 Mbits/sec
[1912]  4.0- 5.0 sec   128 KBytes  1.05 Mbits/sec
[1912]  5.0- 6.0 sec   128 KBytes  1.05 Mbits/sec
[1912]  6.0- 7.0 sec   129 KBytes  1.06 Mbits/sec
[1912]  7.0- 8.0 sec   128 KBytes  1.05 Mbits/sec
[1912]  8.0- 9.0 sec   128 KBytes  1.05 Mbits/sec
[1912]  9.0-10.0 sec   128 KBytes  1.05 Mbits/sec
[1912]  0.0-10.0 sec  1.25 MBytes  1.05 Mbits/sec
[1912] WARNING: did not receive ack of last datagram after 10 tries.
[1912] Sent 893 datagrams
 
C:\Documents and Settings\Elfo\Desktop\iperf-1.7.0-win32>
 
 
ate
 
 
Fabio Fonseca
 
--
gter list    https://eng.registro.br/mailman/listinfo/gter



Aurélio Ribeiro Costa
------------------------
   #ICQ 52151149
		
---------------------------------
 Yahoo! Search
 Dê uma espiadinha e saiba tudo sobre o Big Brother Brasil.



More information about the gter mailing list