From nobody Thu Jan 13 18:25:06 2022 X-Original-To: net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 202AC194F5F5 for ; Thu, 13 Jan 2022 18:25:09 +0000 (UTC) (envelope-from jamie@catflap.org) Received: from donotpassgo.dyslexicfish.net (donotpassgo.dyslexicfish.net [IPv6:2001:19f0:300:2185:123::1]) by mx1.freebsd.org (Postfix) with ESMTP id 4JZXsc6xrwz3HpH; Thu, 13 Jan 2022 18:25:08 +0000 (UTC) (envelope-from jamie@catflap.org) Received: from donotpassgo.dyslexicfish.net (donotpassgo.dyslexicfish.net [104.207.135.49]) by donotpassgo.dyslexicfish.net (8.14.5/8.14.5) with ESMTP id 20DIP7XF072281; Thu, 13 Jan 2022 18:25:07 GMT (envelope-from jamie@donotpassgo.dyslexicfish.net) Received: (from jamie@localhost) by donotpassgo.dyslexicfish.net (8.14.5/8.14.5/Submit) id 20DIP6AT072280; Thu, 13 Jan 2022 18:25:06 GMT (envelope-from jamie) From: Jamie Landeg-Jones Message-Id: <202201131825.20DIP6AT072280@donotpassgo.dyslexicfish.net> Date: Thu, 13 Jan 2022 18:25:06 +0000 Organization: Dyslexic Fish To: net@FreeBSD.org, glebius@FreeBSD.org Subject: Re: compressed TIME-WAIT to be decomissioned References: In-Reply-To: User-Agent: Heirloom mailx 12.4 7/29/08 List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.2.7 (donotpassgo.dyslexicfish.net [104.207.135.49]); Thu, 13 Jan 2022 18:25:07 +0000 (GMT) X-Rspamd-Queue-Id: 4JZXsc6xrwz3HpH X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N Gleb Smirnoff wrote: > modern HTTP server can be lowered 3 times more. Feel free to lower > net.inet.tcp.msl and do your own measurements with > 'netstat -sp tcp | grep TIME-WAIT'. I'd be glad to see your results. Without changing net.inet.tcp.msl I get: | 18:18 (46.0°C 1100) (2) "/tmp" jamie@thompson% do-all-hosts 'netstat -sp tcp | grep TIME_WAIT' | _______________________________________________________ | jamie@catflap: netstat -sp tcp | grep TIME_WAIT | catflap: 1506 connections in TIME_WAIT state | _______________________________________________________ | jamie@catnip: netstat -sp tcp | grep TIME_WAIT | catnip: 1666 connections in TIME_WAIT state | _______________________________________________________ | jamie@catseye: netstat -sp tcp | grep TIME_WAIT | catseye: 2334 connections in TIME_WAIT state | | . | . Not primarily webservers, but running an application with (obviously) lots of short-lived tcp connections... Cheers, Jamie