Gilles Ganault | 4 Jul 2011 15:53
Picon
Favicon

[2.0.5] "-r" causes iperf to crash

Hello,

I'm running iperf on a Ubuntu server and on an appliance running uClinux.

While using UDP works fine, and TCP also works fine when using the 
"-d" option, I notice that using the "-r" option causes the server to 
crash if ran after "-d":

========================================
server> iperf -s

OK client> iperf -c 192.168.0.3 -t 30 -i 1 -r

OK client> iperf -c 192.168.0.3 -t 30 -i 1 -d

NOK client> iperf -c 192.168.0.3 -t 30 -i 1 -r

**************** CLIENT
------------------------------------------------------------
Server listening on TCP port 5001
TCP window size: 85.3 KByte (default)
------------------------------------------------------------
connect failed: Connection refused
------------------------------------------------------------
Client connecting to 192.168.0.3, TCP port 5001
TCP window size: 16.0 KByte (default)
------------------------------------------------------------
write1 failed: Broken pipe
[  5] local 0.0.0.0 port 58085 connected with 192.168.0.3 port 5001
write2 failed: Broken pipe
(Continue reading)

Harkeerat Bedi | 6 Jul 2011 00:49
Favicon

iPerf 2.0.5, add additional information in server output.

Dear iPerf users, 


Is there a way to edit the amount of information displayed when iPerf is run in server mode? 

Following is the default information displayed, when iPerf is run in server mode:

$ iperf -s -u -i 1 -f mb
------------------------------------------------------------
Server listening on UDP port 5001
Receiving 1470 byte datagrams
UDP buffer size: 0.11 MByte (default)
------------------------------------------------------------
[  3] local 10.1.2.3 port 5001 connected with 10.1.1.4 port 52551
[ ID] Interval       Transfer     Bandwidth        Jitter   Lost/Total Datagrams
[  3]  0.0- 1.0 sec  0.12 MBytes  1.05 Mbits/sec   0.334 ms    0/   89 (0%)
[  3]  1.0- 2.0 sec  0.12 MBytes  1.05 Mbits/sec   0.329 ms    0/   89 (0%)
[  3]  2.0- 3.0 sec  0.12 MBytes  1.05 Mbits/sec   0.334 ms    0/   89 (0%)
[  3]  3.0- 4.0 sec  0.12 MBytes  1.05 Mbits/sec   0.331 ms    0/   89 (0%)
[  3]  4.0- 5.0 sec  0.12 MBytes  1.05 Mbits/sec   0.340 ms    0/   89 (0%)
[  3]  5.0- 6.0 sec  0.13 MBytes  1.06 Mbits/sec   0.347 ms    0/   90 (0%)
[  3]  6.0- 7.0 sec  0.12 MBytes  1.05 Mbits/sec   0.341 ms    0/   89 (0%)
[  3]  7.0- 8.0 sec  0.12 MBytes  1.05 Mbits/sec   0.349 ms    0/   89 (0%)
[  3]  8.0- 9.0 sec  0.12 MBytes  1.05 Mbits/sec   0.318 ms    0/   89 (0%)
[  3]  9.0-10.0 sec  0.12 MBytes  1.05 Mbits/sec   0.326 ms    0/   89 (0%)
[  3]  0.0-10.0 sec  1.25 MBytes  1.05 Mbits/sec   0.348 ms    0/  893 (0%)

Is there a way I could change the output to something like this: 

