Re: mmap() versus read()

mlord (mlord@pobox.com)
Fri, 06 Mar 1998 08:29:34 -0500


Alan Cox wrote:
>
> > So is this expected? Is there a knob I can twist? Is this just 2.0.32
> > buffer problems and would be fixed by 2.0.33?
>
> mmap doesnt do readahead on faults in 2.0.x, that increases the I/O load
> when paging mmap data versus read() quite a lot

I wonder why we bother paging mmap'd data that could instead
be re-read from the original file on disk? Or did I read that wrong?

-- 
mlord@pobox.com
The Linux IDE guy

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu