cvs commit: apachen/htdocs/manual/misc perf-tuning.html

1997-10-25 Thread dgaudet
dgaudet 97/10/24 22:35:44

  Modified:htdocs/manual/misc perf-tuning.html
  Log:
  typo
  
  Revision  ChangesPath
  1.3   +1 -1  apachen/htdocs/manual/misc/perf-tuning.html
  
  Index: perf-tuning.html
  ===
  RCS file: /export/home/cvs/apachen/htdocs/manual/misc/perf-tuning.html,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- perf-tuning.html  1997/10/24 09:39:17 1.2
  +++ perf-tuning.html  1997/10/25 05:35:43 1.3
  @@ -368,7 +368,7 @@
   webserver with code-DUSE_USLOCK_SERIALIZED_ACCEPT/code on the
   codeEXTRA_CFLAGS/code.
   
  -dtcodeUSE_PTHREADS_SERIALIZED_ACCEPT/code
  +dtcodeUSE_PTHREAD_SERIALIZED_ACCEPT/code
   dd(1.3 or later) This method uses POSIX mutexes and should work on
   any architecture implementing the full POSIX threads specification,
   however appears to only work on Solaris (2.5 or later).  This is the
  
  
  


cvs commit: apachen/htdocs/manual/misc perf-tuning.html

1997-10-24 Thread dgaudet
dgaudet 97/10/24 02:39:19

  Modified:htdocs/manual/misc perf-tuning.html
  Log:
  document MMAP_SEGMENT_SIZE
  
  Revision  ChangesPath
  1.2   +16 -9 apachen/htdocs/manual/misc/perf-tuning.html
  
  Index: perf-tuning.html
  ===
  RCS file: /export/home/cvs/apachen/htdocs/manual/misc/perf-tuning.html,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- perf-tuning.html  1997/09/30 23:24:30 1.1
  +++ perf-tuning.html  1997/10/24 09:39:17 1.2
  @@ -690,16 +690,23 @@
   
   On some architectures it's slower to codemmap/code small
   files than it is to simply coderead/code them.  The define
  -codeMMAP_THRESHOLD/code can be set to the minimum size required before
  -using codemmap/code.  By default it's set to 0 (except on SunOS4
  -where experimentation has shown 8192 to be a better value).  Using a
  -tool such as
  -a href=http://reality.sgi.com/lm_engr/lmbench/lmbench.html;lmbench/a
  -you can determine the optimal setting for your
  -environment.  It may even be the case that codemmap/code isn't used
  -on your architecture, if so then defining codeUSE_MMAP_FILES/code
  -might work (if it works then report back to us).
  +codeMMAP_THRESHOLD/code can be set to the minimum
  +size required before using codemmap/code.  By default
  +it's set to 0 (except on SunOS4 where experimentation has
  +shown 8192 to be a better value).  Using a tool such as a
  +href=http://reality.sgi.com/lm_engr/lmbench/lmbench.html;lmbench/a you
  +can determine the optimal setting for your environment.
  +
  +pYou may also wish to experiment with codeMMAP_SEGMENT_SIZE/code
  +(default 32768) which determines the maximum number of bytes that
  +will be written at a time from mmap()d files.  Apache only resets the
  +client's codeTimeout/code in between write()s.  So setting this
  +large may lock out low bandwidth clients unless you also increase the
  +codeTimeout/code.
   
  +pIt may even be the case that codemmap/code isn't
  +used on your architecture, if so then defining codeUSE_MMAP_FILES/code
  +might work (if it works then report back to us).
   
   pApache does its best to avoid copying bytes around in memory.  The
   first write of any request typically is turned into a codewritev/code
  
  
  


cvs commit: apachen/htdocs/manual/misc perf-tuning.html index.html perf.html

1997-09-30 Thread Dean Gaudet
dgaudet 97/09/30 16:24:31

  Modified:htdocs/manual new_features_1_3.html
   htdocs/manual/misc index.html perf.html
  Added:   htdocs/manual/misc perf-tuning.html
  Log:
  Incorporate my performance tuning document.  Document a lot more stuff
  that changed.
  
  Revision  ChangesPath
  1.23  +105 -7apachen/htdocs/manual/new_features_1_3.html
  
  Index: new_features_1_3.html
  ===
  RCS file: /export/home/cvs/apachen/htdocs/manual/new_features_1_3.html,v
  retrieving revision 1.22
  retrieving revision 1.23
  diff -u -r1.22 -r1.23
  --- new_features_1_3.html 1997/09/12 20:42:26 1.22
  +++ new_features_1_3.html 1997/09/30 23:24:28 1.23
  @@ -169,7 +169,8 @@
   The codemod_dir/code module has been split in two, with
   a href=mod/mod_dir.htmlmod_dir/a handling directory index
   files, and a href=mod/mod_autoindex.htmlmod_autoindex/a
  -creating directory listings.
  +creating directory listings.  Thus allowing folks to remove
  +the indexing function from critical servers.
   
LISTRONGSupport for Directory Icon Sizing/STRONG
 BR
  @@ -211,18 +212,14 @@
   IP.  Regardless of the HostnameLookups setting,
   a href=mod/mod_access.htmlmod_access/a access lists using DNS
   names brequire/b all names to pass a double-reverse DNS test.
  +(Prior versions of Apache required a compile-time switch to enable
  +double-reverse DNS.)
   
   listrongCIDR and Netmask access control/strongbr
   a href=mod/mod_access.htmlmod_access/a directives now support
   CIDR (Classless Inter-Domain Routing) style prefixes, and netmasks for
   greater control over IP access lists.
   
  -listrongNew child_init function for module API/strongbr
  -A new phase for Apache's API is called once per heavy-weight process,
  -before any requests are handled. This allows the module to set up
  -anything that need to be done once per processes. For example,
  -connections to databases.
  -
   listronga href=mod/mod_proxy.html#noproxyNoProxy/a/strong
   and stronga href=mod/mod_proxy.html#proxydomainProxyDomain/a
   /strong directives added to proxy, useful for intranets.
  @@ -251,6 +248,7 @@
codemmap/code, which means bytes are only copied from the
disk buffer to the network buffer directly by the kernel.  The
program never copies bytes around, which reduces CPU time.
  + (Only where available/tested.)
   liWhen presented with a load spike, the server quickly adapts by
spawning children at faster rates.
   liThe code which dispatches modules was optimized to avoid repeatedly
  @@ -264,8 +262,13 @@
children and high loads.
   liNew serialization choices improve performance on Linux, Solaris,
and IRIX.
  +licodea href=mod/mod_log_config.htmlmod_log_config/a/code
  + can be compile-time configured to buffer writes.
   /ul
   
  +pSee a href=misc/perf-tuning.htmlthe new performance
  +documentation/a for more information.
  +
   listrongUnique Identifiers/strongbr
   mod_unique_id can be included to generate a unique identifier that
   distinguishes a hit from every other hit.  (Unique has
  @@ -283,6 +286,101 @@
   it.  This opens up more opportunities for log rotation, hit filtering,
   real-time splitting of multiple vhosts into separate logs, and
   asynchronous DNS resolving on the fly.
  +
  +listrongServerRoot relative auth filenames/strongbr
  +Auth filenames for the various authentication modules are now treated
  +as relative to the ServerRoot if they are not full paths.
  +
  +listrongInclude directive/strongbr
  +The Include directive includes other config files immediately at that
  +point in parsing.
  +
  +listrongNo TransferLog disables logging/strongbr
  +If no a href=mod/mod_log_config.html#TransferLogTransferLog/a
  +directive is given then no log is written.  This supports co-existence
  +with other logging modules.
  +
  +listrongmod_cern_meta configurable per-directory/strongbr
  +a href=mod/mod_cern_meta.htmlmod_cern_meta/a is now configurable
  +on a per-directory basis.
  +
  +listrongAPI Additions/strongbr
  +
  +For all those module writers and code hackers:
  +
  +ul
  +listrongcodechild_init/code function for module API/strongbr
  +A new phase for Apache's API is called once per heavy-weight process,
  +before any requests are handled. This allows the module to set up
  +anything that need to be done once per processes. For example,
  +connections to databases.
  +
  +listrongcodechild_exit/code function for module API/strongbr
  +A new phase called once per heavy-weight process, when it is
  +terminating.  Note that it can't be called in some fatal cases (such
  +as segfaults and kill -9).
  +
  +listrongcodechild_terminate/code/strongbr
  +Used