From owner-cvs-all Fri Dec 21 9:19: 5 2001 Delivered-To: cvs-all@freebsd.org Received: from rwcrmhc52.attbi.com (rwcrmhc52.attbi.com [216.148.227.88]) by hub.freebsd.org (Postfix) with ESMTP id C7B7A37B41A; Fri, 21 Dec 2001 09:18:47 -0800 (PST) Received: from peter3.wemm.org ([12.232.27.13]) by rwcrmhc52.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20011221171846.HIBK6450.rwcrmhc52.attbi.com@peter3.wemm.org>; Fri, 21 Dec 2001 17:18:46 +0000 Received: from overcee.netplex.com.au (overcee.wemm.org [10.0.0.3]) by peter3.wemm.org (8.11.0/8.11.0) with ESMTP id fBLHIks82469; Fri, 21 Dec 2001 09:18:46 -0800 (PST) (envelope-from peter@wemm.org) Received: from wemm.org (localhost [127.0.0.1]) by overcee.netplex.com.au (Postfix) with ESMTP id 44BCD39F2; Fri, 21 Dec 2001 09:18:46 -0800 (PST) (envelope-from peter@wemm.org) X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: Robert Watson Cc: Jonathan Lemon , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/netinet tcp_syncache.c In-Reply-To: Date: Fri, 21 Dec 2001 09:18:46 -0800 From: Peter Wemm Message-Id: <20011221171846.44BCD39F2@overcee.netplex.com.au> Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Robert Watson wrote: > Weee! > > BTW, we'll need to do a boatload of TCP stack testing before we ship this > release. If you have any advice for testing performance and correctness > of the stack that you could share with qa@FreeBSD.org, and perhaps > stable@FreeBSD.org, that would be great. FYI, we're using this in production at Yahoo. syncache, syncookies and all. We're running with Matt Dillon's not-yet-MFC'ed stuff that he was planning to MFC later on too.... % netstat -s -p tcp ... 6900118 connection accepts 133616 bad connection attempts 0 listen queue overflows 6900103 connections established (including accepts) 6885805 connections closed (including 3300369 drops) 7 connections updated cached RTT on close 7 connections updated cached RTT variance on close 2 connections updated cached ssthresh on close 3 embryonic connections dropped ... 7104751 syncache entries added 134214 retransmitted 277083 dupsyn 109 dropped 6900118 completed 0 bucket overflow 0 cache overflow 196209 reset 7805 stale 0 aborted 0 badack 435 unreach 0 zone failures 0 cookies sent 0 cookies received This is in ~7 hours of uptime since we applied the accept filter patch and rebooted. [around 1 second apart:] [9:11am]~-10> netstat -aL | grep http tcp4 182/128/1024 *.http [9:11am]~-11> netstat -aL | grep http tcp4 196/127/1024 *.http [9:11am]~-12> netstat -aL | grep http tcp4 180/127/1024 *.http [9:11am]~-13> netstat -aL | grep http tcp4 186/125/1024 *.http [9:11am]~-14> netstat -aL | grep http tcp4 179/123/1024 *.http [9:11am]~-15> netstat -aL | grep http tcp4 176/122/1024 *.http [9:11am]~-16> netstat -aL | grep http tcp4 186/132/1024 *.http [9:11am]~-17> netstat -aL | grep http tcp4 190/138/1024 *.http [9:15am]~-22> netstat -f inet -n | wc -l 14169 This machine is processing ~300 http accept/process/reply/close operations per second. We have not had any syncache bucket or queue overflows so it has not had to fall back to syncookies yet. For the duration of while I was looking at it, the box had ~90% idle time. (~7% interrupt, 2% system, 1% user). This is a PIII-750 box. > Robert N M Watson FreeBSD Core Team, TrustedBSD Project > robert@fledge.watson.org NAI Labs, Safeport Network Services > > On Wed, 19 Dec 2001, Jonathan Lemon wrote: > > > jlemon 2001/12/19 23:12:28 PST > > > > Modified files: (Branch: RELENG_4) > > sys/netinet tcp_syncache.c > > Log: > > MFC; synchronize with -current, which brings in syncookies. > > > > Revision Changes Path > > 1.5.2.2 +195 -16 src/sys/netinet/tcp_syncache.c > > > > > Cheers, -Peter -- Peter Wemm - peter@FreeBSD.org; peter@yahoo-inc.com; peter@netplex.com.au "All of this is for nothing if we don't go to the stars" - JMS/B5 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message