Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

iperf -b bandwidth option for UDP

Posted on 2014-01-28
4
1,264 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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Suggested Solutions

Short answer to this question: there is no effective WiFi manager in iOS devices as seen in Windows WiFi or Macbook OSx WiFi management, but this article will try and provide some amicable solutions to better suite your needs.
ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

790 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