Раздел 7. Platform-specific Notes RU EN Пункт 61. Running a High-Performance Web Server on HPUX Date: Wed, 05 Nov 1997 16:59:34 -0800 From: Rick Jones <raj@cup.hp.com> Reply-To: raj@cup.hp.com Organization: Network Performance Subject: HP-UX tuning tips Here are some tuning tips for HP-UX to add to the tuning page. For HP-UX 9.X: Upgrade to 10.20 For HP-UX 10.20: Install the latest cumulative ARPA Transport Patch. This
will allow you to configure the size of the TCP connection
lookup hash table. The default is 256 buckets and must be set
to a power of two. This is accomplished with adb against the
*disc* image of the kernel. The variable name is How to pick the value? Examine the output of ftp://ftp.cup.hp.com/dist/networking/tools/connhist
and see how many total TCP connections exist on the system. You
probably want that number divided by the hash table size to be
reasonably small, say less than 10. Folks can look at HP's
SPECweb96 disclosures for some common settings. These can be
found at http://www.specbench.org/.
If an HP-UX system was performing at 1000 SPECweb96 connections
per second, the Folks can check their listen queue depths with ftp://ftp.cup.hp.com/dist/networking/misc/listenq. If folks are running Apache on a PA-8000 based system, they
should consider "chatr'ing" the Apache executable to have a
large page size. This would be " If folks are running Apache on MP systems, they might
consider writing a small program that uses If folks are concerned about the number of There are other things that could go into the code base, but that might be left for another email. Feel free to drop me a message if you or others are interested. sincerely, rick jones http://www.netperf.org/netperf/ |
![]() |