httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dean Gaudet <>
Subject Re: mmap() versus read() (fwd)
Date Fri, 06 Mar 1998 21:53:33 GMT

On Fri, 6 Mar 1998, Igor Tatarinov wrote:

> How come then that "The Linux Kernel" by David Rusling 
> (, chapter 4.7) 
> says that Linux always prefetches the following page on a page fault? 
> (as does Solaris) 

I wouldn't be surprised if the book is wrong. 

> If it does prefetch another page then it reads 8K at once. Apache's
> IOBUFSIZE is also 8K so there should be no difference !?
> Unless, the prefetch is issued as a separate I/O ?

The difference is that read() readahead is like 16k or 32k.


View raw message