Atul Singh Mandla | 26 Jul 14:40 2016

iperf - "speed" display in CSV report

Hi all,

I would like to report this bug.
 Some parameters displayed in the CSV reports are declared as uint64_t, but the printf format doesn't reflect this, I would like to know if the issue is addressed anywhere else I can submit the patch which will take care of the same.


Best Regards,
Atul Singh.
------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports.http://sdm.link/zohodev2dev
_______________________________________________
Iperf-users mailing list
Iperf-users@...
https://lists.sourceforge.net/lists/listinfo/iperf-users
Hoshall, Paul | 21 Jul 23:38 2016

Iperf UDP

Still initially uses TCP connect() (client) and TCP accept() (server) to establish a connection...

I wiresharked it...and captured the TCP traffic prior to the UDP xfers....

These subsequent write()'s (really send()'s) are UDP point to point...The destination address is
remembered from 
the connect/accept sequence ....write() and/or send() have no destination IP address as an input parameter....

UDP sendto(), however, does require a destination which can be a unique IP address or broadcast....

I built iperf within cygwin on a Windows 7 machine.

I modified iperf and found that UDP sendto's are approx. 50% slower than UDP send's.....

-----Original Message-----
From: iperf-users-request@...
[mailto:iperf-users-request@...] 
Sent: Thursday, July 21, 2016 3:38 PM
To: iperf-users@...
Subject: Iperf-users Digest, Vol 69, Issue 4

Send Iperf-users mailing list submissions to
	iperf-users@...

To subscribe or unsubscribe via the World Wide Web, visit
	https://lists.sourceforge.net/lists/listinfo/iperf-users
or, via email, send a message with subject or body 'help' to
	iperf-users-request@...

You can reach the person managing the list at
	iperf-users-owner@...

When replying, please edit your Subject line so it is more specific than "Re: Contents of Iperf-users digest..."

Today's Topics:

   1. Re: I see UDP recvfrom() in iperf, but no sendto() .... calls
      write() (Bob McMahon)
   2. Re: (no subject) (Tomer Pollak)
   3. Re: (no subject) (Bob McMahon)

----------------------------------------------------------------------

Message: 1
Date: Wed, 20 Jul 2016 14:27:14 -0700
From: Bob McMahon <bob.mcmahon@...>
Subject: Re: [Iperf-users] I see UDP recvfrom() in iperf, but no
	sendto() .... calls write()
To: "Hoshall, Paul" <hoshal@...>
Cc: "iperf-users@..."
	<iperf-users@...>
Message-ID:
	<CAHb6LvqN2V2RaNgDbz27NLtJ8K5tZL59n=iN=hSAJ2GzRMmOSg@...>
Content-Type: text/plain; charset="utf-8"

Which iperf version, i.e. output of iperf -v?

write() can be used with UDP after a socket connect().  The socket connect occurs in Client::Connect()
method for iperf 2+  UDP sockets support both
connect() and bind() even though UDP connectionless.    A connected UDP
socket isn't connected in the TCP sense, but more in the file descriptor sense.

Bob

***************************

------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports.http://sdm.link/zohodev2dev
_______________________________________________
Iperf-users mailing list
Iperf-users@...
https://lists.sourceforge.net/lists/listinfo/iperf-users

Tomer Pollak | 20 Jul 22:18 2016
Picon

(no subject)

Hi
i can't find the original so i copied the last thread below.
Thank you Bob and sorry for the delay:
1) attached from wireshark. hope its ok
2) this is the output: iperf version 1.7.0 <13 Mar 2003> win32 threads

hope you could help to figure out what are these reports and how to avoid them..
Thanks

Tomer

