Solved

iperf -b bandwidth option for UDP

Posted on 2014-01-28
4
1,279 Views
Last Modified: 2014-04-10
I am simulating VoIP traffic with iperf and I am struggling to understand the -b option for bandwidth for UDP traffic (http://crok-linkblog.homelinux.com/links-cisco/how-to-use-iperf-properly-additions-to-the-tcp-throughput-post/).

It says that it is the bandwidth to send at in bits/sec. So I have a 3mbps MPLS link and when I use -b 3000000 -f k, I got a lot of packets being dropped for just one conversation. But when I use -b as 65000, I have no problem with 5 conversations.

Can somebody help me to understand the -b bandwidth option?
0
Comment
Question by:leblanc
  • 2
  • 2
4 Comments
 
LVL 8

Accepted Solution

by:
N-W earned 500 total points
ID: 39816605
The -b option is exactly as described, it sends UDP packets at the specified bandwidth.

If you're sending 5 x 65000 conversations, that's only 0.32Mbits/sec which is well under your 3Mbits/sec connection.

If you're sending 1 x 3000000 conversations, that's pushing your connection to it's limit. If there's other traffic currently on this connection, then it's probably being over utilized and as a result, dropping packets.

Try reducing the UDP stream bandwidth to 2500000 or 2000000 and see there's less dropped packets.
0
 
LVL 1

Author Comment

by:leblanc
ID: 39816797
I think you just help to understand. So the bandwidth is actually not my actual 3 mbps MPLS connection. It is the bandwidth that I think is required for a conversation. So if I am simulating VoIP g729 codec that requires 65000 kbps per conversation. I will just keep incrementing the number of conversations until I see the packets dropped. That is my limits (roughly) for the number of conversations I can have on my 3mbps MPLS link. Does it make sense?
0
 
LVL 8

Assisted Solution

by:N-W
N-W earned 500 total points
ID: 39816822
Yes, that makes sense.

I think you're getting a little confused with your data rates though. G.729 generally runs at either 6.4kbit/s (6400bit/s), 8kbit/s (8000bit/s) or 11.8kbit/s (11800bit/s).

Specifying 65000 when running iperf with run the UDP test at roughly 64kbit/s.

On a 3Mbit/s connection, theoretically you should be able to achieve the following:

467 conversations @ 6.4kbit/s
375 conversations @ 8kbit/s
254 conversations @ 11.8kbit/s

If you're truly running at 64kbit/s, then you'll only achieve 46 conversations.

Note: you're actual results will vary depending on the other traffic running through your connection.
0
 
LVL 1

Author Comment

by:leblanc
ID: 39816853
You are right. I meant g711 with 64Kbps and g729 is 8Kbps. Thank you
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Cisco Phone implementation supported backups 1 39
OSPF - Convergence & Downtime 9 76
Connectivity issues after power outage 5 62
Network adapter failed to start 5 38
If your business is like most, chances are you still need to maintain a fax infrastructure for your staff. It’s hard to believe that a communication technology that was thriving in the mid-80s could still be an essential part of your team’s modern I…
When you try to share a printer , you may receive one of the following error messages. Error message when you use the Add Printer Wizard to share a printer: Windows could not share your printer. Operation could not be completed (Error 0x000006…
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question