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
3
votes
3 answers

run iperf in background and redirect output to a file

I am trying to start iperf server in background and redirect the output to a file. But it is not working. server: iperf3 -s -D >> /tmp/listen.txt or iperf3 -s -D > listen.txt client: iperf3 -c -B > send.txt I am…
user5154816
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
  • 625
  • 3
  • 10
  • 19
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
0 answers

iperf3 seems to be stuck after initial connection

Yesterday, my tests with iperf3 were working fine. Today unfortunately it seems the initial connection is made but it freezes after that. Below the outputs. Server: Server listening on TCP port 5201 TCP window size: 85.3 KByte…
Menelaos
  • 23,508
  • 18
  • 90
  • 155
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

iperf between 2 interfaces on same host

I am looking for a way how I can run iperf benchmark between 2 interfaces on the same host as shown on the schema: Both of the machines (pc and router) are linux. I'm need a way to run some functional tests on my "router" machine using my only 1…
user2988257
  • 882
  • 4
  • 25
  • 43
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

C# Iperf Server

I'm trying to write a C# wrapper for Iperf server. After Iperf client is done with packet sending, the C# server application should dump the output data to the text file. The problem is that this process (server) never exits, so it doesn't dump…
stani
  • 111
  • 1
  • 1
  • 7
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
  • 530
  • 1
  • 13
  • 35
3
votes
7 answers

How to save Iperf result in an output file

I am running iperf between a set of hosts that are read from a txt file, here's how I am running it: h1,h2 = net.getNodeByName(node_id_1, node_id_2) net.iperf((h1, h2)) It runs well and displays the results. But, I want to save the output of iperf…
Rakhee Tiwari
  • 31
  • 1
  • 1
  • 3
2
votes
1 answer

Ansible - access var of another host

I have this piece of the playbook. - hosts: iperf_servers remote_user: root tasks: - name: print server iperf debug: msg="Starting Server Iperf with Data_IP > {{ hostvars[inventory_hostname].nodes[0].data_ip }}" - name: start server…
Leo_simon
  • 21
  • 2
2
votes
1 answer

Weird IPERF observations: MSS size get decreased from what specifed

I am using IPERF to send some packets from one PC to another. Following things have been observed while testing MSS (Maximum Segment Size) with IPERF. Send packets with MSS = 20 Bytes: iperf -c 192.168.1.98 -P 1 -i 5 -p 5001 -M 20 -m We were…
Uthman
  • 9,251
  • 18
  • 74
  • 104
2
votes
0 answers

Generate traffic and measure qos parameters in custom mininet topology using Ryu Controller

I'm working on tweaking and testing QoS capabilities in SDN. I've tried POX and Ryu controller and run some custom topologies in mininet. However I need help for generating traffic in mininet topology. It seems that there are iperf and D-ITG for…
AJAY
  • 53
  • 6
2
votes
4 answers

sending packets from iperf packet generator in continuous mode

Can we send packets from iperf generator in a continuous mode? Currently, I am sending packets in a burst mode by using command iperf -c 10.0.0.2 -u -b 1m -t 1 where u is UDP packets 1m is bandwidth (1 Mbps) and t is a time which is 1 second. but I…
pranav
  • 41
  • 1
  • 2
  • 6
2
votes
1 answer

Why iperf bandwidth is highter than dd->netcat

I want to measure actual speed of 1Gb Ethernet interface on my embedded device with ARM cortex-A8 two-core 600MHz processor, connected to PC on the other side. I've tried to check it with iperf client, installed on device and iperf server, installed…
Ilya
  • 33
  • 6
1
2
3
12 13