Re: UDP Streaming - 100 Mbps
On Fri, Sep 13, 2002 at 07:36:49PM -0300, Giuliano Cardozo Medalha wrote:
> Hi,
>
> My name is Giuliano and I am trying to use the iperf softwre in some tests.
>
> The first test is to transmit UDP stream datagrams by a ethernet channel of
> 100 Mbps - Switch device.
>
> The environment is composed by two machines:
>
> 0-----------------0---------------0
> A S B
>
> Machines A and B are connected by one Switch - Fast Ethernet.
>
> I instaled IPERF - Windows Version in both machines.
>
> My qustions are:
>
> How can I do to transmit UDP streaming at bandwith of 100 Mbps between two
> machines ?
On one machine start up iperf in server mode:
iperf -s -u -i 10
On the other run iperf in client mode:
iperf -i 10 -t 60 -b 100 -u -c hosta
# (where hosta is the host name of the first host)
that will run a test for 1 minute reporting results every 10 seconds.
> How can I do to create a constant streaming UDP or connection TCP bwtween
> two machines, for example, for 5 minutes ?
to run for 5 minutes simply change the '-t 60' to '-t 300' (time is
expressed in seconds). to do the tests in TCP instead of UDP omit the -u
flag (this will require starting the iperf on the server machine without the
-u as well) and also omit the -b flag on the client side (-b is currently
only supported in UDP mode).
The help output for Iperf (iperf -h) is pretty good and covers all of this.
Jon
--
Jon Dugan | Senior Network Engineer, NCSA Network Research
jdugan --at-- ncsa.uiuc.edu | 269 CAB, 605 E Springfield, Champaign, IL 61820
217-244-7715 | http://www.ncsa.uiuc.edu/~jdugan/
--
Mitch Kutzko | mitch --at-- dast.nlanr.net | mitch --at-- ncsa.uiuc.edu | 217-333-1199
http://hobbes.ncsa.uiuc.edu/