Skip to content

desparse cygwin executables/dll #888

Open
rurban opened this Issue Dec 17, 2012 · 1 comment

1 participant

@rurban
Parrot Virtual Machine member
rurban commented Dec 17, 2012

The cygwin linker up until 1.17.18 creates all its exes and shared libs as sparse files, which
reduces startup time of executables by a large percentage (8-10x slower) because the code cannot be mmap'ed and not cached, it must be read byte by byte. Again and again.

With a tools/dev/cyg-desparse script as postprocessor the test suite ran ~5x faster.

See http://cygwin.com/ml/cygwin-developers/2012-12/msg00011.html

@rurban rurban was assigned Dec 17, 2012
@rurban
Parrot Virtual Machine member
rurban commented Dec 17, 2012

Implemented and tested in branch cyg-desparse-gh888

@rurban rurban added a commit that referenced this issue Dec 18, 2012
@rurban rurban [GH #888] Add a cyg-desparse post-linker step
The cygwin linker up until 1.17.18 creates all its exes and shared libs
as sparse files, which reduces startup time of executables by a large percentage
(8-10x slower) because the code cannot be mmap'ed and not cached, it must be read
byte by byte. Again and again.

See http://cygwin.com/ml/cygwin-developers/2012-12/msg00011.html
aee8fdc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.