Hi Tomer, It's difficult to debug per the lakc of information contained email thread. Please post two things 1) The actual messages that are the problem 2) The output of iperf -v Thanks, Bob On Fri, Jul 8, 2016 at 10:18 PM, Tomer Pollak <tomerpollak <at> ...> wrote: > Anyone could please help with this reports issue? > > Thanks in advance > > Tomer > > > > > --------------------------------------- > Thank you Bob, > > i assume that the "annoying messages" are some reports between the server > and the client. > > this are the iperf commands, running from jperf: > client: > iperf.exe -c 190.5.0.5 -u -P 1 -i 1 -p 5001 -l 100.0B -f k -b 5.0K -t 60 -T > 1 > server: > iperf.exe -s -u -P 0 -i 1 -p 5001 -f k > > Tomer > > On Wed, Jun 29, 2016 at 1:15 AM, Bob McMahon <bob.mcmahon <at> ...> > wrote: > > > hmm, can you post the "annoying messages," the iperf version (iperf -v) > > and the iperf command lines for both client and server? > > > > Bob > > > > On Tue, Jun 28, 2016 at 5:29 AM, Tomer Pollak <tomerpollak <at> ...> > > wrote: > > > >> Hello everyone. > >> > >> Im running jPerf with 2 stations connected by ethernet in order to test > >> the channel. > >> I configure the iPerf to run for few seconds, say 100. No matter which > >> parameters i configure, right after it finished, the iPerf sends, > >> independantly, few more messages. > >> sometimes its 10 messages with size of 1500 bytes and sometimes its > >> different. > >> Does anyone know how to avoid this annoying messages? its ruins my > >> performance test. > >> > >> Thanks in advance > >> Tomer >
------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports.http://sdm.link/zohodev2dev
_______________________________________________
Iperf-users mailing list
Iperf-users@...
https://lists.sourceforge.net/lists/listinfo/iperf-users
Hoshall, Paul | 20 Jul 14:12 2016

I see UDP recvfrom() in iperf, but no sendto() .... calls write()

 

------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports.http://sdm.link/zohodev2dev
_______________________________________________
Iperf-users mailing list
Iperf-users@...
https://lists.sourceforge.net/lists/listinfo/iperf-users
Hoshall, Paul | 19 Jul 21:03 2016

Does iperf support UDP broadcast?

 

------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports.http://sdm.link/zohodev2dev
_______________________________________________
Iperf-users mailing list
Iperf-users@...
https://lists.sourceforge.net/lists/listinfo/iperf-users
Tomer Pollak | 9 Jul 07:18 2016
Picon

how to avoid iperf independant messages after finish session

Anyone could please help with this reports issue?
Thanks in advance
Tomer




---------------------------------------
Thank you Bob, i assume that the "annoying messages" are some reports between the server and the client. this are the iperf commands, running from jperf: client: iperf.exe -c 190.5.0.5 -u -P 1 -i 1 -p 5001 -l 100.0B -f k -b 5.0K -t 60 -T 1 server: iperf.exe -s -u -P 0 -i 1 -p 5001 -f k Tomer On Wed, Jun 29, 2016 at 1:15 AM, Bob McMahon <bob.mcmahon <at> ...> wrote: > hmm, can you post the "annoying messages," the iperf version (iperf -v) > and the iperf command lines for both client and server? > > Bob > > On Tue, Jun 28, 2016 at 5:29 AM, Tomer Pollak <tomerpollak <at> ...> > wrote: > >> Hello everyone. >> >> Im running jPerf with 2 stations connected by ethernet in order to test >> the channel. >> I configure the iPerf to run for few seconds, say 100. No matter which >> parameters i configure, right after it finished, the iPerf sends, >> independantly, few more messages. >> sometimes its 10 messages with size of 1500 bytes and sometimes its >> different. >> Does anyone know how to avoid this annoying messages? its ruins my >> performance test. >> >> Thanks in advance >> Tomer
------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
_______________________________________________
Iperf-users mailing list
Iperf-users@...
https://lists.sourceforge.net/lists/listinfo/iperf-users
Giovanni Del Grande | 8 Jul 14:37 2016
Picon

Iperf3 UDP test stop working after a while

Hi iperf users

I am running some UDP test from tow PC connected behind NAT

How you can see after a while the UDP server (-R option is used) stops to send UDP traffic
Can anyone help me to find the reason?

