From owner-freebsd-net@freebsd.org Thu Feb 2 12:57:56 2017 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 7F82ECCD6D9 for ; Thu, 2 Feb 2017 12:57:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (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 6EBACE8D for ; Thu, 2 Feb 2017 12:57:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v12CvtFt023645 for ; Thu, 2 Feb 2017 12:57:56 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-net@FreeBSD.org Subject: [Bug 211003] net.inet.tcp.delayed_ack=0 delaying local tcp requests Date: Thu, 02 Feb 2017 12:57:55 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.2-STABLE X-Bugzilla-Keywords: regression X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: moko@moko.ru X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-net@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 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: Thu, 02 Feb 2017 12:57:56 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211003 --- Comment #3 from Konstantin Morshnev --- Note: we've also tested FreeBSD 11, and can confirm the same behavior. By default all is fine, but just after you change net.inet.tcp.delayed_ack=3D0 net.inet.tcp.recvspace=3D8192 net.inet.tcp.sendspace=3D150000 local http requests are delaying after every 8kb of data for 5 seconds. > 2) something other than lynx on recv side Initially we have found this issue between apache and nginx, and we've also used telnet, so it's for sure not related to lynx. > You might look at using siftr(4) to collect statistics on the transfer. Done. enable_time_secs=3D1486035625 enable_time_usecs=3D746854 siftrve= r=3D1.2.4=20 hz=3D1000 tcp_rtt_scale=3D32 sysname=3DFreeBSD sysver=3D1003000 ipm= ode=3D4 o,0x00000000,1486035625.768531,195.218.200.149,10047,195.218.200.149,80,107= 3725440,1073725440,0,0,0,0,0,2,536,0,1,672,3000,65535,0,8192,0,0,0,0,0 i,0x00000000,1486035625.768622,195.218.200.149,10047,195.218.200.149,80,107= 3725440,1073725440,0,0,0,0,0,2,536,0,1,672,3000,65535,0,8192,0,1,0,0,0 o,0x00000000,1486035625.768661,195.218.200.149,10047,195.218.200.149,80,107= 3725440,32664,0,8192,8192,6,6,4,16332,7,1,993,230,81660,0,8192,0,0,0,0,0 o,0x00000000,1486035625.768979,195.218.200.149,10047,195.218.200.149,80,107= 3725440,32664,0,8192,8192,6,6,4,16332,7,1,992,230,81660,241,8192,0,0,0,0,0 i,0x00000000,1486035625.768994,195.218.200.149,80,195.218.200.149,10047,107= 3725440,32664,0,8192,8192,6,6,4,16332,7,1,996,230,81660,0,8192,0,0,0,0,0 o,0x00000000,1486035625.769020,195.218.200.149,80,195.218.200.149,10047,107= 3725440,32664,0,8192,8192,6,6,4,16332,7,1,997,230,81660,0,8192,241,0,0,0,0 i,0x00000000,1486035625.769028,195.218.200.149,10047,195.218.200.149,80,107= 3725440,32664,0,8192,8192,6,6,4,16332,7,1,992,230,81660,241,8192,0,241,0,0,0 o,0x00000000,1486035625.769903,195.218.200.149,80,195.218.200.149,10047,107= 3725440,32664,0,8192,8192,6,6,4,16332,7,1,996,230,81660,33009,8192,0,0,0,0,0 i,0x00000000,1486035625.769926,195.218.200.149,10047,195.218.200.149,80,107= 3725440,32664,0,7936,8192,6,6,4,16332,7,1,992,230,81660,0,8192,0,0,0,0,0 o,0x00000000,1486035625.769960,195.218.200.149,10047,195.218.200.149,80,107= 3725440,32664,0,8192,8192,6,6,4,16332,7,1,525281,230,81660,0,8192,8192,0,0,= 0,0 i,0x00000000,1486035625.769967,195.218.200.149,80,195.218.200.149,10047,107= 3725440,32664,0,8192,8192,6,6,4,16332,7,1,996,230,81660,33009,8192,0,8192,0= ,0,0 o,0x00000000,1486035630.769156,195.218.200.149,80,195.218.200.149,10047,107= 3725440,32664,0,0,8192,6,6,4,16332,7,1,8389604,230,81660,81660,8192,0,0,0,0= ,0 i,0x00000000,1486035630.769184,195.218.200.149,10047,195.218.200.149,80,107= 3725440,32664,0,8192,8192,6,6,4,16332,7,1,525280,230,81660,0,8192,0,0,0,0,0 o,0x00000000,1486035630.769219,195.218.200.149,10047,195.218.200.149,80,107= 3725440,32664,0,8192,8192,6,6,4,16332,7,1,993,230,81660,0,8192,1,0,0,0,0 i,0x00000000,1486035630.769225,195.218.200.149,80,195.218.200.149,10047,107= 3725440,32664,0,0,8192,6,6,4,16332,7,1,996,230,81660,81660,8192,0,1,0,0,0 o,0x00000000,1486035630.769251,195.218.200.149,80,195.218.200.149,10047,107= 3725440,32664,0,8128,8192,6,6,4,16332,7,1,996,230,81660,81659,8192,0,0,0,0,0 i,0x00000000,1486035630.769256,195.218.200.149,10047,195.218.200.149,80,107= 3725440,32664,0,8192,8192,6,6,4,16332,7,1,992,230,81660,0,8192,0,0,0,0,0 o,0x00000000,1486035630.769264,195.218.200.149,10047,195.218.200.149,80,107= 3725440,32664,0,8192,8192,6,6,4,16332,7,1,525281,230,81660,0,8192,8128,0,0,= 0,0 i,0x00000000,1486035630.769266,195.218.200.149,80,195.218.200.149,10047,107= 3725440,32664,0,8128,8192,6,6,4,16332,7,1,996,230,81660,81659,8192,0,8128,0= ,0,0 o,0x00000000,1486035635.769158,195.218.200.149,80,195.218.200.149,10047,107= 3725440,32664,0,0,8192,6,6,4,16332,7,1,8389604,230,81660,81660,8192,0,0,0,0= ,0 i,0x00000000,1486035635.769193,195.218.200.149,10047,195.218.200.149,80,107= 3725440,32664,0,8192,8192,6,6,4,16332,7,1,525280,230,81660,0,8192,0,0,0,0,0 o,0x00000000,1486035635.769243,195.218.200.149,10047,195.218.200.149,80,107= 3725440,32664,0,8192,8192,6,6,4,16332,7,1,993,230,81660,0,8192,1,0,0,0,0 i,0x00000000,1486035635.769252,195.218.200.149,80,195.218.200.149,10047,107= 3725440,32664,0,0,8192,6,6,4,16332,7,1,996,230,81660,81660,8192,0,1,0,0,0 o,0x00000000,1486035635.769280,195.218.200.149,80,195.218.200.149,10047,107= 3725440,32664,0,8128,8192,6,6,4,16332,7,1,996,230,81660,81659,8192,0,0,0,0,0 i,0x00000000,1486035635.769286,195.218.200.149,10047,195.218.200.149,80,107= 3725440,32664,0,8192,8192,6,6,4,16332,7,1,992,230,81660,0,8192,0,0,0,0,0 o,0x00000000,1486035635.769294,195.218.200.149,10047,195.218.200.149,80,107= 3725440,32664,0,8192,8192,6,6,4,16332,7,1,525281,230,81660,0,8192,8066,0,0,= 0,0 i,0x00000000,1486035635.769296,195.218.200.149,80,195.218.200.149,10047,107= 3725440,32664,0,8128,8192,6,6,4,16332,7,1,996,230,81660,81659,8192,0,8128,0= ,0,0 o,0x00000000,1486035640.769155,195.218.200.149,80,195.218.200.149,10047,107= 3725440,32664,0,0,8192,6,6,4,16332,7,1,8389604,230,81660,81660,8192,0,0,0,0= ,0 i,0x00000000,1486035640.769185,195.218.200.149,10047,195.218.200.149,80,107= 3725440,32664,0,8192,8192,6,6,4,16332,7,1,525280,230,81660,0,8192,0,0,0,0,0 o,0x00000000,1486035640.769235,195.218.200.149,10047,195.218.200.149,80,107= 3725440,32664,0,8192,8192,6,6,4,16332,7,1,993,230,81660,0,8192,0,0,0,0,0 i,0x00000000,1486035640.769244,195.218.200.149,80,195.218.200.149,10047,107= 3725440,32664,0,0,8192,6,6,4,16332,7,1,996,230,81660,81660,8192,0,1,0,0,0 o,0x00000000,1486035640.769271,195.218.200.149,80,195.218.200.149,10047,107= 3725440,32664,0,8128,8192,6,6,4,16332,7,1,996,230,81660,81659,8192,0,0,0,0,0 i,0x00000000,1486035640.769276,195.218.200.149,10047,195.218.200.149,80,107= 3725440,32664,0,8192,8192,6,6,4,16332,7,1,992,230,81660,0,8192,0,0,0,0,0 o,0x00000000,1486035640.769284,195.218.200.149,10047,195.218.200.149,80,107= 3725440,32664,0,8192,8192,6,6,4,16332,7,1,525281,230,81660,0,8192,8128,0,0,= 0,0 i,0x00000000,1486035640.769286,195.218.200.149,80,195.218.200.149,10047,107= 3725440,32664,0,8128,8192,6,6,4,16332,7,1,996,230,81660,81659,8192,0,8128,0= ,0,0 o,0x00000000,1486035645.769158,195.218.200.149,80,195.218.200.149,10047,107= 3725440,32664,0,0,8192,6,6,4,16332,7,1,8389604,230,81660,81660,8192,0,0,0,0= ,0 i,0x00000000,1486035645.769191,195.218.200.149,10047,195.218.200.149,80,107= 3725440,32664,0,8192,8192,6,6,4,16332,7,1,525280,230,81660,0,8192,0,0,0,0,0 o,0x00000000,1486035645.769245,195.218.200.149,10047,195.218.200.149,80,107= 3725440,32664,0,8192,8192,6,6,4,16332,7,1,993,230,81660,0,8192,1,0,0,0,0 i,0x00000000,1486035645.769255,195.218.200.149,80,195.218.200.149,10047,107= 3725440,32664,0,0,8192,6,6,4,16332,7,1,996,230,81660,81660,8192,0,1,0,0,0 o,0x00000000,1486035645.769284,195.218.200.149,80,195.218.200.149,10047,107= 3725440,32664,0,8128,8192,6,6,4,16332,7,1,996,230,81660,81659,8192,0,0,0,0,0 i,0x00000000,1486035645.769290,195.218.200.149,10047,195.218.200.149,80,107= 3725440,32664,0,8192,8192,6,6,4,16332,7,1,992,230,81660,0,8192,0,0,0,0,0 o,0x00000000,1486035645.769298,195.218.200.149,10047,195.218.200.149,80,107= 3725440,32664,0,8192,8192,6,6,4,16332,7,1,525281,230,81660,0,8192,7940,0,0,= 0,0 i,0x00000000,1486035645.769300,195.218.200.149,80,195.218.200.149,10047,107= 3725440,32664,0,8128,8192,6,6,4,16332,7,1,996,230,81660,81659,8192,0,8128,0= ,0,0 o,0x00000000,1486035650.769158,195.218.200.149,80,195.218.200.149,10047,107= 3725440,32664,0,0,8192,6,6,4,16332,7,1,8389604,230,81660,81660,8192,0,0,0,0= ,0 i,0x00000000,1486035650.769194,195.218.200.149,10047,195.218.200.149,80,107= 3725440,32664,0,8192,8192,6,6,4,16332,7,1,525280,230,81660,0,8192,0,0,0,0,0 o,0x00000000,1486035650.769250,195.218.200.149,10047,195.218.200.149,80,107= 3725440,32664,0,8192,8192,6,6,4,16332,7,1,993,230,81660,0,8192,0,0,0,0,0 i,0x00000000,1486035650.769259,195.218.200.149,80,195.218.200.149,10047,107= 3725440,32664,0,0,8192,6,6,4,16332,7,1,996,230,81660,81660,8192,0,1,0,0,0 o,0x00000000,1486035650.769288,195.218.200.149,80,195.218.200.149,10047,107= 3725440,32664,0,8128,8192,6,6,4,16332,7,1,996,230,81660,81659,8192,0,0,0,0,0 i,0x00000000,1486035650.769294,195.218.200.149,10047,195.218.200.149,80,107= 3725440,32664,0,8192,8192,6,6,4,16332,7,1,992,230,81660,0,8192,0,0,0,0,0 o,0x00000000,1486035650.769302,195.218.200.149,10047,195.218.200.149,80,107= 3725440,32664,0,8192,8192,6,6,4,16332,7,1,525281,230,81660,0,8192,8128,0,0,= 0,0 i,0x00000000,1486035650.769303,195.218.200.149,80,195.218.200.149,10047,107= 3725440,32664,0,8128,8192,6,6,4,16332,7,1,996,230,81660,81659,8192,0,8128,0= ,0,0 o,0x00000000,1486035655.769166,195.218.200.149,80,195.218.200.149,10047,107= 3725440,32664,0,0,8192,6,6,4,16332,7,1,8389604,230,81660,81660,8192,0,0,0,0= ,0 ... --=20 You are receiving this mail because: You are the assignee for the bug.=