httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dean Gaudet <dgau...@arctic.org>
Subject Re: Question: mmap und shared mem
Date Fri, 21 Aug 1998 16:50:16 GMT


On Fri, 21 Aug 1998, Jens-Uwe Mager wrote:

> Mmap'ing the same file at different virtual addresses is the problem

Ah oops, I had it backwards.

> I agree sendfile et. al. is definitely the way to go to push file
> contents to clients, but I also look at the problem from an image
> processing view. I definitely find it more comfortable to mmap a tiff
> file to parse the contents as opposed to the myriad of lseek/read
> combinations it would take otherwise.

Yeah mmap is way better even if you're just reading config files.  It's
just so nice to have the entire file in memory.

Dean


Mime
View raw message