I have personally found that using mmap is less intense on the overall
system performance then the open/fopen alternatives. This is particularly
true if you are doing random I/O (seeking back and forth). Sadly, OS
portability is a bit of an issue, which may impact your development plans.

- Marc

On Wed, 9 Feb 2000, tom r wrote:

> 
> Please excuse a "not necessarily linux" question, but who wants to share
> opinions/experience on the virtues of mmap ing a file as opposed to opening it
> ? I'm about to start work on a project where the local custom is to mmap input
> files and I'm not so sure that's a good idea (the files and 100s of meg).  Are
> page faults really that much faster than reads ?
> 
> TIA
> 
> TomR
> 
> 
> 
> 
> --
> email me at  [EMAIL PROTECTED]
> Approach love and cooking with reckless abandon.
> (Isn't that a cool thought ?)
> 
> **********************************************************
> To unsubscribe from this list, send mail to
> [EMAIL PROTECTED] with the following text in the
> *body* (*not* the subject line) of the letter:
> unsubscribe gnhlug
> **********************************************************
> 


**********************************************************
To unsubscribe from this list, send mail to
[EMAIL PROTECTED] with the following text in the
*body* (*not* the subject line) of the letter:
unsubscribe gnhlug
**********************************************************

Reply via email to