All of lore.kernel.org
 help / color / mirror / Atom feed
From: Daniel J Blueman <daniel.blueman@gmail.com>
To: Linux Kernel <linux-kernel@vger.kernel.org>, jpiszcz@lucidpixels.com
Subject: Re: TCP=828mbps, UDP=1mbps? (both running 2.6.13.2)
Date: Wed, 28 Sep 2005 10:58:32 +0100	[thread overview]
Message-ID: <6278d222050928025865d8968c@mail.gmail.com> (raw)

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

             reply	other threads:[~2005-09-28  9:58 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-28  9:58 Daniel J Blueman [this message]
  -- strict thread matches above, loose matches on Subject: below --
2005-09-28  0:29 TCP=828mbps, UDP=1mbps? (both running 2.6.13.2) Justin Piszcz

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=6278d222050928025865d8968c@mail.gmail.com \
    --to=daniel.blueman@gmail.com \
    --cc=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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.