4 ms·
Beware of multi-host filesystems (e.g., GPFS). The required locking and sync can be far slower than you might get on a local filesystem. If nothing else, it's
by downerending 7y ago
Beware of multi-host filesystems (e.g., GPFS). The required locking and sync can be far slower than you might get on a local filesystem.
If nothing else, it's very useful to have a "don't use mmap" option in your code.
- microtherion 7y agoAnother risk is that if the file system on which the file resides can get unmounted for any reason, access to the mmap'ed data will fail in nasty ways.