Re: UDP Streaming - 100 Mbps


Giuliano,

I am not sure if this will help, but I wrote a document that describes 
some of the basic end to end (E2E) tools, including iperf.  Matt 
Zekauskas provided a great deal of input.  You might find the section on 
iperf useful... or you might not.  It is a very basic overview.

The file can be downloaded from:
http://people.internet2.edu/~tcyun/index.php?c1=e2e-primer.txt&s1=reference&;
s2=e2e

click on the link for the MS Word file, document revision 0.2

If you can not open Word documents, I can create a PDF version for you 
once I am back in the office.  Best of luck,

- Charles


Matthew J Zekauskas wrote:
> 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/
>>
>>
> 
> 
> 

-- 

- Charles
===========================================================
NOTE: I will be out of the office between  Tue 24 Sep
       to Fri 11 Oct 2002.  I will have almost no
       connectivity during this period.  Apologies
       in advance.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  T. Charles Yun, Program Manager
  Internet2                             voice: 734.352.4960
  3025 Boardwalk                         cell: 734.730.3300
  Suite 100                               fax: 734.913.4255
  Ann Arbor, Michigan            email: tcyun --at-- internet2.edu
  48108                        yahoo, msn, aim: tcharlesyun


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