tech-userlevel archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Kernel VS application file caching
On Fri, Jan 22, 2010 at 12:29:31PM +0000, Sad Clouds wrote:
> So far the closet that comes to it is calling open() with O_DIRECT flag.
Have you looked at bozohttpd's mmap_and_write_part() function?
You can find it in src/libexec/httpd/bozohttpd.c.
If not using https, this is quite efficient for a service sending raw
file content out to a socket.
Martin
Home |
Main Index |
Thread Index |
Old Index