linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: TCP=828mbps, UDP=1mbps? (both running 2.6.13.2)
@ 2005-09-28  9:58 Daniel J Blueman
  0 siblings, 0 replies; 2+ messages in thread
From: Daniel J Blueman @ 2005-09-28  9:58 UTC (permalink / raw)
  To: Linux Kernel, jpiszcz

Justin,

When running iperf in UDP mode (-u), you must specify a bandwidth, ie:

server$ iperf -s -u
client$ iperf -c server -u -b 1000M

Justin Piszcz wrote:
> Any idea why with TCP I get 828 megabits on my gigabit connection but only
> 1.05 megabits with UDP?
>
> Using iperf to benchmark.
>
> TCP
> ------------------------------------------------------------
> Server listening on TCP port 5001
> TCP window size: 85.3 KByte (default)
> ------------------------------------------------------------
> [  4] local 192.168.1.12 port 5001 connected with 192.168.1.253 port
> 48853
> [  4]  0.0-35.1 sec  3.38 GBytes    828 Mbits/sec
>
>
> UDP
> ------------------------------------------------------------
> Server listening on UDP port 5001
> Receiving 1470 byte datagrams
> UDP buffer size:   101 KByte (default)
> ------------------------------------------------------------
> [  3] local 192.168.1.12 port 5001 connected with 192.168.1.253 port
> 32773
> [  3]  0.0-10.0 sec  1.25 MBytes  1.05 Mbits/sec  0.043 ms    0/  893 (0%)
>
>
> p34:~$ netstat -i
> Kernel Interface table
> Iface   MTU Met   RX-OK RX-ERR RX-DRP RX-OVR    TX-OK TX-ERR TX-DRP TX-OVR
> Flg
> eth0   1500 0   1266337      0      0      0  2588651      0      0      0
> BMRU
> eth1   1500 0      2358      0      0      0     2229      0      0      0
> BMRU
> eth2   1500 0     39706      0      0      0     5747      0      0      0
> BMNRU
> lo    16436 0       184      0      0      0      184      0      0      0
> LRU
>
> box2:~$ netstat -i
> Kernel Interface table
> Iface   MTU Met   RX-OK RX-ERR RX-DRP RX-OVR    TX-OK TX-ERR TX-DRP TX-OVR
> Flg
> eth0   1500 0   2955176      0      0      0  3696501      0      0      0
> BMRU
> lo    16436 0       612      0      0      0      612      0      0      0
> LRU
___
Daniel J Blueman

^ permalink raw reply	[flat|nested] 2+ messages in thread

* TCP=828mbps, UDP=1mbps? (both running 2.6.13.2)
@ 2005-09-28  0:29 Justin Piszcz
  0 siblings, 0 replies; 2+ messages in thread
From: Justin Piszcz @ 2005-09-28  0:29 UTC (permalink / raw)
  To: linux-kernel

Any idea why with TCP I get 828 megabits on my gigabit connection but only 
1.05 megabits with UDP?

Using iperf to benchmark.

TCP
------------------------------------------------------------
Server listening on TCP port 5001
TCP window size: 85.3 KByte (default)
------------------------------------------------------------
[  4] local 192.168.1.12 port 5001 connected with 192.168.1.253 port 
48853
[  4]  0.0-35.1 sec  3.38 GBytes    828 Mbits/sec


UDP
------------------------------------------------------------
Server listening on UDP port 5001
Receiving 1470 byte datagrams
UDP buffer size:   101 KByte (default)
------------------------------------------------------------
[  3] local 192.168.1.12 port 5001 connected with 192.168.1.253 port 
32773
[  3]  0.0-10.0 sec  1.25 MBytes  1.05 Mbits/sec  0.043 ms    0/  893 (0%)


p34:~$ netstat -i
Kernel Interface table
Iface   MTU Met   RX-OK RX-ERR RX-DRP RX-OVR    TX-OK TX-ERR TX-DRP TX-OVR 
Flg
eth0   1500 0   1266337      0      0      0  2588651      0      0      0 
BMRU
eth1   1500 0      2358      0      0      0     2229      0      0      0 
BMRU
eth2   1500 0     39706      0      0      0     5747      0      0      0 
BMNRU
lo    16436 0       184      0      0      0      184      0      0      0 
LRU

box2:~$ netstat -i
Kernel Interface table
Iface   MTU Met   RX-OK RX-ERR RX-DRP RX-OVR    TX-OK TX-ERR TX-DRP TX-OVR 
Flg
eth0   1500 0   2955176      0      0      0  3696501      0      0      0 
BMRU
lo    16436 0       612      0      0      0      612      0      0      0 
LRU



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-09-28  9:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-09-28  9:58 TCP=828mbps, UDP=1mbps? (both running 2.6.13.2) Daniel J Blueman
  -- strict thread matches above, loose matches on Subject: below --
2005-09-28  0:29 Justin Piszcz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).