On Monday 20 March 2006 23:57, Johan Bolmsjö wrote: > Joe Wilson wrote: > > >--- Ulrich Drepper <[EMAIL PROTECTED]> wrote: > > > > > >>Joe Wilson wrote: > >> > >> > >>Modern OSes have support for hints to the OS. For mmap() calls on > >>Linux, there is the MAP_POPULATE flag. For all file operations, there > >>is posix_fadvise(). > >> > >> > > > >SQLite does not use mmap() - just basic read()s and write()s for > >portability. Can the system calls you mention be made to work > >with Monotone without altering SQLite's library code? > >(Does Windows natively support mmap()?) > > > > > Hello, > > Slightly OT, but in answer to the last question. > There is mmap functionality in windows, see: > > CreateFile > CreateFileMapping, > MapViewOfFile, > UnmapViewOfFile > CloseHandle
Well, boosting io operations using mmap on Windows is a well-known workaround for bad io subsystem design in supermegaOS. Pls, don't propagate this _workaround_ for other. - Petr _______________________________________________ Monotone-devel mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/monotone-devel