[  3] local 10.1.2.3 port 5001 connected with 10.1.1.4 port 52551
[ ID] Interval       Transfer     Bandwidth        Jitter   Lost/Total Datagrams
[  3]  0.0- 1.0 sec  0.12 MBytes  1.05 Mbits/sec   0.334 ms    0/   89 (0%) [  3] local 10.1.2.3 port 5001 connected with 10.1.1.4 port 52551
[  3]  1.0- 2.0 sec  0.12 MBytes  1.05 Mbits/sec   0.329 ms    0/   89 (0%) [  3] local 10.1.2.3 port 5001 connected with 10.1.1.4 port 52551
[  3]  2.0- 3.0 sec  0.12 MBytes  1.05 Mbits/sec   0.334 ms    0/   89 (0%) [  3] local 10.1.2.3 port 5001 connected with 10.1.1.4 port 52551
[  3]  3.0- 4.0 sec  0.12 MBytes  1.05 Mbits/sec   0.331 ms    0/   89 (0%) [  3] local 10.1.2.3 port 5001 connected with 10.1.1.4 port 52551
[  3]  4.0- 5.0 sec  0.12 MBytes  1.05 Mbits/sec   0.340 ms    0/   89 (0%) [  3] local 10.1.2.3 port 5001 connected with 10.1.1.4 port 52551
[  3]  5.0- 6.0 sec  0.13 MBytes  1.06 Mbits/sec   0.347 ms    0/   90 (0%) [  3] local 10.1.2.3 port 5001 connected with 10.1.1.4 port 52551
[  3]  6.0- 7.0 sec  0.12 MBytes  1.05 Mbits/sec   0.341 ms    0/   89 (0%) [  3] local 10.1.2.3 port 5001 connected with 10.1.1.4 port 52551
[  3]  7.0- 8.0 sec  0.12 MBytes  1.05 Mbits/sec   0.349 ms    0/   89 (0%) [  3] local 10.1.2.3 port 5001 connected with 10.1.1.4 port 52551
[  3]  8.0- 9.0 sec  0.12 MBytes  1.05 Mbits/sec   0.318 ms    0/   89 (0%) [  3] local 10.1.2.3 port 5001 connected with 10.1.1.4 port 52551
[  3]  9.0-10.0 sec  0.12 MBytes  1.05 Mbits/sec   0.326 ms    0/   89 (0%) [  3] local 10.1.2.3 port 5001 connected with 10.1.1.4 port 52551
[  3]  0.0-10.0 sec  1.25 MBytes  1.05 Mbits/sec   0.348 ms    0/  893 (0%) [  3] local 10.1.2.3 port 5001 connected with 10.1.1.4 port 52551
 

I want to get the source and destination IP addresses and port numbers on each line, as shown above. I tried to edit the following structs in Reporter.c by including a call to the function "reporter_reportpeer", however it did not help. 

report_statistics statistics_reports[kReport_MAXIMUM] = {
    reporter_printstats,
    reporter_reportpeer,
    CSV_stats
};

report_serverstatistics serverstatistics_reports[kReport_MAXIMUM] = {
    reporter_serverstats,
    reporter_reportpeer,
    CSV_serverstats
};

Is there a way I can get the source and destination IP addresses and port numbers on each line? Any help regarding this subject will be highly appreciated. 

Thank you, 

Regards,
Harkeerat Bedi
------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Iperf-users mailing list
Iperf-users@...
https://lists.sourceforge.net/lists/listinfo/iperf-users
Gary Gatten | 6 Jul 2011 01:18

Re: iPerf 2.0.5, add additional information in server output.

I’m sure there is a way, but why?  It’s redundant info.  If nothing else you could pass it through sed/awk/etc and tweak it that way, but I would keep going with the source if that’s what you want, and create a patch for if/when you upgrade.

 

G

 

 

From: Harkeerat Bedi [mailto:hsbedi-lg4TTeReta+Vc3sceRu5cw@public.gmane.org]
Sent: Tuesday, July 05, 2011 5:49 PM
To: iperf-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: [Iperf-users] iPerf 2.0.5, add additional information in server output.

 

Dear iPerf users, 

 

Is there a way to edit the amount of information displayed when iPerf is run in server mode? 

 

Following is the default information displayed, when iPerf is run in server mode:

 

$ iperf -s -u -i 1 -f mb

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

Server listening on UDP port 5001

Receiving 1470 byte datagrams

UDP buffer size: 0.11 MByte (default)

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

[  3] local 10.1.2.3 port 5001 connected with 10.1.1.4 port 52551

[ ID] Interval       Transfer     Bandwidth        Jitter   Lost/Total Datagrams

[  3]  0.0- 1.0 sec  0.12 MBytes  1.05 Mbits/sec   0.334 ms    0/   89 (0%)

[  3]  1.0- 2.0 sec  0.12 MBytes  1.05 Mbits/sec   0.329 ms    0/   89 (0%)

[  3]  2.0- 3.0 sec  0.12 MBytes  1.05 Mbits/sec   0.334 ms    0/   89 (0%)

[  3]  3.0- 4.0 sec  0.12 MBytes  1.05 Mbits/sec   0.331 ms    0/   89 (0%)

[  3]  4.0- 5.0 sec  0.12 MBytes  1.05 Mbits/sec   0.340 ms    0/   89 (0%)

[  3]  5.0- 6.0 sec  0.13 MBytes  1.06 Mbits/sec   0.347 ms    0/   90 (0%)

[  3]  6.0- 7.0 sec  0.12 MBytes  1.05 Mbits/sec   0.341 ms    0/   89 (0%)

[  3]  7.0- 8.0 sec  0.12 MBytes  1.05 Mbits/sec   0.349 ms    0/   89 (0%)

[  3]  8.0- 9.0 sec  0.12 MBytes  1.05 Mbits/sec   0.318 ms    0/   89 (0%)

[  3]  9.0-10.0 sec  0.12 MBytes  1.05 Mbits/sec   0.326 ms    0/   89 (0%)

[  3]  0.0-10.0 sec  1.25 MBytes  1.05 Mbits/sec   0.348 ms    0/  893 (0%)

 

Is there a way I could change the output to something like this: 

 

[  3] local 10.1.2.3 port 5001 connected with 10.1.1.4 port 52551

[ ID] Interval       Transfer     Bandwidth        Jitter   Lost/Total Datagrams

[  3]  0.0- 1.0 sec  0.12 MBytes  1.05 Mbits/sec   0.334 ms    0/   89 (0%) [  3] local 10.1.2.3 port 5001 connected with 10.1.1.4 port 52551

[  3]  1.0- 2.0 sec  0.12 MBytes  1.05 Mbits/sec   0.329 ms    0/   89 (0%) [  3] local 10.1.2.3 port 5001 connected with 10.1.1.4 port 52551

[  3]  2.0- 3.0 sec  0.12 MBytes  1.05 Mbits/sec   0.334 ms    0/   89 (0%) [  3] local 10.1.2.3 port 5001 connected with 10.1.1.4 port 52551

[  3]  3.0- 4.0 sec  0.12 MBytes  1.05 Mbits/sec   0.331 ms    0/   89 (0%) [  3] local 10.1.2.3 port 5001 connected with 10.1.1.4 port 52551

[  3]  4.0- 5.0 sec  0.12 MBytes  1.05 Mbits/sec   0.340 ms    0/   89 (0%) [  3] local 10.1.2.3 port 5001 connected with 10.1.1.4 port 52551

[  3]  5.0- 6.0 sec  0.13 MBytes  1.06 Mbits/sec   0.347 ms    0/   90 (0%) [  3] local 10.1.2.3 port 5001 connected with 10.1.1.4 port 52551

[  3]  6.0- 7.0 sec  0.12 MBytes  1.05 Mbits/sec   0.341 ms    0/   89 (0%) [  3] local 10.1.2.3 port 5001 connected with 10.1.1.4 port 52551

[  3]  7.0- 8.0 sec  0.12 MBytes  1.05 Mbits/sec   0.349 ms    0/   89 (0%) [  3] local 10.1.2.3 port 5001 connected with 10.1.1.4 port 52551

[  3]  8.0- 9.0 sec  0.12 MBytes  1.05 Mbits/sec   0.318 ms    0/   89 (0%) [  3] local 10.1.2.3 port 5001 connected with 10.1.1.4 port 52551

[  3]  9.0-10.0 sec  0.12 MBytes  1.05 Mbits/sec   0.326 ms    0/   89 (0%) [  3] local 10.1.2.3 port 5001 connected with 10.1.1.4 port 52551

[  3]  0.0-10.0 sec  1.25 MBytes  1.05 Mbits/sec   0.348 ms    0/  893 (0%) [  3] local 10.1.2.3 port 5001 connected with 10.1.1.4 port 52551

 

 

I want to get the source and destination IP addresses and port numbers on each line, as shown above. I tried to edit the following structs in Reporter.c by including a call to the function "reporter_reportpeer", however it did not help. 

 

report_statistics statistics_reports[kReport_MAXIMUM] = {

    reporter_printstats,

    reporter_reportpeer,

    CSV_stats

};

 

report_serverstatistics serverstatistics_reports[kReport_MAXIMUM] = {

    reporter_serverstats,

    reporter_reportpeer,

    CSV_serverstats

};

 

Is there a way I can get the source and destination IP addresses and port numbers on each line? Any help regarding this subject will be highly appreciated. 

 

Thank you, 

 

Regards,
Harkeerat Bedi

"This email is intended to be reviewed by only the intended recipient and may contain information that is privileged and/or confidential. If you are not the intended recipient, you are hereby notified that any review, use, dissemination, disclosure or copying of this email and its attachments, if any, is strictly prohibited. If you have received this email in error, please immediately notify the sender by return email and delete this email from your system."
------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Iperf-users mailing list
Iperf-users@...
https://lists.sourceforge.net/lists/listinfo/iperf-users
Harkeerat Bedi | 6 Jul 2011 02:04
Favicon

Re: iPerf 2.0.5, add additional information in server output.

Yes, you are right, it can be done through sed/awk/etc. Part of my project requires using iPerf where it generates a lot of output. I was trying to edit iPerf as I thought it may be easier this way. And may be I could learn a bit about how it works in the process. I wanted to keep scripting as the last option. Can you give me some feedback/hints as to how I can accomplish this by editing iPerf?


Thank you,  

Regards,
Harkeerat Bedi


On Tue, Jul 5, 2011 at 6:18 PM, Gary Gatten <Ggatten <at> waddell.com> wrote:

I’m sure there is a way, but why?  It’s redundant info.  If nothing else you could pass it through sed/awk/etc and tweak it that way, but I would keep going with the source if that’s what you want, and create a patch for if/when you upgrade.

 

G

 

 

From: Harkeerat Bedi [mailto:hsbedi <at> memphis.edu]
Sent: Tuesday, July 05, 2011 5:49 PM
To: iperf-users-5NWGOfrQmneHXe+LvDLADg@public.gmane.orgrceforge.net
Subject: [Iperf-users] iPerf 2.0.5, add additional information in server output.

 

Dear iPerf users, 

 

Is there a way to edit the amount of information displayed when iPerf is run in server mode? 

 

Following is the default information displayed, when iPerf is run in server mode:

 

$ iperf -s -u -i 1 -f mb

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

Server listening on UDP port 5001

Receiving 1470 byte datagrams

UDP buffer size: 0.11 MByte (default)

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

[  3] local 10.1.2.3 port 5001 connected with 10.1.1.4 port 52551

[ ID] Interval       Transfer     Bandwidth        Jitter   Lost/Total Datagrams

[  3]  0.0- 1.0 sec  0.12 MBytes  1.05 Mbits/sec   0.334 ms    0/   89 (0%)

[  3]  1.0- 2.0 sec  0.12 MBytes  1.05 Mbits/sec   0.329 ms    0/   89 (0%)

[  3]  2.0- 3.0 sec  0.12 MBytes  1.05 Mbits/sec   0.334 ms    0/   89 (0%)

[  3]  3.0- 4.0 sec  0.12 MBytes  1.05 Mbits/sec   0.331 ms    0/   89 (0%)

[  3]  4.0- 5.0 sec  0.12 MBytes  1.05 Mbits/sec   0.340 ms    0/   89 (0%)

[  3]  5.0- 6.0 sec  0.13 MBytes  1.06 Mbits/sec   0.347 ms    0/   90 (0%)

[  3]  6.0- 7.0 sec  0.12 MBytes  1.05 Mbits/sec   0.341 ms    0/   89 (0%)

[  3]  7.0- 8.0 sec  0.12 MBytes  1.05 Mbits/sec   0.349 ms    0/   89 (0%)

[  3]  8.0- 9.0 sec  0.12 MBytes  1.05 Mbits/sec   0.318 ms    0/   89 (0%)

[  3]  9.0-10.0 sec  0.12 MBytes  1.05 Mbits/sec   0.326 ms    0/   89 (0%)

[  3]  0.0-10.0 sec  1.25 MBytes  1.05 Mbits/sec   0.348 ms    0/  893 (0%)

 

Is there a way I could change the output to something like this: 

 

[  3] local 10.1.2.3 port 5001 connected with 10.1.1.4 port 52551

[ ID] Interval       Transfer     Bandwidth        Jitter   Lost/Total Datagrams

[  3]  0.0- 1.0 sec  0.12 MBytes  1.05 Mbits/sec   0.334 ms    0/   89 (0%) [  3] local 10.1.2.3 port 5001 connected with 10.1.1.4 port 52551

[  3]  1.0- 2.0 sec  0.12 MBytes  1.05 Mbits/sec   0.329 ms    0/   89 (0%) [  3] local 10.1.2.3 port 5001 connected with 10.1.1.4 port 52551

[  3]  2.0- 3.0 sec  0.12 MBytes  1.05 Mbits/sec   0.334 ms    0/   89 (0%) [  3] local 10.1.2.3 port 5001 connected with 10.1.1.4 port 52551

[  3]  3.0- 4.0 sec  0.12 MBytes  1.05 Mbits/sec   0.331 ms    0/   89 (0%) [  3] local 10.1.2.3 port 5001 connected with 10.1.1.4 port 52551

[  3]  4.0- 5.0 sec  0.12 MBytes  1.05 Mbits/sec   0.340 ms    0/   89 (0%) [  3] local 10.1.2.3 port 5001 connected with 10.1.1.4 port 52551

[  3]  5.0- 6.0 sec  0.13 MBytes  1.06 Mbits/sec   0.347 ms    0/   90 (0%) [  3] local 10.1.2.3 port 5001 connected with 10.1.1.4 port 52551

[  3]  6.0- 7.0 sec  0.12 MBytes  1.05 Mbits/sec   0.341 ms    0/   89 (0%) [  3] local 10.1.2.3 port 5001 connected with 10.1.1.4 port 52551

[  3]  7.0- 8.0 sec  0.12 MBytes  1.05 Mbits/sec   0.349 ms    0/   89 (0%) [  3] local 10.1.2.3 port 5001 connected with 10.1.1.4 port 52551

[  3]  8.0- 9.0 sec  0.12 MBytes  1.05 Mbits/sec   0.318 ms    0/   89 (0%) [  3] local 10.1.2.3 port 5001 connected with 10.1.1.4 port 52551

[  3]  9.0-10.0 sec  0.12 MBytes  1.05 Mbits/sec   0.326 ms    0/   89 (0%) [  3] local 10.1.2.3 port 5001 connected with 10.1.1.4 port 52551

[  3]  0.0-10.0 sec  1.25 MBytes  1.05 Mbits/sec   0.348 ms    0/  893 (0%) [  3] local 10.1.2.3 port 5001 connected with 10.1.1.4 port 52551

 

 

I want to get the source and destination IP addresses and port numbers on each line, as shown above. I tried to edit the following structs in Reporter.c by including a call to the function "reporter_reportpeer", however it did not help. 

 

report_statistics statistics_reports[kReport_MAXIMUM] = {

    reporter_printstats,

    reporter_reportpeer,

    CSV_stats

};

 

report_serverstatistics serverstatistics_reports[kReport_MAXIMUM] = {

    reporter_serverstats,

    reporter_reportpeer,

    CSV_serverstats

};

 

Is there a way I can get the source and destination IP addresses and port numbers on each line? Any help regarding this subject will be highly appreciated. 

 

Thank you, 

 

Regards,
Harkeerat Bedi

"This email is intended to be reviewed by only the intended recipient and may contain information that is privileged and/or confidential. If you are not the intended recipient, you are hereby notified that any review, use, dissemination, disclosure or copying of this email and its attachments, if any, is strictly prohibited. If you have received this email in error, please immediately notify the sender by return email and delete this email from your system."

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Iperf-users mailing list
Iperf-users@...
https://lists.sourceforge.net/lists/listinfo/iperf-users
Jimmy Cullen | 7 Jul 2011 17:06
Picon
Picon
Favicon

iperf UDP on a 10 gigabit link

Hi,

I am using iperf-2.0.5 to measure UDP throughput on a 10 Gbps link, however test results do not go above 4.99
Gbps. When using TCP however the test shows 9.90 Gbps.

Has anyone been able to operate iperf with UDP above 5 Gbps?

Thanks,

Jimmy

jimmy <at> jbraid2:~/old/iperf-2.0.5/src$ ./iperf -u -c 192.168.10.101 -w 16M -b 10000m -l 8972
------------------------------------------------------------
Client connecting to 192.168.10.101, UDP port 5001
Sending 8972 byte datagrams
UDP buffer size: 32.0 MByte (WARNING: requested 16.0 MByte)
------------------------------------------------------------
[  3] local 192.168.10.103 port 42070 connected with 192.168.10.101 port 5001
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0-10.0 sec  5.81 GBytes  4.99 Gbits/sec
[  3] Sent 695918 datagrams
[  3] Server Report:
[  3]  0.0-10.0 sec  5.81 GBytes  4.98 Gbits/sec   0.814 ms    0/695917 (0%)
[  3]  0.0-10.0 sec  1 datagrams received out-of-order

