From: Justin Piszcz <jpiszcz@lucidpixels.com>
To: linux-kernel@vger.kernel.org
Subject: TCP=828mbps, UDP=1mbps? (both running 2.6.13.2)
Date: Tue, 27 Sep 2005 20:29:44 -0400 (EDT) [thread overview]
Message-ID: <Pine.LNX.4.63.0509272028390.2652@p34> (raw)
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
next reply other threads:[~2005-09-28 0:29 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-09-28 0:29 Justin Piszcz [this message]
2005-09-28 9:58 Daniel J Blueman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Pine.LNX.4.63.0509272028390.2652@p34 \
--to=jpiszcz@lucidpixels.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®