From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from bobcat.rjmcmahon.com (bobcat.rjmcmahon.com [45.33.58.123]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.bufferbloat.net (Postfix) with ESMTPS id 1C5FA3B29E; Fri, 12 May 2023 12:00:45 -0400 (EDT) Received: from mail.rjmcmahon.com (bobcat.rjmcmahon.com [45.33.58.123]) by bobcat.rjmcmahon.com (Postfix) with ESMTPA id 5608A1B258; Fri, 12 May 2023 09:00:44 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 bobcat.rjmcmahon.com 5608A1B258 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rjmcmahon.com; s=bobcat; t=1683907244; bh=pPEqWmv+qDXkHiWJlvdazZgdYplyX6wRI/9Ds75h+ec=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=qDN42sIW/ejotH7Hir/9xnrf+bLmnOnEXJgv6w6XaNcrtUP2zY8jG4K7z0NTD627v r1lGVKoCPjiKVClD38JrjeoCgDdRpksrTyojEM4Wz7K13h/PE5tTojtZbFeLkITjvq EDh+QIrnerGt4dlZc5GnE6gsYvlk9cwPeEJg9IlQ= MIME-Version: 1.0 Date: Fri, 12 May 2023 09:00:44 -0700 From: rjmcmahon To: Dave Taht Cc: bloat , Rpm In-Reply-To: References: Message-ID: <34013050bb7e81c2ccd6dc4f0e36de01@rjmcmahon.com> X-Sender: rjmcmahon@rjmcmahon.com Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Rpm] iperf 2 bounceback - independent request/reply sizes X-BeenThere: rpm@lists.bufferbloat.net X-Mailman-Version: 2.1.20 Precedence: list List-Id: revolutions per minute - a new metric for measuring responsiveness List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 May 2023 16:00:45 -0000 For completeness, here are the bounceback cli options. --bounceback[=n] run a TCP bounceback or rps test with optional number writes in a burst per value of n. The default is ten writes every period and the default period is one second (Note: set size with --bounceback-request). See NOTES on clock unsynchronized detections. --bounceback-hold n request the server to insert a delay of n milliseconds between its read and write (default is no delay) --bounceback-no-quickack request the server not set the TCP_QUICKACK socket option (disabling TCP ACK delays) during a bounceback test (see NOTES) --bounceback-period[=n] request the client schedule its send(s) every n seconds (default is one second, use zero value for immediate or continuous back to back) --bounceback-request n set the bounceback request size in units bytes. Default value is 100 bytes. --bounceback-reply n set the bounceback reply size in units bytes. This supports asymmetric message sizes between the request and the reply. Default value is zero, which uses the value of --bounceback-request. Note: Coming up with a weighted graph (delays & sizes) for working-load is on the todo list. Thoughts about this are appreciated. Defining a graph on the cli seems a requirement. Bob > Hi All, > > I received a recent diff for iperf 2 to support independent request > and reply sizes for the bounceback test. It's nice to get diffs that > can be patched in! > > [root@ctrl1fc35 ~]# iperf -c 192.168.1.231 --bounceback > --bounceback-reply 512K > ------------------------------------------------------------ > Client connecting to 192.168.1.231, TCP port 5001 with pid 305401 (1 > flows) > Bounceback test (req/reply size = 100 Byte/ 512 KByte) (server hold > req=0 usecs & tcp_quickack) > Bursting request 10 times every 1.00 second(s) > TCP congestion control using reno > TOS set to 0x0 and nodelay (Nagle off) > TCP window size: 85.0 KByte (default) > ------------------------------------------------------------ > [ 1] local 192.168.1.15%enp2s0 port 42800 connected with > 192.168.1.231 port 5001 (bb w/quickack len/hold=100/0) (sock=3) > (icwnd/mss/irtt=14/1448/3302) (ct=3.36 ms) on 2023-05-12 08:36:57.163 > (PDT) > [ ID] Interval Transfer Bandwidth BB > cnt=avg/min/max/stdev Rtry Cwnd/RTT RPS(avg) > [ 1] 0.00-1.00 sec 5.00 MBytes 42.0 Mbits/sec > 10=10.924/7.497/27.463/5.971 ms 0 14K/3992 us 92 rps > [ 1] 1.00-2.00 sec 5.00 MBytes 42.0 Mbits/sec > 10=10.068/7.274/21.120/3.963 ms 0 14K/4307 us 99 rps > [ 1] 2.00-3.00 sec 5.00 MBytes 42.0 Mbits/sec > 10=9.674/8.148/17.413/2.798 ms 0 14K/4243 us 103 rps > [ 1] 3.00-4.00 sec 5.00 MBytes 42.0 Mbits/sec > 10=9.858/7.587/20.889/3.961 ms 0 14K/4474 us 101 rps > [ 1] 4.00-5.00 sec 5.00 MBytes 42.0 Mbits/sec > 10=9.872/7.558/17.720/2.842 ms 0 14K/4692 us 101 rps > [ 1] 5.00-6.00 sec 5.00 MBytes 42.0 Mbits/sec > 10=9.649/6.844/18.537/3.205 ms 0 14K/4301 us 104 rps > [ 1] 6.00-7.00 sec 5.00 MBytes 42.0 Mbits/sec > 10=9.502/7.083/19.839/3.697 ms 0 14K/4153 us 105 rps > [ 1] 7.00-8.00 sec 5.00 MBytes 42.0 Mbits/sec > 10=9.965/7.747/22.194/4.350 ms 0 14K/4357 us 100 rps > [ 1] 8.00-9.00 sec 5.00 MBytes 42.0 Mbits/sec > 10=10.072/7.936/20.307/3.730 ms 0 14K/4442 us 99 rps > [ 1] 9.00-10.00 sec 5.00 MBytes 42.0 Mbits/sec > 10=10.031/8.109/19.907/3.551 ms 0 14K/4086 us 100 rps > [ 1] 0.00-10.02 sec 50.0 MBytes 41.9 Mbits/sec > 100=9.962/6.844/27.463/3.740 ms 0 14K/4152 us 100 rps > [ 1] 0.00-10.02 sec BB8(f)-PDF: > bin(w=100us):cnt(100)=69:1,71:1,73:1,75:1,76:3,77:1,78:2,79:3,80:3,81:1,82:6,83:7,84:1,85:3,86:4,87:4,88:4,89:5,90:7,91:3,92:4,93:2,95:8,96:3,97:1,98:1,99:1,101:3,102:1,103:1,104:1,106:2,123:1,175:1,178:1,186:1,199:1,200:1,204:1,209:1,212:1,222:1,275:1 > (5.00/95.00/99.7%=76/204/275,Outliers=1,obl/obu=0/0) > > Bob