Questions tagged [iperf]

Iperf is a network testing tool for performance and tuning that can create TCP and UDP data streams and measure the throughput of a network that is carrying them.

Iperf is a network testing tool for performance and tuning that can create TCP and UDP data streams and measure the throughput of a network that is carrying them.

184 questions
0
votes
1 answer

How to configure ports on apache server for iperf3

I'm using my apache server for running TCP and UDP traffic using iperf3. I manually execute a command on my server to listen to a port. ~# iperf3 -i 5 -s -p 7759 ----------------------------------------------------------- Server listening on…
user3587025
  • 173
  • 1
  • 4
  • 17
0
votes
0 answers

How to Fix the following error in Android NDK Project "only position independent executables (PIE) are supported"

I am working on a Android NDK Project using Iperf library for measuring network performance. App is working perfect up to Android version 4.x.But not working in Android latest versions from 5.x(Lollipop), getting an error "error: only position…
kishore
  • 27
  • 7
0
votes
1 answer

How do I test throughput/packet-loss an ethernet switch and it's associated cabling?

I'm trying to figure out the test setup for this. Currently, I have two PC's on the same switch. I was able to setup Ostinato on both machines and have the "Ostinato" GUI connect to the drone. But the testing seem to be limited with ethernet port…
krithik
  • 27
  • 3
0
votes
1 answer

why if i put a large TCP window in iperf returns me a wrong measurement?

I want to know how about when I put a huge TCP window in iperf,eg 64MB, not give me errors, but gives me wrong measurement for example 54Mbits/sec in bandwindth and my connection upload is only 1 Mbps. Is it bug of iperf? i put in command this:…
gma
  • 3
  • 1
  • 5
0
votes
1 answer

Issue executing command in Java application

I'm trying to execute a network testing application via my Java application. Below is the code: try { String file = new File("iperf3.exe").getCanonicalPath(); String cmd[] = {file,"-c ping.online.net -P 20 -w 710000 -t"}; Process p =…
Adrian Tan
  • 33
  • 8
0
votes
0 answers

Capped performance over UDP (and sometimes TCP) in iPerf

I can't seem to figure out what's wrong with my iPerf executable. I am trying to automate the execution of iPerf using a Telnet script (this is the one I am using https://github.com/ngharo/Random-PHP-Classes/blob/master/Telnet.class.php). I'd like…
user21961
  • 1
  • 2
0
votes
0 answers

Determine the throughput between 2 hosts from the bandwidth?

I'm using mininet and I must observe the throughput between two hosts by using iperf. mininet> iperf h1 h3 *** Iperf: testing TCP bandwidth between h1 and h3 *** Results: ['14.3 Mbits/sec', '20.3 Mbits/sec'] What I don't understand is how to…
coder4lyf
  • 927
  • 1
  • 17
  • 36
0
votes
1 answer

Drawing a progress bar while running a function for a desired time in bash script

I want to add progress bar while giving the percentage of the function to be completed such as [===> ] 20% completed. For example, I have a code which uses iperf and I give the time duration that I want. function Throughput_test() { …
user3683697
  • 13
  • 1
  • 5
0
votes
2 answers

IPERF; Packet loss over adjacent wifi channels

I have two iperf clients and servers. Both on 5GHz. Both are on 20MHz channel. One iperf client is sending data over channel 36 and the other one is sending data over channel 40. While sending data on both channels simultaneously there is a huge…
S. Salman
  • 590
  • 1
  • 6
  • 22
0
votes
1 answer

How to run iperf command properly in Runtime.getRuntime().exec() android

I try to run iperf server and client in my android device so i develop an app using exec() and it is working fine for ls, ping etc. command but when i try to run iperf -s i got error, Here is the code and i added internet permission in manifest…
Tesy
  • 27
  • 1
  • 6
0
votes
0 answers

Different UDP source ports while using python subprocess

I'm using Python subprocess module to call "iperf" command. Then I parse the output and get the source port of the iperf client, e.g. 4321 but when I monitor the network 4321 is missing and I can only see UDP ports 12851 and 0. It is strange that…
0
votes
1 answer

How to use a file of fixed size to measure the bandwidth using iPerf?

I am trying to use iPerf to measure the performance of my network which is android-base and all my nodes (i.e.:phones) are rooted. I've created a file of size 1 MB using the following command in Linux: dd if=/dev/zero of=testFile bs=1k…
McLan
  • 2,552
  • 9
  • 51
  • 85
0
votes
1 answer

Iperf TCP test variations

I am using iperf to test the connection between two machines (WiFi+AP), one runs Ubuntu14, and the other is Win7. Both are on the same subnet. The problem is that the results varies very much over time, and varies from run to run! and I couldn't…
yaser nak
  • 1
  • 1
0
votes
1 answer

Install a program rpm (iperf) only valid within that folder ( non /usr/bin)

I have a program (iperf 2.0.5) in Fedora Linux. I want to run another package of the same newer version of the program (iperf 3.0.3) only restricted / executable local to that folder. So the default iperf on my PC would be 2.0.5 , but if i want to…
0
votes
0 answers

Send Control signals to another machine

I am attempting to automate throughput measurement of a WLAN using iperf ,so i have a script that will initiate the server (iperf -s -i1 -w2M -t300) and save the contents of the output,send an email and place file in a corporate directory. However,…