[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ProgSoc] mmap
Hi :)
I was wondering if anyone knew the specifics of the behaviour of mmap()
under Linux and Solaris. Basically, what's the best strategy to mmap
portions of a file under Linux/Solaris? Assuming a file may be larger
than available memory and the whole file needs to be accessed
sequentially, is it more efficient to mmap portions (say, 1MB large) of
it sequentially, or simply give up on mmap and use read?
Or is there no significant difference?
Any comments appreciated,
--
Nicholas (wzdd@nospam.tig.com.au)
Statistics show that for every 100 people born in Australia, 95% of us will
still be working, deceased or living off government handouts by the age
65...
- Visiontech Industries brochure
--
You are subscribed to the progsoc mailing list. To unsubscribe, send a
message containing "unsubscribe" to progsoc-request@nospam.progsoc.uts.edu.au.
If you are having trouble, ask owner-progsoc@nospam.progsoc.uts.edu.au for help.
This list is archived at <http://www.progsoc.uts.edu.au/lists/progsoc/>