Estoy usando la herramienta iperf para comparar mis interfaces de red en dos máquinas idénticas (Dell Blade Server M620). Ambos han dado resultados diferentes.
- En la primera máquina, ejecuté el servidor y los clientes como:
Servidor ==>iperf -s -B 172.17.250.200
Server listening on TCP port 5001 Binding to local address 172.17.250.200 TCP window size: 85.3 KByte (default) ----------------------------------------
cliente en nuevo shell ==> iperf -c 172.17.250.200 -u -i l -b 250m
,
WARNING:interval too small, increasing from 0.00 to 0.5 seconds -----------------------------------------------------------
Client connecting to 172.17.250.200, UDP port 5001
Sending 1470 byte datagrams
UDP buffer size: 208 KByte (default)
------------------------------------------------------------
[ 3] local 172.17.250.200 port 56853 connected with 172.17.250.200 port 5001
[ ID] Interval Transfer Bandwidth
[ 3] 0.0- 0.5 sec 7.45 MBytes 125 Mbits/sec
[ 3] 0.5- 1.0 sec 7.45 MBytes 125 Mbits/sec
[ 3] 1.0- 1.5 sec 7.45 MBytes 125 Mbits/sec
[ 3] 1.5- 2.0 sec 7.45 MBytes 125 Mbits/sec
[ 3] 2.0- 2.5 sec 7.45 MBytes 125 Mbits/sec
[ 3] 2.5- 3.0 sec 7.45 MBytes 125 Mbits/sec
[ 3] 3.0- 3.5 sec 7.43 MBytes 125 Mbits/sec
[ 3] 3.5- 4.0 sec 7.44 MBytes 125 Mbits/sec
[ 3] 4.0- 4.5 sec 7.46 MBytes 125 Mbits/sec
[ 3] 4.5- 5.0 sec 7.45 MBytes 125 Mbits/sec
[ 3] 5.0- 5.5 sec 7.45 MBytes 125 Mbits/sec
[ 3] 5.5- 6.0 sec 7.45 MBytes 125 Mbits/sec
[ 3] 6.0- 6.5 sec 7.45 MBytes 125 Mbits/sec
[ 3] 6.5- 7.0 sec 7.45 MBytes 125 Mbits/sec
[ 3] 7.0- 7.5 sec 7.45 MBytes 125 Mbits/sec
[ 3] 7.5- 8.0 sec 7.44 MBytes 125 Mbits/sec
[ 3] 8.0- 8.5 sec 7.46 MBytes 125 Mbits/sec
[ 3] 8.5- 9.0 sec 7.45 MBytes 125 Mbits/sec
[ 3] 9.0- 9.5 sec 7.46 MBytes 125 Mbits/sec
[ 3] 9.5-10.0 sec 7.44 MBytes 125 Mbits/sec
[ 3] 0.0-10.0 sec 149 MBytes 125 Mbits/sec`
En la segunda máquina, ejecuté con la misma configuración y obtuve estos resultados:
Servidor==>
iperf -s -B 172.17.250.190
cliente en nuevo shell ==>
iperf -c 172.17.250.190 -u -i l -b 250m
WARNING: interval too small, increasing from 0.00 to 0.5 seconds. ------------------------------------------------------------ Client connecting to 172.17.250.190, UDP port 5001 Sending 1470 byte datagrams UDP buffer size: 208 KByte (default) ------------------------------------------------------------ [ 3] local 172.17.250.190 port 59887 connected with 172.17.250.190 port 5001 [ ID] Interval Transfer Bandwidth [ 3] 0.0- 0.5 sec 3.00 MBytes 50.3 Mbits/sec [ 3] 0.5- 1.0 sec 7.45 MBytes 125 Mbits/sec [ 3] 1.0- 1.5 sec 7.45 MBytes 125 Mbits/sec [ 3] 1.5- 2.0 sec 7.45 MBytes 125 Mbits/sec [ 3] 2.0- 2.5 sec 7.05 MBytes 118 Mbits/sec [ 3] 2.5- 3.0 sec 2.95 MBytes 49.5 Mbits/sec [ 3] 3.0- 3.5 sec 2.96 MBytes 49.7 Mbits/sec [ 3] 3.5- 4.0 sec 2.95 MBytes 49.5 Mbits/sec [ 3] 4.0- 4.5 sec 2.97 MBytes 49.8 Mbits/sec [ 3] 4.5- 5.0 sec 2.96 MBytes 49.7 Mbits/sec [ 3] 5.0- 5.5 sec 2.88 MBytes 48.3 Mbits/sec [ 3] 5.5- 6.0 sec 2.88 MBytes 48.3 Mbits/sec [ 3] 6.0- 6.5 sec 2.89 MBytes 48.5 Mbits/sec [ 3] 6.5- 7.0 sec 2.92 MBytes 49.0 Mbits/sec [ 3] 7.0- 7.5 sec 2.94 MBytes 49.3 Mbits/sec [ 3] 7.5- 8.0 sec 2.93 MBytes 49.2 Mbits/sec [ 3] 8.0- 8.5 sec 2.95 MBytes 49.5 Mbits/sec [ 3] 8.5- 9.0 sec 2.95 MBytes 49.5 Mbits/sec [ 3] 9.0- 9.5 sec 2.94 MBytes 49.3 Mbits/sec
¿Por qué hay una discrepancia en los resultados de dos máquinas? Son máquinas idénticas. Una máquina muestra un tráfico estable de 125 Mbit/seg y la otra muestra un tráfico fluctuante.
También intenté usar la dirección IP '127.0.0.1' en ambas máquinas con iperf, pero todavía tengo problemas similares. En el caso del loopback, creo que el tráfico no pasará a través de la NIC, pero todavía hay fluctuaciones en el loopback. Ambas máquinas ejecutan Ubuntu 12.04 Server de 64 bits. Se agradecería cualquier ayuda sobre lo que podría salir mal.