Performance optimization in av::fixup - use buffered IO, not mapped file

Ryan Johnson ryan.johnson@cs.utoronto.ca
Wed Dec 12 03:54:00 GMT 2012


On 11/12/2012 8:06 PM, Daniel Colascione wrote:
> On 12/10/2012 7:51 PM, Daniel Colascione wrote:
>> The key to generating a binary that repros the problem is to unexec emacs, then
>> try to repro with that generated binary, not a copy of it.
> The real explanation is a lot simpler: the binary is sparse. When you create a
> file mapping object for a sparse file, Windows discards all cached pages for
> that file.
!!

Wow. How in the world did you figure that out?

Ryan



More information about the Cygwin-developers mailing list