C:\Users\gdelgran>iperf3 -c 192.168.98.206 -t 360 -R --get-server-output -l 1200 -u
Connecting to host 192.168.98.206, port 5201
Reverse mode, remote host 192.168.98.206 is sending
[  4] local 192.168.100.1 port 51865 connected to 192.168.98.206 port 5201
[ ID] Interval           Transfer     Bandwidth       Jitter    Lost/Total Datag
rams
[  4]   0.00-1.01   sec   155 KBytes  1.25 Mbits/sec  0.803 ms  0/132 (0%)
[  4]   1.01-2.01   sec   128 KBytes  1.05 Mbits/sec  0.738 ms  0/109 (0%)
[  4]   2.01-3.01   sec   128 KBytes  1.05 Mbits/sec  0.736 ms  0/109 (0%)
[  4]   3.01-4.01   sec   128 KBytes  1.05 Mbits/sec  0.749 ms  0/109 (0%)
[  4]   4.01-5.01   sec   129 KBytes  1.06 Mbits/sec  0.534 ms  0/110 (0%)
[  4]   5.01-6.01   sec   128 KBytes  1.05 Mbits/sec  0.681 ms  0/109 (0%)
[  4]   6.01-7.01   sec   128 KBytes  1.05 Mbits/sec  0.598 ms  0/109 (0%)
[  4]   7.01-8.01   sec   128 KBytes  1.05 Mbits/sec  0.470 ms  0/109 (0%)
[  4]   8.01-9.01   sec   128 KBytes  1.04 Mbits/sec  0.522 ms  0/109 (0%)
[  4]   9.01-10.01  sec   129 KBytes  1.06 Mbits/sec  0.584 ms  0/110 (0%)
[  4]  10.01-11.01  sec   128 KBytes  1.05 Mbits/sec  0.466 ms  0/109 (0%)
[  4]  11.01-12.00  sec   128 KBytes  1.05 Mbits/sec  1.019 ms  0/109 (0%)
[  4]  12.00-13.00  sec   128 KBytes  1.05 Mbits/sec  0.609 ms  0/109 (0%)
[  4]  13.00-14.00  sec   129 KBytes  1.06 Mbits/sec  1.041 ms  0/110 (0%)
[  4]  14.00-15.00  sec  76.2 KBytes   625 Kbits/sec  0.508 ms  0/65 (0%)
[  4]  15.00-16.00  sec  0.00 Bytes  0.00 bits/sec  0.508 ms  0/0 (0%)
[  4]  16.00-17.01  sec  0.00 Bytes  0.00 bits/sec  0.508 ms  0/0 (0%)
[  4]  17.01-18.01  sec  0.00 Bytes  0.00 bits/sec  0.508 ms  0/0 (0%)
[  4]  18.01-18.33  sec  0.00 Bytes  0.00 bits/sec  0.508 ms  0/0 (0%)
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bandwidth       Jitter    Lost/Total Datag
rams
[  4]   0.00-18.33  sec  0.00 Bytes  0.00 bits/sec  0.508 ms  0/1617 (0%)
[  4] Sent 1617 datagrams
iperf3: interrupt - the client has terminated

C:\Users\gdelgran>


BR
Giovanni
------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
_______________________________________________
Iperf-users mailing list
Iperf-users@...
https://lists.sourceforge.net/lists/listinfo/iperf-users
Picon

Iperf and VxWorks

To All;

We have a new project involving Iperf 3 and VxWorks.  Has anyone been able to build the Iperf program in
VxWorks 6.x?

Seth Cusick
Engineer
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter
Ph: 812.854.6568
http://www.navsea.navy.mil/nswc/crane/Lists/customerfeedback/NewForm.aspx

Harnessing the Power of Technology for the Warfighter
 "FOR OFFICIAL USE ONLY - Privacy Sensitive - any misuse or unauthorized disclosure can result in both civil
and criminal penalties.  This transmission should be viewed only by personnel having an official
"need-to-know".  If you are not the intended recipient, be aware that any disclosure, copying,
distribution or use of the content of this information is prohibited.  If you have received this
communication in error, please notify me immediately by email and delete the original message."

Seth Cusick
Engineer
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter
Ph: 812.854.6568
http://www.navsea.navy.mil/nswc/crane/Lists/customerfeedback/NewForm.aspx

Harnessing the Power of Technology for the Warfighter
 "FOR OFFICIAL USE ONLY - Privacy Sensitive - any misuse or unauthorized disclosure can result in both civil
