* Web Site Performance
@ 1996-05-29 4:00 Jim Skoog
1996-05-30 4:00 ` Jeffrey Mogul
0 siblings, 1 reply; 4+ messages in thread
From: Jim Skoog @ 1996-05-29 4:00 UTC (permalink / raw)
From: Jim Skoog (skoog@netcom.com)
Re: High Traffic Web Site Performance
Where are the performance bottlenecks for Alpha AXP running the
Netscape Commerce Server 1.12 with high volume internet traffic?
We are evaluating network performance for a variety of Alpha AXP
runing DEC UNIX 3.2C, which run DEC's seal firewall and behind
that Alpha 1000 and 2100 webservers. Some of these machines have
fddi network controllers, others have only tulip or lance ethernet
controllers. Due to security restrictions, logging is not allowed.
So instead of monitoring or running benchmarks (too costly),
perhaps some of you with experience and access have already
identified performance problems. I know from maintaining a read
news feed that CPU, and extra inodes per filesystem were problems
to be overcome. I suspect that CPU or network traffic are the
bottlenecks.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Web Site Performance
1996-05-29 4:00 Web Site Performance Jim Skoog
@ 1996-05-30 4:00 ` Jeffrey Mogul
1996-05-30 4:00 ` Mark Sirota
1996-06-15 4:00 ` Charles Hedrick
0 siblings, 2 replies; 4+ messages in thread
From: Jeffrey Mogul @ 1996-05-30 4:00 UTC (permalink / raw)
In article <skoogDs54BH.9pF@netcom.com> skoog@netcom.com (Jim Skoog) writes:
>Where are the performance bottlenecks for Alpha AXP running the
>Netscape Commerce Server 1.12 with high volume internet traffic?
>We are evaluating network performance for a variety of Alpha AXP
>runing DEC UNIX 3.2C, which run DEC's seal firewall and behind
>that Alpha 1000 and 2100 webservers.
Our experience (running such Web servers as altavista.digital.com
and www.digital.com) is that there is one important kernel tuning
knob to adjust in order to get good performance on V3.2C. You
need to patch the kernel global variable "somaxconn" (use dbx -k
to do this) from its default value of 8 to something much larger.
How much larger? Well, no larger than 32767 (decimal). And
probably no less than about 2048, if you have a really high volume
(millions of hits per day), like AltaVista does.
This change allows the system to maintain more than 8 TCP
connections in the SYN_RCVD state for the HTTP server. (You
can use "netstat -An |grep SYN_RCVD" to see how many such
connections exist at any given instant).
If you don't make this change, you might find that as the load gets
high, some connection attempts take a very long time. And if a lot
of your clients disconnect from the Internet during the process of
TCP connection establishment (this happens a lot with dialup
users), these "embryonic" connections might tie up your somaxconn
quota of SYN_RCVD-state connections. Until the kernel times out
these embryonic connections, no other connections will be accepted,
and it will appear as if the server has died.
The default value for somaxconn in Digital UNIX V4.0 will be quite
a bit larger than it has been in previous versions (we inherited
this default from 4.3BSD).
Digital UNIX V4.0 includes some other performance-related changes
that significantly improve its maximum HTTP connection rate. However,
we've been using V3.2C systems to front-end for altavista.digital.com
with no obvious performance bottlenecks at the millions-of-hits-per-day
level.
We have some Webstone performance results available at
http://www.digital.com/info/alphaserver/news/webff.html
I'm not sure if these were done using V4.0 or an earlier version
of Digital UNIX, although I suspect they were done using a test
version of V4.0.
-Jeff
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Web Site Performance
1996-05-30 4:00 ` Jeffrey Mogul
@ 1996-05-30 4:00 ` Mark Sirota
1996-06-15 4:00 ` Charles Hedrick
1 sibling, 0 replies; 4+ messages in thread
From: Mark Sirota @ 1996-05-30 4:00 UTC (permalink / raw)
To: Jeffrey Mogul
Jeffrey Mogul wrote:
> You need to patch the kernel global variable "somaxconn" (use dbx -k
> to do this) from its default value of 8 to something much larger.
>
> This change allows the system to maintain more than 8 TCP
> connections in the SYN_RCVD state for the HTTP server. (You
> can use "netstat -An |grep SYN_RCVD" to see how many such
> connections exist at any given instant).
What would I see if this is a problem? Excessive context switching?
--
Mark Sirota, Network Systems Engineer
University of Pennsylvania, Data Communications and Computing Services
msirota@isc.upenn.edu, 215/573-7214
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Web Site Performance
1996-05-30 4:00 ` Jeffrey Mogul
1996-05-30 4:00 ` Mark Sirota
@ 1996-06-15 4:00 ` Charles Hedrick
1 sibling, 0 replies; 4+ messages in thread
From: Charles Hedrick @ 1996-06-15 4:00 UTC (permalink / raw)
mogul@pa.dec.com (Jeffrey Mogul) writes:
>If you don't make this change, you might find that as the load gets
>high, some connection attempts take a very long time. And if a lot
>of your clients disconnect from the Internet during the process of
>TCP connection establishment (this happens a lot with dialup
>users), these "embryonic" connections might tie up your somaxconn
>quota of SYN_RCVD-state connections. Until the kernel times out
We saw an interesting failure mode on info.rutgers.edu (our campus
CWIS): due to a routing problem, we had a one-way connection to the
internet. Packets could get to us, but we couldn't get back to them.
This obviously led to a very large number of SYN_RCVD connections, and
effectively shut down our HTTPD. A quick kernel patch, as described
here, fixed it. (INFO is actually a SunOS machine, but the issue is
the same.)
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~1996-06-15 4:00 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-05-29 4:00 Web Site Performance Jim Skoog
1996-05-30 4:00 ` Jeffrey Mogul
1996-05-30 4:00 ` Mark Sirota
1996-06-15 4:00 ` Charles Hedrick
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox