Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

desparse cygwin executables/dll #888

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

desparse cygwin executables/dll #888

rurban opened this issue Dec 17, 2012 · 1 comment
Assignees

Comments

@rurban
Copy link
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

@ghost ghost assigned rurban Dec 17, 2012
@rurban
Copy link
Member Author

rurban commented Dec 17, 2012

Implemented and tested in branch cyg-desparse-gh888

rurban pushed a commit that referenced this issue Dec 18, 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.

See http://cygwin.com/ml/cygwin-developers/2012-12/msg00011.html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant