Skip to Content.
Sympa Menu

perfsonar-user - Re: [perfsonar-user] Re: Iperf3 + bandwidth for TCP

Subject: perfSONAR User Q&A and Other Discussion

List archive

Re: [perfsonar-user] Re: Iperf3 + bandwidth for TCP


Chronological Thread 
  • From: "Uhl, George D. (GSFC-423.0)[SGT INC]" <>
  • To: Arman Mohsin <>, Brian Tierney <>
  • Cc: "" <>, "" <>, "" <>, "" <>
  • Subject: Re: [perfsonar-user] Re: Iperf3 + bandwidth for TCP
  • Date: Mon, 15 May 2017 14:02:14 +0000
  • Accept-language: en-US
  • Dkim-filter: OpenDKIM Filter v2.11.0 ndmsvnpf103.ndc.nasa.gov 8DF2A40120E8
  • Ironport-phdr: 9a23:QlyLDRJwOsnpVctYG9mcpTZWNBhigK39O0sv0rFitYgXK/j/rarrMEGX3/hxlliBBdydsKMbzbON+P6xEUU7or+5+EgYd5JNUxJXwe43pCcHRPC/NEvgMfTxZDY7FskRHHVs/nW8LFQHUJ2mPw6arXK99yMdFQviPgRpOOv1BpTSj8Oq3Oyu5pHfeQtFiT6/bL9oMRm7owrdu8gSjIB/Nqs/1xzFr2dSde9L321oP1WTnxj95se04pFu9jlbtuwi+cBdT6j0Zrw0QrNEAjsoNWA1/9DrugLYTQST/HscU34ZnQRODgPY8Rz1RJbxsi/9tupgxCmXOND9QL4oVTi+6apgVQTlgzkbOTEn7G7Xi9RwjKNFrxKnuxx/2JPfbIWMOPZjYq/RYdYWSGxPUcZLUyxKH52yYY0BAeEcOepUtobwq14IoBCjBwejGfnvxydIiHHowKM6z+ovHwLI3AMiEd0OsWjbo9ruOagITey41rPFwSnZYv9I3zr29YjGcgomofGJRb98f8TeyUkrFw/dk16eqJLqPzSP1uQCrWeQ8uRuWfiygGIjqg9/vzihy9k1hoTGmI4YxErI+Tl8zIkxONO2SVB1asOnHpVIqSyVMYV6Sd4lTmFnpik6zacGuZGlcyQQ1Zsr3QPfa/yDc4WT5BLsTv2RLi1iiHJqf7K/mQ+//E69wePyUcm01UxFritDktTUqH8NzAbf6s6ZRfth5kuh3CyA1wbR5+1eJkA0j6XbJpg8ybAzjpoeqVnPEyv1lUnskaOaa0cp9vK05+j9f7nrppGRO5dphgz6MakigNGzDfk7PwQUQmSW/eex2Kf98UHkXLlGluA6n6jdvZzAO8gWpqG0DxVI3oo59RqzEzer3dIFlncdNl1FYgiIj43xNlHOPv/4CfC/jkyqkDh2wvDGJaPhApPVLnjNjbvtYbhw51RayAUu0d9T/ZRUBasaIP3pQEPxu9vYDgEhPwy1xeboFsl925sDVW+LAaKVKr7evUKK6+41P+WAfpIZtTbzJvQ94v7hl345mVsTfamz2psXbWi1Hvt4LEWee3rsjckOHX0XsQYkUezqiFmCXCVVZ3moRKIz/Cs3CI2hDYfdXoytmqCO3D+nHp1KYWBLEkiMHmnyd4WKQPcMbySSLdV7kjAdSLeuVZEh2g+qtA/907poMPDU9zYctZLiz9h1+/bTmQ8o+Tx1CcSdz3+CT3tynmwWWz86wrpzrlJgxVeeyaJ4meBXFcRP5/NVVQc3LYbcwPJgC9D8QQLBedGJR0y8Qtm/HDExVcw+w8UVbkZ5GtWilQzD3zG0D7MPlryLAoA0/bzG33j3Ocl912jK2LM/gFY7X8scfVGh04dl8gHVT6vOk16Yke7+fL4Z1SiL8WCD1muI7RFwXwt5UKGDVncaMA+eh87470WKc76jE7IqI0MVw8qeK6ZQbND4pVhdAvHuJIKNTXi2njL6OBaMgvujYY3wdGhV8GOVSGc/vStWoSzdc1B/NRyOnyr/KhdbXxq7bE7r6+Zz7n/9U08w5weDdEQn2L2rrE1GzceAQu8ei+pX8BwqrC95SRPkh47b

Hi Arman,

Make sure the FQ is enabled in the kernel:


George

From: <> on behalf of Arman Mohsin <>
Date: Sunday, May 14, 2017 at 4:46 PM
To: Brian Tierney <>
Cc: "" <>, "" <>, "" <>, "" <>
Subject: [perfsonar-user] Re: Iperf3 + bandwidth for TCP

But --fq-rate is not limiting my bandwidth for example to 300mbit as you can see in the following example. 

iperf3 -c $SERVER_ADDRESS  --fq-rate 300M -p $PORT -t $TIME -i $INTERVAL -C, --linux-congestion cubic -Z 

The output at the server end is

[ ID] Interval           Transfer     Bandwidth
[  5]   0.00-1.00   sec   110 MBytes   919 Mbits/sec                  
[  5]   1.00-2.00   sec   116 MBytes   976 Mbits/sec                  
[  5]   2.00-3.00   sec   122 MBytes  1.03 Gbits/sec                  
[  5]   3.00-4.00   sec   117 MBytes   985 Mbits/sec                  
[  5]   4.00-5.00   sec   127 MBytes  1.06 Gbits/sec                  
[  5]   5.00-5.04   sec  5.23 MBytes  1.00 Gbits/sec                  
- - - - - - - - - - - - - - - - - - - - - - - - -
Test Complete. Summary Results:
[ ID] Interval           Transfer     Bandwidth
[  5]   0.00-5.04   sec  0.00 Bytes  0.00 bits/sec                  sender
[  5]   0.00-5.04   sec   597 MBytes   994 Mbits/sec                  receiver
CPU Utilization: local/receiver 1.3% (0.1%u/1.2%s), remote/sender 0.0% (0.0%u/0.0%s

On Sun, May 14, 2017 at 9:18 PM, Brian Tierney <> wrote:

-b works for both TCP and UDP, but --fq-rate works much better for TCP on CentOS7/Debian8 based hosts, as it does kernel-level pacing, not user-level pacing.



On Sat, May 13, 2017 at 7:54 PM, Arman Mohsin <> wrote:
Hi Brian,

Hope all is well. Does the iperf3 -c -b option limit bandwidth for TCP as well or is it ONLY for UDP? I tried to read the documentation in the man page but it is a bit confusing. In the earlier versions of iperf the -b option is used to test only UDP but I am not sure if it supports in the latest version (iperf3)


Regards,

Arman



--
Brian Tierney, http://www.es.net/tierney
Energy Sciences Network (ESnet), Berkeley National Lab
http://fasterdata.es.net





Archive powered by MHonArc 2.6.19.

Top of Page