Subject: Re: pkg/5617: Apache-1.3.0 package OS configuration not quite right for NetBSD
To: None <woods@planix.com>
From: Todd Vierling <tv@pobox.com>
List: netbsd-bugs
Date: 06/19/1998 12:18:17
On Thu, 18 Jun 1998 woods@weird.com wrote:

: The following patch is probably a good idea.  We could probably use
: SYSVSEM serialization instead of FLOCK, since SHMGET is needed anyway,
: but I've not tested that form....

As shipped, the Apache 1.3.0 pkg does *not* require any of the
SYSV{SEM,SHM,MSG} options in the kernel, and *shouldn't*.  If it supports
operation without specdial kernel add-ons, it should use that configuration
by default.  And it's very likely that this will slow down, not speed up,
the server, in my experience with SYSVSEM. 

: Also Apache probably shouldn't mmap() files until NetBSD has a fully
: 100% integrated buffer cache) [unless I've totally missed something, or
: am mistaken on what Apache does with USE_MMAP_FILES].

You may be mistaken:  Apache handles its memory mapping well.  It only uses
mmap() when reading files, so the buffer/VM cache issue is a non-issue.  (If
it needed to write files, then it would have needed just a fsync()  before
the mmap().) 

-- 
-- Todd Vierling (Personal tv@pobox.com; Bus. todd_vierling@xn.xerox.com)