jimmy <at> jbraid2:~/old/iperf-2.0.5/src$ ./iperf -w 16M -c 192.168.10.101
------------------------------------------------------------
Client connecting to 192.168.10.101, TCP port 5001
TCP window size: 32.0 MByte (WARNING: requested 16.0 MByte)
------------------------------------------------------------
[  3] local 192.168.10.103 port 48529 connected with 192.168.10.101 port 5001
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0-10.0 sec  11.5 GBytes  9.90 Gbits/sec

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Iperf-users mailing list
Iperf-users@...
https://lists.sourceforge.net/lists/listinfo/iperf-users

Gary Gatten | 7 Jul 2011 17:33

Re: iperf UDP on a 10 gigabit link

Do you have jumbo frames enabled, or is that the default on 10Gb interfaces?

What's your CPU(s) doing during this process? Have you tried say a 1300 byte datagram?

Lastly, the code to throttle using UDP uses a... "coarse" timer.  Well, in CPU terms it's coarse.  Have you
tried simply specifying -u instead of -b?  If -b is mandatory, you MAY have to tweak the code to use a finer
timer in the throttling process.  Disclaimer:  I am a Network Engineer not a professional developer.  I
tweaked the source some years back to address a CPU usage issue when using "-b", and that was based on info
from the web.  I know a LITTLE about programming - but 100% NOT an expert by ANY stretch!

I don't have 10Gb link so can't help test.

-----Original Message-----
From: Jimmy Cullen [mailto:jcullen@...] 
Sent: Thursday, July 07, 2011 10:06 AM
To: iperf-users@...
Subject: [Iperf-users] iperf UDP on a 10 gigabit link

Hi,

I am using iperf-2.0.5 to measure UDP throughput on a 10 Gbps link, however test results do not go above 4.99
Gbps. When using TCP however the test shows 9.90 Gbps.

Has anyone been able to operate iperf with UDP above 5 Gbps?

Thanks,

Jimmy

jimmy <at> jbraid2:~/old/iperf-2.0.5/src$ ./iperf -u -c 192.168.10.101 -w 16M -b 10000m -l 8972
------------------------------------------------------------
Client connecting to 192.168.10.101, UDP port 5001
Sending 8972 byte datagrams
UDP buffer size: 32.0 MByte (WARNING: requested 16.0 MByte)
------------------------------------------------------------
[  3] local 192.168.10.103 port 42070 connected with 192.168.10.101 port 5001
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0-10.0 sec  5.81 GBytes  4.99 Gbits/sec
[  3] Sent 695918 datagrams
[  3] Server Report:
[  3]  0.0-10.0 sec  5.81 GBytes  4.98 Gbits/sec   0.814 ms    0/695917 (0%)
[  3]  0.0-10.0 sec  1 datagrams received out-of-order

jimmy <at> jbraid2:~/old/iperf-2.0.5/src$ ./iperf -w 16M -c 192.168.10.101
------------------------------------------------------------
Client connecting to 192.168.10.101, TCP port 5001
TCP window size: 32.0 MByte (WARNING: requested 16.0 MByte)
------------------------------------------------------------
[  3] local 192.168.10.103 port 48529 connected with 192.168.10.101 port 5001
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0-10.0 sec  11.5 GBytes  9.90 Gbits/sec

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Iperf-users mailing list
Iperf-users@...
https://lists.sourceforge.net/lists/listinfo/iperf-users

<font size="1">
<div style='border:none;border-bottom:double windowtext 2.25pt;padding:0in 0in 1.0pt 0in'>
</div>
"This email is intended to be reviewed by only the intended recipient
 and may contain information that is privileged and/or confidential.
 If you are not the intended recipient, you are hereby notified that
 any review, use, dissemination, disclosure or copying of this email
 and its attachments, if any, is strictly prohibited.  If you have
 received this email in error, please immediately notify the sender by
 return email and delete this email from your system."
</font>

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Iperf-users mailing list
Iperf-users@...
https://lists.sourceforge.net/lists/listinfo/iperf-users

Max Ip | 8 Jul 2011 12:35

TCP bandwidth in infrastructure mode (AP)

Hi all,

I am new to iperf. I have configured an accesspoint (asus wireless AP
WL-330gE) in gateway mode. It has 3 clients now.

AP
1----2-----3

1 is connected via RJ45 ethernet (100Mbps), 2 and 3 via wifi to AP.
The wifi based clients have Managed mode and use IEEE 802.11abg.

