From owner-freebsd-net@freebsd.org Sat Oct 1 21:44:33 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C052AA94894 for ; Sat, 1 Oct 2016 21:44:33 +0000 (UTC) (envelope-from rjmcmahon@rjmcmahon.com) Received: from bobcat.rjmcmahon.com (unknown [IPv6:2600:3c01::f03c:91ff:fe61:c6c]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B04E12E4 for ; Sat, 1 Oct 2016 21:44:33 +0000 (UTC) (envelope-from rjmcmahon@rjmcmahon.com) Received: from [192.168.100.10] (c-24-6-222-49.hsd1.ca.comcast.net [24.6.222.49]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by bobcat.rjmcmahon.com (Postfix) with ESMTPSA id 4D97E1B271 for ; Sat, 1 Oct 2016 17:44:27 -0400 (EDT) DKIM-Filter: OpenDKIM Filter v2.10.3 bobcat.rjmcmahon.com 4D97E1B271 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rjmcmahon.com; s=bobcat; t=1475358267; bh=UYVqV3BhKux2rjlxbZdk0OpfUHrC5LdpwPrHMmtXyr0=; h=To:From:Subject:Date:From; b=Yq6Ybagu9fsusmLn2OQpN3IBGivgS0FG9/AGQOS/v3l6dbtcdGtPps1Y5s/UDB/ou tbJZHlDwCa91+VHgy8E8X4p35vmtlUelQd5Z64r+OHq6tUM7wUwYghEK9y9PnrfKkI 8RcLarQJhpvLEJbOXMAMfgJu2aik/nOdRIH3TOdA= To: freebsd-net@freebsd.org. From: Robert McMahon Subject: tcpi_snd_cwnd on FreeBSD 10.3 seems incorrect Message-ID: <8f8460ef-90f1-61cb-9893-0f5929fbc055@rjmcmahon.com> Date: Sat, 1 Oct 2016 14:44:26 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Sun, 02 Oct 2016 04:19:47 +0000 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Oct 2016 21:44:33 -0000 I'm looking for FreeBSD expertise with respect to the net/inetnet/tcp.h. The tcpi_snd_cwnd doesn't seem to be right. Iperf3 compiled on FreeBSD 10.3 is reporting an unrealistic congestion window rjmcmahon@rjm-freebsd ~/Code/iperf-master $ src/iperf3 -c 192.168.100.10 -i 1 -w 1M Connecting to host 192.168.100.10, port 5201 [ 4] local 192.168.100.22 port 55303 connected to 192.168.100.10 port 5201 [ ID] Interval Transfer Bandwidth Retr Cwnd [ 4] 0.00-1.00 sec 113 MBytes 949 Mbits/sec 0 294 MBytes [ 4] 1.00-2.00 sec 112 MBytes 941 Mbits/sec 0 294 MBytes [ 4] 2.00-3.00 sec 112 MBytes 942 Mbits/sec 0 294 MBytes [ 4] 3.00-4.00 sec 112 MBytes 941 Mbits/sec 0 294 MBytes [ 4] 4.00-5.00 sec 112 MBytes 941 Mbits/sec 0 294 MBytes [ 4] 5.00-6.00 sec 112 MBytes 942 Mbits/sec 0 294 MBytes [ 4] 6.00-7.00 sec 112 MBytes 941 Mbits/sec 0 294 MBytes [ 4] 7.00-8.00 sec 112 MBytes 942 Mbits/sec 0 294 MBytes [ 4] 8.00-9.00 sec 112 MBytes 941 Mbits/sec 0 294 MBytes [ 4] 9.00-10.00 sec 112 MBytes 941 Mbits/sec 0 294 MBytes - - - - - - - - - - - - - - - - - - - - - - - - - [ ID] Interval Transfer Bandwidth Retr [ 4] 0.00-10.00 sec 1.10 GBytes 942 Mbits/sec 0 sender [ 4] 0.00-10.00 sec 1.10 GBytes 942 Mbits/sec receiver iperf Done. Thanks, Bob