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.

166 questions
35
votes
1 answer

Android Error : IPerf::tryGetService failed

I am developing a simple Android app. In my app I implement a toolbar and an actionbar with a ViewPager for doing swipe between fragments, I am using a RecyclerView to fill a list of movie and everything goes fine. The app doesn't crash but in the…
13
votes
8 answers

install iperf3 ubuntu 14.04

I hope to find an answer rather quickly about this issue. I am currently trying measure RTT from an iOS device to my ubuntu desktop and server. However, I'm seeing that the iperf version on iOS is iperf3 (which is probably the reason why I keep…
Jerome
  • 131
  • 1
  • 1
  • 4
12
votes
2 answers

TCP receiving window size higher than net.core.rmem_max

I am running iperf measurements between two servers, connected through 10Gbit link. I am trying to correlate the maximum window size that I observe with the system configuration parameters. In particular, I have observed that the maximum window size…
Adama
  • 700
  • 5
  • 21
10
votes
5 answers

How can I stop iperf server when it finishes?

Once the client finishes the process is automatically closed. I would like to do the same thing in the server side, because I want to automatize some processes, but the server side finishes but remains open.
Ander Galisteo
  • 101
  • 1
  • 1
  • 3
9
votes
5 answers

How to specify iperf client port

Is there a way to force an iperf client to use a specific port number as its outgoing port instead of letting iperf on choosing a random port to use?
mirandaio
  • 225
  • 1
  • 2
  • 9
4
votes
2 answers

tcpdump shows nothing for my C++ application?

If I run: iperf -s -u -B 224.0.31.155 and run sudo tcpdump -ni any 'host 224.0.31.155' tcpdump is able to capture something: tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on any, link-type LINUX_SLL (Linux…
Hei
  • 1,704
  • 3
  • 17
  • 29
4
votes
2 answers

udp traffic with Iperf for haproxy

I'm working on my personal project on "performance evaluation" of Haproxy using Docker Container. I'm programming with Python and uses iperf for traffic generation. I created several Docker containers as clients and servers. The clients are supposed…
user2567806
  • 428
  • 2
  • 6
  • 16
3
votes
1 answer

Docker container connected by OVS+DPDK, `Ping` work but `iperf` NOT

I am trying to build a platform using Docker, OVS+DPDK. 1. Set up DPDK + OVS I set up DPDK+OVS using dpdk-2.2.0 with openvswitch-2.5.1. First, I compile the code of DPDK, set up hugepages. I do NOT bind NIC, because I don't get traffic from…
jiexray
  • 165
  • 13
3
votes
6 answers

iperf error: connect failed: no route to host

I have installed same version of iperf (2.0.5) on 2 different ubuntu systems. But when i execute command iperf -s -p 45678 on one system and iperf -c 172.18.41.17 -p 458 -t 10 on another system. It gives me error "connect failed: No route to…
Nikita
  • 343
  • 1
  • 3
  • 17
3
votes
0 answers

How to measure ping with iPerf on Node.js server?

I'm writing some code for my node.js/express server to allow it to run QoS tests between itself and a raspberry pi running iPerf as a server. I'm using child_process.execFile to call iPerf and grab its output. I'm testing throughput, latency,…
BenAdamson
  • 525
  • 2
  • 9
  • 18
3
votes
1 answer

How does iperf calculate throughput

I am trying to calculate ethernet throughput using python (by creating UDP socket). I got throughput in 10-15 MBps range. When I cross verified using iperf, iperf is showing throughput as 35 MBps. what logic does iperf use to calculate…
Mayank
  • 39
  • 5
3
votes
2 answers

How iperf calculates network statistics

iperf is a great tool to measure network statistics, such as loss, throughput, jitter. I have used it a lot. But, I am just wondering how it calculates those statistics. For throughput, it can simply measure the number of bytes it received in a…
Jack Chan
  • 759
  • 8
  • 15
3
votes
1 answer

batch - delete last char from string

I've got the following string out of a jSON-File: 39468856, Now, I want to calculate with this numbers.. because of that, I've to remove the , at the end. At this moment I use the following code: for /f "skip=24 tokens=2" %%a in (text.txt) do (…
Pat Hah
  • 33
  • 1
  • 4
3
votes
1 answer

Sending "random" traffic through Mininet network

I want to test a data center routing algorithm using Mininet. The traffic needs to conform to certain parameters: It should consist of "files" of various sizes (note that these don't actually have to be files; traffic generated in, e.g., iperf is…
3
votes
1 answer

Huge difference in netcat and iperf results for a 10G link

I am confused to see huge difference between netcat and iperf results. I am having 10 G link connecting my server and client. I am getting around 10Gb/s for iperf but only ~280 MB/s for netcat. What can be the error ? For Iperf Server iperf…
GoT
  • 485
  • 12
  • 28
1
2 3
11 12