The access point is working on IEEE 802.11g mode (Bandwidth upto 54Mbps).

The iwconfig on client2 and client3 show the bitrate of 54Mbps.

Now, I want to calculate the bandwidth associated in the links

I used iperf -s on 1 and
iperf -c ip_of_1 on 2 and 3.

I found the following results:

The bandwidth between 1---AP----2 was 27.5 Mbps
The bandwidth between 1---AP----3 was 29.6 Mbps
The bandwidth between 2---AP----3 was 13.4 Mbps

I don't actually get the pattern of bandwidth drop in all these
communication links. Could anyone explain me why is the bandwidth for
each case so low?

Thankyou

IP MAX

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Iperf-users mailing list
Iperf-users@...
https://lists.sourceforge.net/lists/listinfo/iperf-users

jobhunts02 | 25 Jul 2011 19:53
Picon
Favicon

Trouble setting IPv6 traffic class (QoS) bits

I am running iperf 2.0.5 on 2.6.23.1-42.fc8.  I want to use the -S option to set the traffic class (QoS) bits.

Using the following command;

iperf -c fec0::4:f5d2:c695:40e3:cab6 -b 10k -t 1000000 -S 0x38 -p 5111 -l 64 -V

With tcpdump, I can see that the traffic class is still 0x0.

I know the -S option works with IPv4.  Does it work with IPv6?  If so, what am I doing wrong?
------------------------------------------------------------------------------
Storage Efficiency Calculator
This modeling tool is based on patent-pending intellectual property that
has been used successfully in hundreds of IBM storage optimization engage-
ments, worldwide.  Store less, Store more with what you own, Move data to 
the right place. Try It Now! http://www.accelacomm.com/jaw/sfnl/114/51427378/
_______________________________________________
Iperf-users mailing list
Iperf-users@...
https://lists.sourceforge.net/lists/listinfo/iperf-users

Jeroen van Ingen | 30 Jul 2011 11:36
Picon

Re: TCP bandwidth in infrastructure mode (AP)

Hi Max,

> I am new to iperf. I have configured an accesspoint (asus wireless AP
> WL-330gE) in gateway mode. It has 3 clients now.
> 1 is connected via RJ45 ethernet (100Mbps), 2 and 3 via wifi to AP.
> The wifi based clients have Managed mode and use IEEE 802.11abg.
>
> The access point is working on IEEE 802.11g mode (Bandwidth upto 54Mbps).
> Now, I want to calculate the bandwidth associated in the links
>
> I found the following results:
>
> The bandwidth between 1---AP----2 was 27.5 Mbps
> The bandwidth between 1---AP----3 was 29.6 Mbps
> The bandwidth between 2---AP----3 was 13.4 Mbps
>
> I don't actually get the pattern of bandwidth drop in all these
> communication links. Could anyone explain me why is the bandwidth for
> each case so low?

These numbers are actually as expected. The maximum capacity in the cell 
(54 Mbps in your case) is half duplex, "the air" it uses is a shared 
medium and the 802.11 protocol has a lot of overhead and delays (for 
good reason imho). Only one packet can be transmitted in any direction 
at any time, otherwise it will be corrupted or lost.

For cases 1<->2 and 1<->3 the bandwidth is roughly equal, this is about 
the max you'll even see on a 54 Mbps wireless connection. You won't get 
more than 50-55% of the "advertised" bandwidth; the rest is mostly lost 
in protocol overhead [1] and a bit is lost because the receiver will 
have to acknowledge the TCP segments it receives. Sending back the ACKs 
also takes up some airtime.

Between two wireless stations, the througput halves again: each packet 
travels over the air twice. Once from the sending station to the AP, 
once from the AP to the receiving station.

Regards,
Jeroen van Ingen

[1] 
http://wirelesslanprofessionals.com/why-is-the-wireless-network-slow-overhead-issues/ 
(mentions 802.11b but is equally valid for 802.11a and 802.11g; 802.11n 
has a couple of optimizations iirc)

------------------------------------------------------------------------------
Got Input?   Slashdot Needs You.
Take our quick survey online.  Come on, we don't ask for help often.
Plus, you'll get a chance to win $100 to spend on ThinkGeek.
http://p.sf.net/sfu/slashdot-survey
_______________________________________________
Iperf-users mailing list
Iperf-users@...
https://lists.sourceforge.net/lists/listinfo/iperf-users


Gmane