Code for Concinnity

Cygwin slow start up: the culprit discovered!

If you’ve found the start-up time of Cygwin slowing down significantly after you’ve upgraded from 1.5 to 1.7, here’s a one liner to improve it around 500%:

$ mv /etc/profile.d/{,.disabled}

The bash_completion is apparently undergoing some massive restructure. The fact that fork is very inefficient on Windows (Windows’ inferior process model can’t really handle that, Cygwin did a great job mimicking it) make it not really ready for prime time on Cygwin.

You can still get bash_completion manually if you need it:

$ . /etc/bash_completion
Published by kizzx2, on September 7th, 2010 at 11:33 pm. Filled under: Useful tips Tags: 22 Comments