Linux is going to use all free memory for the disk cache. This will force the entire file to be read, leaving a good chance that it will be in the disk cache. Moreover, this read is mostly-sequential (at least up to file system fragmentation) and faster than reading the file with lots of random accesses which is what lazy mmap will do.
Kenneth On 03/02/2012 10:14 PM, Tom Hoar wrote: > KEN: what does "cat binaryfile>/dev/null" do exactly? In the process > of reading the file from disk, does the OS cache all/part of the file to > RAM? _______________________________________________ Moses-support mailing list [email protected] http://mailman.mit.edu/mailman/listinfo/moses-support
