httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dean Gaudet <>
Subject Re: [PATCH] Break everything
Date Mon, 27 Oct 1997 19:29:55 GMT

On Fri, 24 Oct 1997, Martin Kraemer wrote:

> Some months ago, one of you (Jim? you?) said that when both MMAP and
> SHMGET were available, then mmap() was the better choice. But I don't
> recall the reasoning behind it.
> Anyway: The shmget version runs just as good as the mmap version.

I'm not sure there's a goodness or badness of either.

> If it's true that mmap() is the better choice, I'd rather leave it in.
> And, after looking at your misc/perf-tune.html document, I tried
> USE_MMAP_FILES. Works perfectly, even on my 1992 i386-SVR4.0 (deejai).

+1 on USE_MMAP_FILES for all SVR4 until shown otherwise that it's bogus.

> PS: For you SVR4 users on this list: here's an edited sdiff of apache
> serving one request. The right column shows the system calls for apache
> with USE_MMAP_FILES defined. Where the left column shows a system call
> and the right column is empty, using USE_MMAP_FILES saved a system call.

By my count it saved 5 system calls ...


View raw message