Re: UDP Streaming - 100 Mbps


I don't have much experience with the Windows version, so
consider the following as only advisory.  (I'd say "take
it with a grain of salt", if you understand that American
colloqialism.)

but with the Unix version, typically I can't push more than
94-95 Mb/s out a Ethernet interface before it starts losing
packets.

In fact, with iperf, it starts saying "out of buffer space" or
some such when it gets close to 90 with UDP.

You might consider adjusting the buffer space devoted to UDP
with the "-w" switch, so "-w 128k" or "-w 1m".  (However, this
doesn't prevent the message in the last paragraph; that seems
to be some kind of kernel buffer.) (sorry to be so unspecific,
I'm working hard on something else right now (v6 perf still)
and should be going home instead of answering :).

Oh, yes, and the -b needs to have an "m".  -b 100 is 100 bytes/sec,
I think.  "-b 80m" is 80 Mb/s.

--Matt

--On Friday, September 13, 2002 5:47 PM -0500 Jon Dugan 
<jdugan --at-- ncsa.uiuc.edu> wrote:

> 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/



Other Mailing lists | Author Index | Date Index | Subject Index | Thread Index