httpd-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Graham Leggett <>
Subject Re: Performance tuning documentation
Date Fri, 13 Nov 2009 10:52:26 GMT
Rich Bowen wrote:

> The performance tuning documentation that we currently include in the
> docs is simply awful. What with the comments about Apache 1.2 and the
> suggestions of how to deal with the new Linux 2.0 kernel, I think it's
> beyond fixing. It needs to be tossed and rewritten - although perhaps
> there are parts that are salvageable.
> I was wondering if someone has a performance doc that they could
> contribute as a starting place? Perhaps Sander's talk from AC? Or if
> someone would be willing to give some attention to the docs list for a
> while to assist in writing something that would be useful to actual
> admins in the real world.

Something else related that I think we should address are our default
config files and performance.

Up till now, the build has assumed that if a module was built, then a
LoadModule line should appear in the default config file for that
module. Because distros typically compile most (if not all) of the
modules, most (if not all) of the modules end up being loaded into the
server by default, in turn meaning lots of hook calling and per-request
config parsing is being done for no reason.

A pattern I've adopted is to put the load module alongside the config
fragment that requires it, like this:

<IfModule !mod_foo.c>
  LoadModule foo_module

If the config fragment isn't used, the corresponding module isn't loaded.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message