Date: Fri, 21 Dec 2001 09:18:46 -0800 From: Peter Wemm <peter@wemm.org> To: Robert Watson <rwatson@FreeBSD.org> Cc: Jonathan Lemon <jlemon@FreeBSD.org>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/netinet tcp_syncache.c Message-ID: <20011221171846.44BCD39F2@overcee.netplex.com.au> In-Reply-To: <Pine.NEB.3.96L.1011220110610.83441D-100000@fledge.watson.org>
index | next in thread | previous in thread | raw e-mail
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
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011221171846.44BCD39F2>