and criminal penalties.  This transmission should be viewed only by personnel having an official
"need-to-know".  If you are not the intended recipient, be aware that any disclosure, copying,
distribution or use of the content of this information is prohibited.  If you have received this
communication in error, please notify me immediately by email and delete the original message."

Attachment (smime.p7s): application/pkcs7-signature, 7368 bytes
------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
_______________________________________________
Iperf-users mailing list
Iperf-users@...
https://lists.sourceforge.net/lists/listinfo/iperf-users
Tomer Pollak | 28 Jun 14:29 2016
Picon

how to avoid iperf independant messages after finish session

Hello everyone.

Im running jPerf with 2 stations connected by ethernet in order to test the channel.
I configure the iPerf to run for few seconds, say 100. No matter which parameters i configure, right after it finished, the iPerf sends, independantly, few more messages. 
sometimes its 10 messages with size of 1500 bytes and sometimes its different. 
Does anyone know how to avoid this annoying messages? its ruins my performance test.

Thanks in advance
Tomer
------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
_______________________________________________
Iperf-users mailing list
Iperf-users@...
https://lists.sourceforge.net/lists/listinfo/iperf-users
Hoshall, Paul | 21 Jun 19:55 2016

FW: Who created iPerf 3.1.3 for Windows 64 Bits?

I developed a BSD UDP application using 10 Gbps network adapters but only get 40% throughput.

I'm using Microsoft Visual Studio 2010 and Windows 7.

I'm using basic socket functions: socket, bind, setsockopt, sendto (UDP broadcast).

iPerf 3.1.3 gets almost 100% throughput.

Is the Windows iPerf 3.1.3 source available?  

I'm missing something.....

V/R,
Paul Hoshall
Principal Development Engineer
AAI Corporation
(410)-628-3098
From: Hoshall, Paul <hoshal@...>
Subject: Who created iPerf 3.1.3 for Windows 64 Bits?
Date: 2016-06-21 17:39:28 GMT

 

------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
_______________________________________________
Iperf-users mailing list
Iperf-users@...
https://lists.sourceforge.net/lists/listinfo/iperf-users
Bruce Mah | 8 Jun 21:04 2016
Picon
Gravatar

iperf-3.1.3 is available


ESnet (Energy Sciences Network) announces iperf-3.1.3, the latest
point/bugfix release from the iperf 3.1 codeline.

iperf-3.1.3 fixes an important security issue in all previous versions
of iperf3.  That issue was a buffer overflow / heap corruption issue
that could occur if a malformed JSON string was passed on the control
channel.  In theory, it could be leveraged to create a heap exploit.
This vulnerability was discovered and reported by Dave McDaniel, Cisco
Talos.  More information can be found in security advisories
TALOS-CAN-0164 and ESNET-SECADV-2016-0001.  The CVE identifier
CVE-2016-4303 has been assigned for this vulnerability.

This release of iperf3 also supports the use of fair-queueing-based
per-socket pacing (in recent versions of the Linux kernel).  Several
other bugs and portability fixes are also included.

More information on changes can be found in the RELEASE_NOTES
file in the source distribution.

iperf3 is a tool for measuring the maximum TCP and UDP performance
along a path, allowing for the tuning of various parameters and
reporting measurements such as throughput, jitter, and datagram packet
loss.  It is fully supported on Linux, FreeBSD, and MacOS X.  It may
run on other platforms as well, although it has not received the same
attention and testing.  Note that iperf3 is not compatible with, and
will not interoperate with, version 2 or earlier of iperf.

The source code for iperf 3.1.3 is available at:

http://downloads.es.net/pub/iperf/iperf-3.1.3.tar.gz

SHA256 hash:

60d8db69b1d74a64d78566c2317c373a85fef691b8d277737ee5d29f448595bf  iperf-3.1.3.tar.gz

iperf3 is freely-redistributable under a 3-clause BSD license.  More
information can be found in the LICENSE file inside the source
distribution.

Additional documentation for iperf3 can be found at:

http://software.es.net/iperf

More information about iperf3 (including the issue tracker, source
code repository access, and mailing list) can be found on the iperf3
page on GitHub at:

https://github.com/esnet/iperf

The mailing list for iperf3 development is:

iperf-dev@...

To see the list archives or join the mailing list, visit:

http://groups.google.com/group/iperf-dev


Gmane